Public Member Functions | |
WindowCallbackData (CallbackGraphicsWindow *window) | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
CallbackGraphicsWindow * | get_window () const |
Returns the window this callback was triggered from. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Protected Member Functions | |
PT (CallbackGraphicsWindow) _window |
Definition at line 43 of file callbackGraphicsWindow.h.
CallbackGraphicsWindow * CallbackGraphicsWindow::WindowCallbackData::get_window | ( | ) | const [inline] |
Returns the window this callback was triggered from.
Definition at line 156 of file callbackGraphicsWindow.I.
static void CallbackGraphicsWindow::WindowCallbackData::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from CallbackData.
Reimplemented in CallbackGraphicsWindow::RenderCallbackData, CallbackGraphicsWindow::PropertiesCallbackData, and CallbackGraphicsWindow::EventsCallbackData.
Definition at line 57 of file callbackGraphicsWindow.h.
References CallbackData::init_type().