summaryrefslogtreecommitdiff
path: root/src/widgets/settings_widget.h
diff options
context:
space:
mode:
authorDidac Perez Parera <perez.didac@gmail.com>2021-04-06 03:47:44 -0700
committerGitHub <noreply@github.com>2021-04-06 12:47:44 +0200
commitca783d447a831088e21c13919e4865353e98d54d (patch)
tree13a5ef57abe61e645ff5c47fe0f464380581d581 /src/widgets/settings_widget.h
parent43c465e8f4aa2585a8454ae656513e4c8555aa75 (diff)
downloadopenttd-ca783d447a831088e21c13919e4865353e98d54d.tar.xz
Feature: Button to reset game settings to their default values (#8958)
Diffstat (limited to 'src/widgets/settings_widget.h')
-rw-r--r--src/widgets/settings_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/settings_widget.h b/src/widgets/settings_widget.h
index 7f8b0e111..6cb2d7e94 100644
--- a/src/widgets/settings_widget.h
+++ b/src/widgets/settings_widget.h
@@ -44,6 +44,7 @@ enum GameSettingsWidgets {
WID_GS_HELP_TEXT, ///< Information area to display help text of the selected option.
WID_GS_EXPAND_ALL, ///< Expand all button.
WID_GS_COLLAPSE_ALL, ///< Collapse all button.
+ WID_GS_RESET_ALL, ///< Reset all button.
WID_GS_RESTRICT_CATEGORY, ///< Label upfront to the category drop-down box to restrict the list of settings to show
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