summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authordP <dp@dpointer.org>2021-02-02 19:14:26 +0300
committerLoïc Guilloux <glx22@users.noreply.github.com>2021-02-14 23:21:43 +0100
commit91cc414588548e7752fb707b4547f63db597aca1 (patch)
tree22d5f6e1e66286a6e26bd93302bc4fe2f0be0501 /src/widgets
parent751f595bb674192f22d6d091bf68ad263b120c35 (diff)
downloadopenttd-91cc414588548e7752fb707b4547f63db597aca1.tar.xz
Feature: [GS] Allow non-question type windows to have no buttons
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/goal_widget.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/widgets/goal_widget.h b/src/widgets/goal_widget.h
index e5da62051..ad530210b 100644
--- a/src/widgets/goal_widget.h
+++ b/src/widgets/goal_widget.h
@@ -20,12 +20,13 @@ enum GoalListWidgets {
/** Widgets of the #GoalQuestionWindow class. */
enum GoalQuestionWidgets {
- WID_GQ_CAPTION, ///< Caption of the window.
- WID_GQ_QUESTION, ///< Question text.
- WID_GQ_BUTTONS, ///< Buttons selection (between 1, 2 or 3).
- WID_GQ_BUTTON_1, ///< First button.
- WID_GQ_BUTTON_2, ///< Second button.
- WID_GQ_BUTTON_3, ///< Third button.
+ WID_GQ_CAPTION, ///< Caption of the window.
+ WID_GQ_QUESTION, ///< Question text.
+ WID_GQ_BUTTONS, ///< Buttons selection (between 1, 2 or 3).
+ WID_GQ_BUTTON_1, ///< First button.
+ WID_GQ_BUTTON_2, ///< Second button.
+ WID_GQ_BUTTON_3, ///< Third button.
+ WID_GQ_BUTTON_SPACER, ///< Selection to hide extra padding if there are no buttons
};
#endif /* WIDGETS_GOAL_WIDGET_H */