Changeset View
Changeset View
Standalone View
Standalone View
src/ui_interface.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | enum MessageBoxFlags { | ||||
BTN_IGNORE | BTN_CLOSE | BTN_CANCEL | BTN_DISCARD | | BTN_IGNORE | BTN_CLOSE | BTN_CANCEL | BTN_DISCARD | | ||||
BTN_HELP | BTN_APPLY | BTN_RESET), | BTN_HELP | BTN_APPLY | BTN_RESET), | ||||
/** | /** | ||||
* Force blocking, modal message box dialog (not just OS notification) | * Force blocking, modal message box dialog (not just OS notification) | ||||
*/ | */ | ||||
MODAL = 0x10000000U, | MODAL = 0x10000000U, | ||||
/** Do not prepend error/warning prefix */ | |||||
MSG_NOPREFIX = 0x20000000U, | |||||
/** Do not print contents of message to debug log */ | /** Do not print contents of message to debug log */ | ||||
SECURE = 0x40000000U, | SECURE = 0x40000000U, | ||||
/** Predefined combinations for certain default usage cases */ | /** Predefined combinations for certain default usage cases */ | ||||
MSG_INFORMATION = ICON_INFORMATION, | MSG_INFORMATION = ICON_INFORMATION, | ||||
MSG_WARNING = (ICON_WARNING | BTN_OK | MODAL), | MSG_WARNING = (ICON_WARNING | BTN_OK | MODAL), | ||||
MSG_ERROR = (ICON_ERROR | BTN_OK | MODAL) | MSG_ERROR = (ICON_ERROR | BTN_OK | MODAL) | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |