Panda3D
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
winGraphicsWindow.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "graphicsWindow.h"
#include <windows.h>
#include "winGraphicsWindow.I"

Go to the source code of this file.

Classes

class  WinGraphicsWindow
 An abstract base class for glGraphicsWindow and dxGraphicsWindow (and, in general, graphics windows that interface with the Microsoft Windows API). More...
 

Macros

#define MAX_TOUCHES   20
 
#define PM_ACTIVE   (WM_APP+123)
 
#define PM_INACTIVE   (WM_APP+124)
 
#define PRINT_LAST_ERROR   0
 
#define WIN32_LEAN_AND_MEAN   1
 

Typedefs

typedef struct tagTOUCHINPUT * PTOUCHINPUT
 
typedef struct tagTOUCHINPUT TOUCHINPUT
 

Functions

EXPCL_PANDAWIN void ClearToBlack (HWND hWnd, const WindowProperties &props)
 
EXPCL_PANDAWIN void get_client_rect_screen (HWND hwnd, RECT *view_rect)
 Fills view_rect with the coordinates of the client area of the indicated window, converted to screen coordinates.
 
EXPCL_PANDAWIN void PrintErrorMessage (DWORD msgID)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2002-12-20

Definition in file winGraphicsWindow.h.

Macro Definition Documentation

◆ MAX_TOUCHES

#define MAX_TOUCHES   20

Definition at line 30 of file winGraphicsWindow.h.

◆ PM_ACTIVE

#define PM_ACTIVE   (WM_APP+123)

Definition at line 26 of file winGraphicsWindow.h.

◆ PM_INACTIVE

#define PM_INACTIVE   (WM_APP+124)

Definition at line 28 of file winGraphicsWindow.h.

◆ PRINT_LAST_ERROR

#define PRINT_LAST_ERROR   0

Definition at line 314 of file winGraphicsWindow.h.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN   1

Definition at line 20 of file winGraphicsWindow.h.

Function Documentation

◆ ClearToBlack()

EXPCL_PANDAWIN void ClearToBlack ( HWND hWnd,
const WindowProperties & props )
extern

Definition at line 3126 of file winGraphicsWindow.cxx.

◆ get_client_rect_screen()

EXPCL_PANDAWIN void get_client_rect_screen ( HWND hwnd,
RECT * view_rect )
extern

Fills view_rect with the coordinates of the client area of the indicated window, converted to screen coordinates.

Definition at line 3155 of file winGraphicsWindow.cxx.

Referenced by WinGraphicsWindow::move_pointer().

◆ PrintErrorMessage()

EXPCL_PANDAWIN void PrintErrorMessage ( DWORD msgID)
extern

Definition at line 3109 of file winGraphicsWindow.cxx.