summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorKuhnovic <68320206+Kuhnovic@users.noreply.github.com>2021-02-10 16:35:50 +0100
committerGitHub <noreply@github.com>2021-02-10 16:35:50 +0100
commit83ddb1501fe059241ef11e88f14bcfb1dafa9b72 (patch)
tree2d52c1650de1515a4542efc3fbbf624980621143 /src/widgets
parentf1f281b318dc562d5741b55ff25198f3f1602312 (diff)
downloadopenttd-83ddb1501fe059241ef11e88f14bcfb1dafa9b72.tar.xz
Feature: Remove all industries button in scenario editor (#8550)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/industry_widget.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/widgets/industry_widget.h b/src/widgets/industry_widget.h
index e9fb2b114..5e3a656c1 100644
--- a/src/widgets/industry_widget.h
+++ b/src/widgets/industry_widget.h
@@ -12,11 +12,14 @@
/** Widgets of the #BuildIndustryWindow class. */
enum DynamicPlaceIndustriesWidgets {
- WID_DPI_MATRIX_WIDGET, ///< Matrix of the industries.
- WID_DPI_SCROLLBAR, ///< Scrollbar of the matrix.
- WID_DPI_INFOPANEL, ///< Info panel about the industry.
- WID_DPI_DISPLAY_WIDGET, ///< Display chain button.
- WID_DPI_FUND_WIDGET, ///< Fund button.
+ WID_DPI_SCENARIO_EDITOR_PANE, ///< Pane containing SE-only widgets.
+ WID_DPI_REMOVE_ALL_INDUSTRIES_WIDGET, ///< Remove all industries button.
+ WID_DPI_CREATE_RANDOM_INDUSTRIES_WIDGET, ///< Create random industries button.
+ WID_DPI_MATRIX_WIDGET, ///< Matrix of the industries.
+ WID_DPI_SCROLLBAR, ///< Scrollbar of the matrix.
+ WID_DPI_INFOPANEL, ///< Info panel about the industry.
+ WID_DPI_DISPLAY_WIDGET, ///< Display chain button.
+ WID_DPI_FUND_WIDGET, ///< Fund button.
};
/** Widgets of the #IndustryViewWindow class. */