Codechange: Set storage type of widget enums to WidgetID.
This commit is contained in:

committed by
Peter Nelson

parent
a0dfb76e34
commit
268e512fb8
@@ -11,7 +11,7 @@
|
||||
#define WIDGETS_TOOLBAR_WIDGET_H
|
||||
|
||||
/** Widgets of the #MainToolbarWindow class. */
|
||||
enum ToolbarNormalWidgets {
|
||||
enum ToolbarNormalWidgets : WidgetID {
|
||||
WID_TN_PAUSE, ///< Pause the game.
|
||||
WID_TN_FAST_FORWARD, ///< Fast forward the game.
|
||||
WID_TN_SETTINGS, ///< Settings menu.
|
||||
@@ -49,7 +49,7 @@ enum ToolbarNormalWidgets {
|
||||
};
|
||||
|
||||
/** Widgets of the #ScenarioEditorToolbarWindow class. */
|
||||
enum ToolbarEditorWidgets {
|
||||
enum ToolbarEditorWidgets : WidgetID {
|
||||
WID_TE_PAUSE, ///< Pause the game.
|
||||
WID_TE_FAST_FORWARD, ///< Fast forward the game.
|
||||
WID_TE_SETTINGS, ///< Settings menu.
|
||||
|
Reference in New Issue
Block a user