#include "wcrGraphicsWindow.h"
#include "wcrGraphicsPipe.h"
#include "config_wcrdisplay.h"
#include <keyboardButton.h>
#include <mouseButton.h>
#include "crGraphicsStateGuardian.h"
#include <errno.h>
#include <time.h>
#include <mmsystem.h>
#include <tchar.h>
#include <map>
#include <throw_event.h>
#include <string.h>
#include "../wgldisplay/Win32Defs.h"
#include "wcrext.h"
Go to the source code of this file.
Defines | |
#define | WCR_WCREXT_PROTOTYPES |
#define | MOUSE_ENTERED 0 |
#define | MOUSE_EXITED 1 |
#define | FONT_BITMAP_OGLDISPLAYLISTNUM 1000 |
#define | LAST_ERROR 0 |
#define | ERRORBOX_TITLE "Panda3D Error" |
#define | WCR_WINDOWCLASSNAME "wcrDisplay" |
#define | PAUSED_TIMER_ID 7 |
#define | NUM_MODIFIER_KEYS 16 |
#define | MIN_REFRESH_RATE 60 |
#define | ACCEPTABLE_REFRESH_RATE(RATE) ((RATE >= MIN_REFRESH_RATE) || (RATE==0) || (RATE==1)) |
#define | SET_MOUSE_COORD(iVal, VAL) |
Typedefs | |
typedef map< HWND, wcrGraphicsWindow * > | HWND_PANDAWIN_MAP |
Enumerations | |
enum | OGLDriverType { Software, MCD, ICD } |
Functions | |
LONG WINAPI | static_window_proc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
void | PrintErrorMessage (DWORD msgID) |
void | DestroyAllWindows (bool bAtExitFnCalled) |
void | AtExitFn () |
bool | find_acceptable_display_mode (DWORD dwWidth, DWORD dwHeight, DWORD bpp, DEVMODE &dm) |
void | process_1_event () |
Variables | |
bool | wc_registered = false |
HWND_PANDAWIN_MAP | hwnd_pandawin_map |
wcrGraphicsWindow * | global_wcrwinptr = NULL |
char * | OGLDrvStrings [3] = {"Software","MCD","ICD"} |
unsigned int | hardcoded_modifier_buttons [16] |
Definition in file wcrGraphicsWindow.cxx.
|
Definition at line 87 of file wcrGraphicsWindow.cxx. |
|
Definition at line 62 of file wcrGraphicsWindow.cxx. |
|
Definition at line 59 of file wcrGraphicsWindow.cxx. Referenced by wcrGraphicsWindow::DestroyMe(). |
|
Definition at line 61 of file wcrGraphicsWindow.cxx. Referenced by wcrGraphicsWindow::DestroyMe(), wcrGraphicsWindow::enable_mouse_input(), and wcrGraphicsWindow::enable_mouse_passive_motion(). |
|
Definition at line 85 of file wcrGraphicsWindow.cxx. |
|
Definition at line 56 of file wcrGraphicsWindow.cxx. |
|
Definition at line 57 of file wcrGraphicsWindow.cxx. Referenced by wcrGraphicsWindow::handle_reshape(). |
|
Definition at line 79 of file wcrGraphicsWindow.cxx. |
|
Definition at line 65 of file wcrGraphicsWindow.cxx. |
|
Value: { \
iVal = VAL; \
if (iVal & 0x8000) \
iVal -= 0x10000; \
}
|
|
Definition at line 44 of file wcrGraphicsWindow.cxx. |
|
Definition at line 63 of file wcrGraphicsWindow.cxx. |
|
Definition at line 67 of file wcrGraphicsWindow.cxx. |
|
Definition at line 72 of file wcrGraphicsWindow.cxx. Referenced by wglGraphicsWindow::setup_colormap(). |
|
Definition at line 210 of file wcrGraphicsWindow.cxx. |
|
Definition at line 200 of file wcrGraphicsWindow.cxx. |
|
Definition at line 217 of file wcrGraphicsWindow.cxx. Referenced by wcrGraphicsWindow::verify_window_sizes(). |
|
Definition at line 89 of file wcrGraphicsWindow.cxx. |
|
Definition at line 1203 of file wcrGraphicsWindow.cxx. Referenced by wcrGraphicsWindow::handle_keyrelease(). |
|
|
|
Definition at line 70 of file wcrGraphicsWindow.cxx. Referenced by wcrGraphicsWindow::get_depth_bitwidth(). |
|
Initial value: {VK_SHIFT,VK_MENU,VK_CONTROL,VK_SPACE,VK_TAB, VK_UP,VK_DOWN,VK_LEFT,VK_RIGHT,VK_PRIOR,VK_NEXT,VK_HOME,VK_END, VK_INSERT,VK_DELETE,VK_ESCAPE} Definition at line 80 of file wcrGraphicsWindow.cxx. |
|
Definition at line 69 of file wcrGraphicsWindow.cxx. |
|
Definition at line 73 of file wcrGraphicsWindow.cxx. |
|
Definition at line 54 of file wcrGraphicsWindow.cxx. |