#include <TestWinGlut.h>
Public Member Functions | |
void | SetDisplaySize (int w, int h) |
void | SetWindowTitle (char *title) |
TestWinGlut (int argc, char **argv) | |
void | UpdateDisplay () |
virtual | ~TestWinGlut () |
Static Public Member Functions | |
static void | motion (int x, int y) |
static void | Run () |
Private Types | |
enum | { MAX_TEST_WIN_GLUT = 100 } |
Private Member Functions | |
void | CreateGLUT () |
Static Private Member Functions | |
static void | button (int button, int state, int x, int y) |
static void | display () |
static void | idle () |
static void | keyboard (unsigned char key, int x, int y) |
static void | reshape (int w, int h) |
Static Private Attributes | |
static TestWinGlut * | _win [MAX_TEST_WIN_GLUT] |
Definition at line 33 of file TestWinGlut.h.
anonymous enum [private] |
Definition at line 35 of file TestWinGlut.h.
TestWinGlut::TestWinGlut | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 70 of file TestWinGlut.cpp.
TestWinGlut::~TestWinGlut | ( | ) | [virtual] |
Definition at line 86 of file TestWinGlut.cpp.
Definition at line 168 of file TestWinGlut.cpp.
void TestWinGlut::CreateGLUT | ( | ) | [private] |
Definition at line 93 of file TestWinGlut.cpp.
void TestWinGlut::display | ( | ) | [static, private] |
Definition at line 136 of file TestWinGlut.cpp.
void TestWinGlut::idle | ( | ) | [static, private] |
Definition at line 117 of file TestWinGlut.cpp.
void TestWinGlut::keyboard | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) | [static, private] |
Definition at line 123 of file TestWinGlut.cpp.
void TestWinGlut::motion | ( | int | x, |
int | y | ||
) | [static] |
Definition at line 157 of file TestWinGlut.cpp.
void TestWinGlut::reshape | ( | int | w, |
int | h | ||
) | [static, private] |
Definition at line 130 of file TestWinGlut.cpp.
void TestWinGlut::Run | ( | ) | [static] |
Definition at line 152 of file TestWinGlut.cpp.
void TestWinGlut::SetDisplaySize | ( | int | w, |
int | h | ||
) | [virtual] |
Implements BasicTestWin.
Definition at line 185 of file TestWinGlut.cpp.
void TestWinGlut::SetWindowTitle | ( | char * | title | ) | [virtual] |
Implements BasicTestWin.
Definition at line 163 of file TestWinGlut.cpp.
void TestWinGlut::UpdateDisplay | ( | ) | [virtual] |
Implements BasicTestWin.
Definition at line 180 of file TestWinGlut.cpp.
TestWinGlut * TestWinGlut::_win [static, private] |
Global Variables
Definition at line 47 of file TestWinGlut.h.