Panda3D
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. More...
 
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.

Function Documentation

◆ get_client_rect_screen()

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.

Definition at line 3016 of file winGraphicsWindow.cxx.

Referenced by WinGraphicsWindow::move_pointer().