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