Codechange: Set storage type of widget enums to WidgetID.

This commit is contained in:
Peter Nelson
2023-12-29 21:15:25 +00:00
committed by Peter Nelson
parent a0dfb76e34
commit 268e512fb8
60 changed files with 120 additions and 120 deletions

View File

@@ -11,19 +11,19 @@
#define WIDGETS_BOOTSTRAP_WIDGET_H
/** Widgets of the #BootstrapBackground class. */
enum BootstrapBackgroundWidgets {
enum BootstrapBackgroundWidgets : WidgetID {
WID_BB_BACKGROUND, ///< Background of the window.
};
/** Widgets of the #BootstrapErrmsgWindow class. */
enum BootstrapErrorMessageWidgets {
enum BootstrapErrorMessageWidgets : WidgetID {
WID_BEM_CAPTION, ///< Caption of the window.
WID_BEM_MESSAGE, ///< Error message.
WID_BEM_QUIT, ///< Quit button.
};
/** Widgets of the #BootstrapContentDownloadStatusWindow class. */
enum BootstrapAskForDownloadWidgets {
enum BootstrapAskForDownloadWidgets : WidgetID {
WID_BAFD_QUESTION, ///< The question whether to download.
WID_BAFD_YES, ///< An affirmative answer to the question.
WID_BAFD_NO, ///< An negative answer to the question.