Support Forum G3D Web Page |
State for managing modal dialogs. More...
Public Member Functions | |
Modal (OSWindow *osWindow, ModalEffect e) | |
~Modal () | |
void | oneFrame () |
Called from loop Body. More... | |
void | processEventQueue () |
void | run (shared_ptr< GuiWindow > dialog) |
Run an event loop until the window closes. More... | |
Static Public Member Functions | |
static void | loopBody (void *me) |
Callback for OSWindow loop body. More... | |
Public Attributes | |
GuiWindow * | dialog |
The dialog that is running. More... | |
shared_ptr< Texture > | image |
Image of the screen under the modal dialog. More... | |
ModalEffect | m_modalEffect |
shared_ptr< WidgetManager > | manager |
OSWindow * | osWindow |
RenderDevice * | renderDevice |
UserInput * | userInput |
Rect2D | viewport |
Size of the screen. More... | |
State for managing modal dialogs.
G3D::GuiWindow::Modal::Modal | ( | OSWindow * | osWindow, |
ModalEffect | e | ||
) |
G3D::GuiWindow::Modal::~Modal | ( | ) |
|
static |
Callback for OSWindow loop body.
void G3D::GuiWindow::Modal::oneFrame | ( | ) |
Called from loop Body.
void G3D::GuiWindow::Modal::processEventQueue | ( | ) |
void G3D::GuiWindow::Modal::run | ( | shared_ptr< GuiWindow > | dialog | ) |
Run an event loop until the window closes.
GuiWindow* G3D::GuiWindow::Modal::dialog |
The dialog that is running.
ModalEffect G3D::GuiWindow::Modal::m_modalEffect |
shared_ptr<WidgetManager> G3D::GuiWindow::Modal::manager |
OSWindow* G3D::GuiWindow::Modal::osWindow |
RenderDevice* G3D::GuiWindow::Modal::renderDevice |
UserInput* G3D::GuiWindow::Modal::userInput |
Rect2D G3D::GuiWindow::Modal::viewport |
Size of the screen.