Panda3D
Macros | Typedefs | Functions
winGraphicsWindow.cxx File Reference

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_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. More...
 
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.cxx.

Function Documentation

◆ get_client_rect_screen()

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().