OpenTTD Source: src/widgets/goal_widget.h Source File

OpenTTD Source 15.0-RC2

goal_widget.h
Go to the documentation of this file.
1
2/*
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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
7 */
8
11#ifndef WIDGETS_GOAL_WIDGET_H
12#define WIDGETS_GOAL_WIDGET_H
13
15 enum GoalListWidgets : WidgetID {
16 WID_GOAL_CAPTION,
17 WID_GOAL_SELECT_BUTTONS,
18 WID_GOAL_GLOBAL_BUTTON,
19 WID_GOAL_COMPANY_BUTTON,
20 WID_GOAL_LIST,
21 WID_GOAL_SCROLLBAR,
22};
23
25 enum GoalQuestionWidgets : WidgetID {
26 WID_GQ_CAPTION,
27 WID_GQ_QUESTION,
28 WID_GQ_BUTTONS,
29 WID_GQ_BUTTON_1,
30 WID_GQ_BUTTON_2,
31 WID_GQ_BUTTON_3,
32};
33
34#endif /* WIDGETS_GOAL_WIDGET_H */
GoalQuestionWidgets
GoalQuestionWidgets
Widgets of the GoalQuestionWindow class.
Definition goal_widget.h:25
WID_GQ_BUTTON_1
@ WID_GQ_BUTTON_1
First button.
Definition goal_widget.h:29
WID_GQ_QUESTION
@ WID_GQ_QUESTION
Question text.
Definition goal_widget.h:27
WID_GQ_BUTTON_2
@ WID_GQ_BUTTON_2
Second button.
Definition goal_widget.h:30
WID_GQ_CAPTION
@ WID_GQ_CAPTION
Caption of the window.
Definition goal_widget.h:26
WID_GQ_BUTTON_3
@ WID_GQ_BUTTON_3
Third button.
Definition goal_widget.h:31
WID_GQ_BUTTONS
@ WID_GQ_BUTTONS
Buttons selection (between 1, 2 or 3).
Definition goal_widget.h:28
GoalListWidgets
GoalListWidgets
Widgets of the GoalListWindow class.
Definition goal_widget.h:15
WID_GOAL_COMPANY_BUTTON
@ WID_GOAL_COMPANY_BUTTON
Button to show company goals.
Definition goal_widget.h:19
WID_GOAL_CAPTION
@ WID_GOAL_CAPTION
Caption of the window.
Definition goal_widget.h:16
WID_GOAL_SCROLLBAR
@ WID_GOAL_SCROLLBAR
Scrollbar of the goal list.
Definition goal_widget.h:21
WID_GOAL_SELECT_BUTTONS
@ WID_GOAL_SELECT_BUTTONS
Selection widget for the title bar button.
Definition goal_widget.h:17
WID_GOAL_GLOBAL_BUTTON
@ WID_GOAL_GLOBAL_BUTTON
Button to show global goals.
Definition goal_widget.h:18
WID_GOAL_LIST
@ WID_GOAL_LIST
Goal list.
Definition goal_widget.h:20
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20