From 91cc414588548e7752fb707b4547f63db597aca1 Mon Sep 17 00:00:00 2001 From: dP Date: Tue, 2 Feb 2021 19:14:26 +0300 Subject: Feature: [GS] Allow non-question type windows to have no buttons --- src/widgets/goal_widget.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/widgets') 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 */ -- cgit v1.2.3-70-g09d2