Jamba C++ API
5.1.1
|
Defines the interface to show or dismiss a modal/dialog window which is a window that captures all events and must be dismissed (by calling IDialogHandler::dismissDialog
).
More...
#include <IDialogHandler.h>
Inherited by GUIController, and GUIState.
Public Member Functions | |
virtual bool | dismissDialog ()=0 |
Dismisses the currently shown dialog. More... | |
virtual bool | showDialog (std::string iTemplateName)=0 |
This method is called with the name of the template to use for the dialog. More... | |
virtual | ~IDialogHandler ()=default |
Destructor. More... | |
Defines the interface to show or dismiss a modal/dialog window which is a window that captures all events and must be dismissed (by calling IDialogHandler::dismissDialog
).
Typical usages are for About windows or alert messages.
The primary way to use it in the code is via the gui state (which implements this interface)
|
virtualdefault |
Destructor.
|
pure virtual |
Dismisses the currently shown dialog.
true
if there was a dialog shown or false
otherwise Implemented in GUIState, and GUIController.
|
pure virtual |
This method is called with the name of the template to use for the dialog.
It should be a template defined in the xml file (.uidesc
) as a top level template.
iTemplateName | the name of the top level template to use |
true
if the dialog was shown and false
if there was a problem (for example iTemplateName
does not refer to a valid top level template name) Implemented in GUIState, and GUIController.