Codechange: Add enum items for dynmically created setting dropdowns.
This commit is contained in:
@@ -23,6 +23,8 @@ enum GSConfigWidgets {
|
||||
WID_GSC_CONTENT_DOWNLOAD = WID_GSC_TEXTFILE + TFT_CONTENT_END, ///< Download content button.
|
||||
WID_GSC_ACCEPT, ///< Accept ("Close") button
|
||||
WID_GSC_RESET, ///< Reset button.
|
||||
|
||||
WID_GSC_SETTING_DROPDOWN = -1, ///< Dynamically created dropdown for changing setting value.
|
||||
};
|
||||
|
||||
#endif /* WIDGETS_GS_WIDGET_H */
|
||||
|
||||
@@ -26,6 +26,8 @@ enum NewGRFParametersWidgets {
|
||||
WID_NP_RESET, ///< Reset button.
|
||||
WID_NP_SHOW_DESCRIPTION, ///< #NWID_SELECTION to optionally display parameter descriptions.
|
||||
WID_NP_DESCRIPTION, ///< Multi-line description of a parameter.
|
||||
|
||||
WID_NP_SETTING_DROPDOWN = -1, ///< Dynamically created dropdown for changing setting value.
|
||||
};
|
||||
|
||||
/** Widgets of the #NewGRFWindow class. */
|
||||
|
||||
@@ -29,6 +29,8 @@ enum ScriptSettingsWidgets {
|
||||
WID_SCRS_SCROLLBAR, ///< Scrollbar to scroll through all settings.
|
||||
WID_SCRS_ACCEPT, ///< Accept button.
|
||||
WID_SCRS_RESET, ///< Reset button.
|
||||
|
||||
WID_SCRS_SETTING_DROPDOWN = -1, ///< Dynamically created dropdown for changing setting value.
|
||||
};
|
||||
|
||||
/** Widgets of the #ScriptDebugWindow class. */
|
||||
|
||||
@@ -64,6 +64,8 @@ enum GameSettingsWidgets {
|
||||
WID_GS_RESTRICT_TYPE, ///< Label upfront to the type drop-down box to restrict the list of settings to show
|
||||
WID_GS_RESTRICT_DROPDOWN, ///< The drop down box to restrict the list of settings
|
||||
WID_GS_TYPE_DROPDOWN, ///< The drop down box to choose client/game/company/all settings
|
||||
|
||||
WID_GS_SETTING_DROPDOWN = -1, ///< Dynamically created dropdown for changing setting value.
|
||||
};
|
||||
|
||||
/** Widgets of the #CustomCurrencyWindow class. */
|
||||
|
||||
Reference in New Issue
Block a user