summaryrefslogtreecommitdiff
path: root/src/widgets/newgrf_widget.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2014-05-24 19:11:20 +0000
committeralberth <alberth@openttd.org>2014-05-24 19:11:20 +0000
commit8755c26793e9ba8f49cef7303e7b7517c69231e9 (patch)
tree4bf06669668ce8c3e1aff6fb8f422caa193c69c1 /src/widgets/newgrf_widget.h
parent8e87ae9120351bb9c9135328b57f5034be028b58 (diff)
downloadopenttd-8755c26793e9ba8f49cef7303e7b7517c69231e9.tar.xz
(svn r26610) -Feature: Select an editable preset name for saving.
Diffstat (limited to 'src/widgets/newgrf_widget.h')
-rw-r--r--src/widgets/newgrf_widget.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/widgets/newgrf_widget.h b/src/widgets/newgrf_widget.h
index 878dcb891..c0c00ed8b 100644
--- a/src/widgets/newgrf_widget.h
+++ b/src/widgets/newgrf_widget.h
@@ -60,6 +60,15 @@ enum NewGRFStateWidgets {
WID_NS_SHOW_APPLY, ///< Select display of the buttons below the 'details'.
};
+/** Widgets of the #SavePresetWindow class. */
+enum SavePresetWidgets {
+ WID_SVP_PRESET_LIST, ///< List with available preset names.
+ WID_SVP_SCROLLBAR, ///< Scrollbar for the list available preset names.
+ WID_SVP_EDITBOX, ///< Edit box for changing the preset name.
+ WID_SVP_CANCEL, ///< Button to cancel saving the preset.
+ WID_SVP_SAVE, ///< Button to save the preset.
+};
+
/** Widgets of the #ScanProgressWindow class. */
enum ScanProgressWidgets {
WID_SP_PROGRESS_BAR, ///< Simple progress bar.