Panda3D
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "winGraphicsWindow.h"
#include "config_windisplay.h"
#include "winGraphicsPipe.h"
#include "graphicsPipe.h"
#include "keyboardButton.h"
#include "mouseButton.h"
#include "clockObject.h"
#include "config_putil.h"
#include "throw_event.h"
#include "nativeWindowHandle.h"
#include <tchar.h>
Go to the source code of this file.
Macros | |
#define | ACCEPTABLE_REFRESH_RATE(RATE) ((RATE >= MIN_REFRESH_RATE) || (RATE==0) || (RATE==1)) |
#define | MIN_REFRESH_RATE 60 |
#define | TOUCH_COORD_TO_PIXEL(l) ((l) / 100) |
#define | WM_DPICHANGED 0x02E0 |
#define | WM_MOUSEHWHEEL 0x020E |
#define | WM_TOUCH 0x0240 |
Typedefs | |
typedef BOOL(WINAPI * | PFN_CLOSETOUCHINPUTHANDLE) (IN HTOUCHINPUT hTouchInput) |
typedef BOOL(WINAPI * | PFN_GETTOUCHINPUTINFO) (IN HTOUCHINPUT hTouchInput, IN UINT cInputs, OUT PTOUCHINPUT pInputs, IN int cbSize) |
typedef BOOL(WINAPI * | PFN_REGISTERTOUCHWINDOW) (IN HWND hWnd, IN ULONG ulFlags) |
Functions | |
void | ClearToBlack (HWND hWnd, const WindowProperties &props) |
DECLARE_HANDLE (HTOUCHINPUT) | |
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. | |
void | PrintErrorMessage (DWORD msgID) |
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."
Definition in file winGraphicsWindow.cxx.
#define ACCEPTABLE_REFRESH_RATE | ( | RATE | ) | ((RATE >= MIN_REFRESH_RATE) || (RATE==0) || (RATE==1)) |
Definition at line 2428 of file winGraphicsWindow.cxx.
#define MIN_REFRESH_RATE 60 |
Definition at line 2425 of file winGraphicsWindow.cxx.
#define TOUCH_COORD_TO_PIXEL | ( | l | ) | ((l) / 100) |
Definition at line 42 of file winGraphicsWindow.cxx.
#define WM_DPICHANGED 0x02E0 |
Definition at line 29 of file winGraphicsWindow.cxx.
#define WM_MOUSEHWHEEL 0x020E |
Definition at line 37 of file winGraphicsWindow.cxx.
#define WM_TOUCH 0x0240 |
Definition at line 33 of file winGraphicsWindow.cxx.
typedef BOOL(WINAPI * PFN_CLOSETOUCHINPUTHANDLE) (IN HTOUCHINPUT hTouchInput) |
Definition at line 81 of file winGraphicsWindow.cxx.
typedef BOOL(WINAPI * PFN_GETTOUCHINPUTINFO) (IN HTOUCHINPUT hTouchInput, IN UINT cInputs, OUT PTOUCHINPUT pInputs, IN int cbSize) |
Definition at line 80 of file winGraphicsWindow.cxx.
typedef BOOL(WINAPI * PFN_REGISTERTOUCHWINDOW) (IN HWND hWnd, IN ULONG ulFlags) |
Definition at line 79 of file winGraphicsWindow.cxx.
void ClearToBlack | ( | HWND | hWnd, |
const WindowProperties & | props ) |
Definition at line 3126 of file winGraphicsWindow.cxx.
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 3155 of file winGraphicsWindow.cxx.
Referenced by WinGraphicsWindow::move_pointer().
void PrintErrorMessage | ( | DWORD | msgID | ) |
Definition at line 3109 of file winGraphicsWindow.cxx.