Merge branch 'master' into jgrpp
# Conflicts: # .github/workflows/ci-build.yml # .github/workflows/release-linux.yml # .github/workflows/release-macos.yml # .github/workflows/release-windows.yml # .gitignore # COMPILING.md # src/company_gui.cpp # src/date_gui.cpp # src/engine.cpp # src/engine_func.h # src/fileio.cpp # src/linkgraph/linkgraph_gui.h # src/newgrf_debug_gui.cpp # src/newgrf_gui.cpp # src/order_gui.cpp # src/osk_gui.cpp # src/rail_gui.cpp # src/road_gui.cpp # src/script/api/script_event_types.hpp # src/sl/oldloader_sl.cpp # src/smallmap_gui.cpp # src/station_cmd.cpp # src/toolbar_gui.cpp # src/town_gui.cpp # src/transparency_gui.cpp # src/vehicle_gui.cpp # src/widget.cpp # src/widget_type.h # src/widgets/dropdown.cpp # src/widgets/dropdown_func.h # src/widgets/dropdown_type.h # src/widgets/group_widget.h # src/widgets/vehicle_widget.h # src/window.cpp # src/window_gui.h # src/window_type.h
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#define WIDGETS_GENWORLD_WIDGET_H
|
||||
|
||||
/** Widgets of the #GenerateLandscapeWindow class. */
|
||||
enum GenerateLandscapeWidgets {
|
||||
enum GenerateLandscapeWidgets : WidgetID {
|
||||
WID_GL_TEMPERATE, ///< Button with icon "Temperate".
|
||||
WID_GL_ARCTIC, ///< Button with icon "Arctic".
|
||||
WID_GL_TROPICAL, ///< Button with icon "Tropical".
|
||||
@@ -77,7 +77,7 @@ enum GenerateLandscapeWidgets {
|
||||
};
|
||||
|
||||
/** Widgets of the #CreateScenarioWindow class. */
|
||||
enum CreateScenarioWidgets {
|
||||
enum CreateScenarioWidgets : WidgetID {
|
||||
WID_CS_TEMPERATE, ///< Select temperate landscape style.
|
||||
WID_CS_ARCTIC, ///< Select arctic landscape style.
|
||||
WID_CS_TROPICAL, ///< Select tropical landscape style.
|
||||
@@ -95,7 +95,7 @@ enum CreateScenarioWidgets {
|
||||
};
|
||||
|
||||
/** Widgets of the #GenerateProgressWindow class. */
|
||||
enum GenerationProgressWidgets {
|
||||
enum GenerationProgressWidgets : WidgetID {
|
||||
WID_GP_PROGRESS_BAR, ///< Progress bar.
|
||||
WID_GP_PROGRESS_TEXT, ///< Text with the progress bar.
|
||||
WID_GP_ABORT, ///< Abort button.
|
||||
|
Reference in New Issue
Block a user