summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authordP <dp@dpointer.org>2021-02-21 02:32:45 +0300
committerCharles Pigott <charlespigott@googlemail.com>2021-03-08 18:18:47 +0000
commit56911a86ea2fad84383729ece63c837dc012f14d (patch)
treef8c6ca8d939beea64cdae4ef86a321c2e2b75a8d /src/widgets
parent818bee3961d41dc830803792ab3cbe064c8b1f65 (diff)
downloadopenttd-56911a86ea2fad84383729ece63c837dc012f14d.tar.xz
Add: Buttons to open global goals from company goals and vice versa
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/goal_widget.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/widgets/goal_widget.h b/src/widgets/goal_widget.h
index ad530210b..27c5cf722 100644
--- a/src/widgets/goal_widget.h
+++ b/src/widgets/goal_widget.h
@@ -13,9 +13,12 @@
/** Widgets of the #GoalListWindow class. */
enum GoalListWidgets {
- WID_GOAL_CAPTION, ///< Caption of the window.
- WID_GOAL_LIST, ///< Goal list.
- WID_GOAL_SCROLLBAR, ///< Scrollbar of the goal list.
+ WID_GOAL_CAPTION, ///< Caption of the window.
+ WID_GOAL_SELECT_BUTTONS, ///< Selection widget for the title bar button.
+ WID_GOAL_GLOBAL_BUTTON, ///< Button to show global goals.
+ WID_GOAL_COMPANY_BUTTON, ///< Button to show company goals.
+ WID_GOAL_LIST, ///< Goal list.
+ WID_GOAL_SCROLLBAR, ///< Scrollbar of the goal list.
};
/** Widgets of the #GoalQuestionWindow class. */