Helper class to display modal dialogs. ModalDialogSettings.
More...
#include <MRModalDialog.h>
|
MRVIEWER_API | ModalDialog (std::string label, ModalDialogSettings settings) |
|
MRVIEWER_API bool | beginPopup (float menuScaling) |
|
MRVIEWER_API void | endPopup (float menuScaling) |
| Render the dialog's footer ("Don't show again" checkbox) and finish the dialog.
|
|
|
static MRVIEWER_API float | windowWidth () |
| Returns the current window width in pixels.
|
|
Helper class to display modal dialogs. ModalDialogSettings.
◆ ModalDialog()
◆ beginPopup()
MRVIEWER_API bool MR::ModalDialog::beginPopup |
( |
float | menuScaling | ) |
|
Open the dialog and render its header (headline, close button, text). Returns true if the dialog window is open.
◆ endPopup()
MRVIEWER_API void MR::ModalDialog::endPopup |
( |
float | menuScaling | ) |
|
Render the dialog's footer ("Don't show again" checkbox) and finish the dialog.
◆ windowWidth()
static MRVIEWER_API float MR::ModalDialog::windowWidth |
( |
| ) |
|
|
staticnodiscard |
Returns the current window width in pixels.
The documentation for this class was generated from the following file: