5 #include "Mountain/core.hpp" 85 static uint32_t TypeToWindows(
Type type);
87 static uint32_t IconToWindows(
Icon icon);
89 static uint32_t DefaultButtonToWindows(
DefaultButton defaultButton);
91 static Result ParseResult(int32_t windowsResult);
The MessageBox contains the options Ok, Cancel.
Defines functions to work with Windows MessageBox utilities.
Sets the default button as the first one.
The MessageBox contains the options Yes, No.
The MessageBox contains the single option Ok.
static Result Show(std::string_view title, std::string_view text, Type type, Icon icon=Icon::None, DefaultButton defaultButton=DefaultButton::First)
Shows a MessageBox with the given options.
The MessageBox contains the options Yes, No, Cancel.
Type
Options for the MessageBox functions.
DefaultButton
Default selected button for the MessageBox functions.
The MessageBox contains the options Cancel, Try Again, Continue.
Icon
Popup icon for the MessageBox functions.
The MessageBox contains the options Retry, Cancel.
Result
Result of the MessageBox functions.
Contains all declarations of the Mountain Framework.