#include <MessageBox.hpp>
|
| static constexpr std::string_view | Icon2Str [4] |
| |
| static constexpr std::string_view | Choice2Str [4] |
| |
Avoid mismatch with windows's MessageBox macro
Definition at line 16 of file MessageBox.hpp.
◆ Action
User Performed Action Result
| Enumerator |
|---|
| Cancel | |
| No | |
| Ok | |
| Yes | |
Definition at line 50 of file MessageBox.hpp.
◆ Choice
Message box button layout choices
| Enumerator |
|---|
| Ok | |
| Ok_Cancel | |
| Yes_No | |
| Yes_No_Cancel | |
Definition at line 35 of file MessageBox.hpp.
◆ Icon
Message box Icon type
| Enumerator |
|---|
| Info | |
| Warning | |
| Error | |
| Question | |
Definition at line 21 of file MessageBox.hpp.
◆ MessageBox()
Constructor
- Parameters
-
| title | title of the message box |
| message | description of the message box |
| icon | Icon type of the message box Info, Warning, Error or Question |
| choice | buttons layout of the message box |
◆ ~MessageBox()
| MessageBox::~MessageBox |
( |
| ) |
|
|
defaultnoexcept |
◆ Show()
◆ Choice2Str
| constexpr std::string_view MessageBox::Choice2Str[4] |
|
staticconstexpr |
Initial value:= {
"ok",
"okcancel",
"yesno",
"yesnocancel"}
Definition at line 41 of file MessageBox.hpp.
◆ Icon2Str
| constexpr std::string_view MessageBox::Icon2Str[4] |
|
staticconstexpr |
Initial value:= {
"info",
"warning",
"error",
"question"}
Definition at line 27 of file MessageBox.hpp.
The documentation for this class was generated from the following file: