#include <GLTestWnd.h>
Public Member Functions | |
void | glCreateRC (HDC hdc) |
void | glPaint (HDC) |
void | glResize (int w, int h) |
GLTestWnd (LPSTR cmd) | |
GLTestWnd (int argc, char **argv) | |
void | ParseCommandLine (LPSTR cmd) |
void | SetDisplaySize (int w, int h) |
void | SetWindowTitle (char *title) |
void | UpdateDisplay () |
virtual | ~GLTestWnd () |
Private Member Functions | |
LRESULT | _WndProc (UINT, WPARAM, LPARAM) |
void | CreateWindowGL () |
Static Private Member Functions | |
static LRESULT CALLBACK | ___WndProc (HWND, UINT, WPARAM, LPARAM) |
static void | RegisterWindowClass () |
Private Attributes | |
HGLRC | _hglrc |
HWND | _hWndMain |
Definition at line 38 of file GLTestWnd.h.
GLTestWnd::GLTestWnd | ( | LPSTR | cmd | ) |
Definition at line 66 of file GLTestWnd.cpp.
GLTestWnd::GLTestWnd | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 77 of file GLTestWnd.cpp.
GLTestWnd::~GLTestWnd | ( | ) | [virtual] |
Definition at line 83 of file GLTestWnd.cpp.
LRESULT CALLBACK GLTestWnd::___WndProc | ( | HWND | hWnd, |
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [static, private] |
Definition at line 100 of file GLTestWnd.cpp.
LRESULT GLTestWnd::_WndProc | ( | UINT | message, |
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [inline, private] |
Definition at line 154 of file GLTestWnd.cpp.
void GLTestWnd::CreateWindowGL | ( | ) | [private] |
Definition at line 88 of file GLTestWnd.cpp.
void GLTestWnd::glCreateRC | ( | HDC | hdc | ) |
Definition at line 224 of file GLTestWnd.cpp.
void GLTestWnd::glPaint | ( | HDC | hdc | ) |
Definition at line 257 of file GLTestWnd.cpp.
void GLTestWnd::glResize | ( | int | w, |
int | h | ||
) |
Definition at line 252 of file GLTestWnd.cpp.
void GLTestWnd::ParseCommandLine | ( | LPSTR | cmd | ) |
Definition at line 264 of file GLTestWnd.cpp.
void GLTestWnd::RegisterWindowClass | ( | ) | [static, private] |
Definition at line 132 of file GLTestWnd.cpp.
void GLTestWnd::SetDisplaySize | ( | int | w, |
int | h | ||
) | [virtual] |
Implements BasicTestWin.
Definition at line 283 of file GLTestWnd.cpp.
void GLTestWnd::SetWindowTitle | ( | char * | title | ) | [virtual] |
Implements BasicTestWin.
Definition at line 297 of file GLTestWnd.cpp.
void GLTestWnd::UpdateDisplay | ( | ) | [virtual] |
Implements BasicTestWin.
Definition at line 302 of file GLTestWnd.cpp.
HGLRC GLTestWnd::_hglrc [private] |
Definition at line 40 of file GLTestWnd.h.
HWND GLTestWnd::_hWndMain [private] |
Definition at line 41 of file GLTestWnd.h.