std::function< void()> onWindowClose
Callback for the window close event.
Definition MRModalDialog.h:32
bool closeOnClickOutside
If set, close the dialog on mouse click outside of it.
Definition MRModalDialog.h:30
bool * dontShowAgain
Definition MRModalDialog.h:28
ModalDialog(std::string label, ModalDialogSettings settings)
static float windowWidth()
Returns the current window width in pixels.
std::string text
Render a centered text under the headline.
Definition MRModalDialog.h:25
bool closeButton
Add a close button next in the top right corner of the dialog.
Definition MRModalDialog.h:23
void endPopup()
Render the dialog's footer ("Don't show again" checkbox) and finish the dialog.
std::string headline
Definition MRModalDialog.h:21
float windowWidth
Dialog window width. If the value is zero or negative, defaults to cModalWindowWidth * UI::scale().
Definition MRModalDialog.h:18
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Settings for ModalDialog.
Definition MRModalDialog.h:16