Support Forum       G3D Web Page     
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::GuiWindow::Modal Class Reference

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

GuiWindowdialog
 The dialog that is running. More...
 
shared_ptr< Textureimage
 Image of the screen under the modal dialog. More...
 
ModalEffect m_modalEffect
 
shared_ptr< WidgetManagermanager
 
OSWindowosWindow
 
RenderDevicerenderDevice
 
UserInputuserInput
 
Rect2D viewport
 Size of the screen. More...
 

Detailed Description

State for managing modal dialogs.

Constructor & Destructor Documentation

◆ Modal()

G3D::GuiWindow::Modal::Modal ( OSWindow osWindow,
ModalEffect  e 
)

◆ ~Modal()

G3D::GuiWindow::Modal::~Modal ( )

Member Function Documentation

◆ loopBody()

static void G3D::GuiWindow::Modal::loopBody ( void *  me)
static

Callback for OSWindow loop body.

◆ oneFrame()

void G3D::GuiWindow::Modal::oneFrame ( )

Called from loop Body.

◆ processEventQueue()

void G3D::GuiWindow::Modal::processEventQueue ( )

◆ run()

void G3D::GuiWindow::Modal::run ( shared_ptr< GuiWindow dialog)

Run an event loop until the window closes.

Member Data Documentation

◆ dialog

GuiWindow* G3D::GuiWindow::Modal::dialog

The dialog that is running.

◆ image

shared_ptr<Texture> G3D::GuiWindow::Modal::image

Image of the screen under the modal dialog.

◆ m_modalEffect

ModalEffect G3D::GuiWindow::Modal::m_modalEffect

◆ manager

shared_ptr<WidgetManager> G3D::GuiWindow::Modal::manager

◆ osWindow

OSWindow* G3D::GuiWindow::Modal::osWindow

◆ renderDevice

RenderDevice* G3D::GuiWindow::Modal::renderDevice

◆ userInput

UserInput* G3D::GuiWindow::Modal::userInput

◆ viewport

Rect2D G3D::GuiWindow::Modal::viewport

Size of the screen.


documentation generated on Wed Nov 24 2021 08:01:57 using doxygen 1.8.15