MessageBox structure containing title, text, window, etc.
More...
MessageBox structure containing title, text, window, etc.
- Since
- This struct is available since SDL 3.2.0.
◆ MessageBox() [1/2]
| SDL::MessageBox::MessageBox |
( |
const MessageBoxRaw & | messageBox = {} | ) |
|
|
inlineconstexprnoexcept |
Wraps MessageBox.
- Parameters
-
| messageBox | the value to be wrapped |
◆ MessageBox() [2/2]
Constructs from its fields.
- Parameters
-
| flags | the value for flags. |
| window | the value for window. |
| title | the value for title. |
| message | the value for message. |
| buttons | the value for buttons. |
| colorScheme | the value for colorScheme. |
◆ GetButtons()
Get the buttons.
- Returns
- current buttons.
◆ GetColorScheme()
Get the colorScheme.
- Returns
- current colorScheme value.
◆ GetFlags()
Get the flags.
- Returns
- current flags value.
◆ GetMessage()
| const char * SDL::MessageBox::GetMessage |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Get the message.
- Returns
- current message value.
◆ GetNumbuttons()
| int SDL::MessageBox::GetNumbuttons |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Get the numbuttons.
- Returns
- current numbuttons value.
◆ GetTitle()
| const char * SDL::MessageBox::GetTitle |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Get the title.
- Returns
- current title value.
◆ GetWindow()
| WindowRef SDL::MessageBox::GetWindow |
( |
| ) |
const |
|
inlinenoexcept |
Get the window.
- Returns
- current window value.
◆ SetButtons()
Set the buttons.
- Parameters
-
| newButtons | the new buttons value. |
- Returns
- Reference to self.
◆ SetColorScheme()
Set the colorScheme.
- Parameters
-
| newColorScheme | the new colorScheme value. |
- Returns
- Reference to self.
◆ SetFlags()
Set the flags.
- Parameters
-
| newFlags | the new flags value. |
- Returns
- Reference to self.
◆ SetMessage()
| MessageBox & SDL::MessageBox::SetMessage |
( |
const char * | newMessage | ) |
|
|
inlineconstexprnoexcept |
Set the message.
- Parameters
-
| newMessage | the new message value. |
- Returns
- Reference to self.
◆ SetNumbuttons()
| MessageBox & SDL::MessageBox::SetNumbuttons |
( |
int | newNumbuttons | ) |
|
|
inlineconstexprnoexcept |
Set the numbuttons.
- Parameters
-
| newNumbuttons | the new numbuttons value. |
- Returns
- Reference to self.
◆ SetTitle()
| MessageBox & SDL::MessageBox::SetTitle |
( |
const char * | newTitle | ) |
|
|
inlineconstexprnoexcept |
Set the title.
- Parameters
-
| newTitle | the new title value. |
- Returns
- Reference to self.
◆ SetWindow()
Set the window.
- Parameters
-
| newWindow | the new window value. |
- Returns
- Reference to self.
The documentation for this struct was generated from the following file: