3 * This file is part of OpenTTD.
4 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
5 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
9 /** @file goal_widget.h Types related to the goal widgets. */
11 #ifndef WIDGETS_GOAL_WIDGET_H
12 #define WIDGETS_GOAL_WIDGET_H
14 /** Widgets of the #GoalListWindow class. */
15 enum GoalListWidgets
: WidgetID
{
16 WID_GOAL_CAPTION
, ///< Caption of the window.
17 WID_GOAL_SELECT_BUTTONS
, ///< Selection widget for the title bar button.
18 WID_GOAL_GLOBAL_BUTTON
, ///< Button to show global goals.
19 WID_GOAL_COMPANY_BUTTON
, ///< Button to show company goals.
20 WID_GOAL_LIST
, ///< Goal list.
21 WID_GOAL_SCROLLBAR
, ///< Scrollbar of the goal list.
24 /** Widgets of the #GoalQuestionWindow class. */
25 enum GoalQuestionWidgets
: WidgetID
{
26 WID_GQ_CAPTION
, ///< Caption of the window.
27 WID_GQ_QUESTION
, ///< Question text.
28 WID_GQ_BUTTONS
, ///< Buttons selection (between 1, 2 or 3).
29 WID_GQ_BUTTON_1
, ///< First button.
30 WID_GQ_BUTTON_2
, ///< Second button.
31 WID_GQ_BUTTON_3
, ///< Third button.
34 #endif /* WIDGETS_GOAL_WIDGET_H */