Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

winGraphicsWindow.cxx File Reference

#include "winGraphicsWindow.h"
#include "config_windisplay.h"
#include "winGraphicsPipe.h"
#include "graphicsPipe.h"
#include "keyboardButton.h"
#include "mouseButton.h"
#include "clockObject.h"
#include <tchar.h>

Go to the source code of this file.

Defines

#define MIN_REFRESH_RATE   60
#define ACCEPTABLE_REFRESH_RATE(RATE)   ((RATE >= MIN_REFRESH_RATE) || (RATE==0) || (RATE==1))

Functions

void PrintErrorMessage (DWORD msgID)
void ClearToBlack (HWND hWnd, const WindowProperties &props)
void get_client_rect_screen (HWND hwnd, RECT *view_rect)

Variables

const char *const errorbox_title = "Panda3D Error"


Define Documentation

#define ACCEPTABLE_REFRESH_RATE RATE   )     ((RATE >= MIN_REFRESH_RATE) || (RATE==0) || (RATE==1))
 

Definition at line 1234 of file winGraphicsWindow.cxx.

#define MIN_REFRESH_RATE   60
 

Definition at line 1232 of file winGraphicsWindow.cxx.


Function Documentation

void ClearToBlack HWND  hWnd,
const WindowProperties props
 

Definition at line 1419 of file winGraphicsWindow.cxx.

References WindowProperties::get_x_origin(), WindowProperties::get_x_size(), WindowProperties::get_y_origin(), WindowProperties::get_y_size(), WindowProperties::has_origin(), HDC(), and hDC.

Referenced by wdxGraphicsWindow8::create_screen_buffers_and_device(), wdxGraphicsWindow8::init_resized_window(), and WinGraphicsWindow::window_proc().

void get_client_rect_screen HWND  hwnd,
RECT *  view_rect
 

Definition at line 1448 of file winGraphicsWindow.cxx.

Referenced by wdxGraphicsWindow7::create_screen_buffers_and_device(), and wdxGraphicsWindow7::handle_reshape().

void PrintErrorMessage DWORD  msgID  ) 
 

Definition at line 1402 of file winGraphicsWindow.cxx.

References ERRORBOX_TITLE, errorbox_title, LAST_ERROR, NULL, and PRINT_LAST_ERROR.

Referenced by wcrGraphicsWindow::config(), wcrGraphicsWindow::DestroyMe(), wcrGraphicsWindow::make_current(), and wcrGraphicsWindow::unmake_current().


Variable Documentation

const char* const errorbox_title = "Panda3D Error" [static]
 

Definition at line 51 of file winGraphicsWindow.cxx.

Referenced by PrintErrorMessage(), and WinGraphicsWindow::show_error_message().


Generated on Fri Apr 18 00:11:07 2003 for Panda by doxygen1.3