Settings for ModalDialog. More...
#include <MRModalDialog.h>
Public Attributes | |
| float | windowWidth = 0.f |
| Dialog window width. If the value is zero or negative, defaults to cModalWindowWidth * UI::scale(). | |
| std::string | headline |
| bool | closeButton = false |
| Add a close button next in the top right corner of the dialog. | |
| std::string | text |
| Render a centered text under the headline. | |
| bool * | dontShowAgain = nullptr |
| bool | closeOnClickOutside = false |
| If set, close the dialog on mouse click outside of it. | |
| std::function< void()> | onWindowClose |
| Callback for the window close event. | |
Settings for ModalDialog.