Utility class for simple message boxes with an OK button to be shown to the user through the host environment.
More...
#include <GREM/events/SimpleMessageBox.hpp>
|
| | SimpleMessageBox ()=delete |
| | Message box objects are not intended to be constructed directly.
|
Utility class for simple message boxes with an OK button to be shown to the user through the host environment.
◆ SimpleMessageBox()
| grem::events::SimpleMessageBox::SimpleMessageBox |
( |
| ) |
|
|
delete |
Message box objects are not intended to be constructed directly.
◆ show()
Display a simple message box that blocks execution on the current thread until the user presses OK.
- Parameters
-
| type | type of message shown in the box. This may be reflected in the styling of the box. |
| title | window title of the message box. |
| message | main message to show in the box. |
- Exceptions
-
| events::Error | on failure to show the message box. |
| std::length_error | if an internal size limit was exceeded. |
| std::bad_array_new_length | if an internal size limit was exceeded. |
| std::bad_alloc | on allocation failure. |
The documentation for this class was generated from the following file: