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

OpenTTD Source 15.3

ai_widget.h
Go to the documentation of this file.
1/*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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>.
6 */
7
10#ifndef WIDGETS_AI_WIDGET_H
11#define WIDGETS_AI_WIDGET_H
12
13#include "../textfile_type.h"
14
16 enum AIConfigWidgets : WidgetID {
17 WID_AIC_BACKGROUND,
18 WID_AIC_DECREASE_NUMBER,
19 WID_AIC_INCREASE_NUMBER,
20 WID_AIC_NUMBER,
21 WID_AIC_DECREASE_INTERVAL,
22 WID_AIC_INCREASE_INTERVAL,
23 WID_AIC_INTERVAL,
24 WID_AIC_LIST,
25 WID_AIC_SCROLLBAR,
26 WID_AIC_MOVE_UP,
27 WID_AIC_MOVE_DOWN,
28 WID_AIC_CHANGE,
29 WID_AIC_CONFIGURE,
30 WID_AIC_OPEN_URL,
31 WID_AIC_TEXTFILE,
32 WID_AIC_CONTENT_DOWNLOAD = WID_AIC_TEXTFILE + TFT_CONTENT_END,
33};
34
35#endif /* WIDGETS_AI_WIDGET_H */
AIConfigWidgets
AIConfigWidgets
Widgets of the AIConfigWindow class.
Definition ai_widget.h:16
WID_AIC_CONFIGURE
@ WID_AIC_CONFIGURE
Change AI settings button.
Definition ai_widget.h:29
WID_AIC_NUMBER
@ WID_AIC_NUMBER
Number of AIs.
Definition ai_widget.h:20
WID_AIC_INTERVAL
@ WID_AIC_INTERVAL
Interval between time AIs start.
Definition ai_widget.h:23
WID_AIC_TEXTFILE
@ WID_AIC_TEXTFILE
Open AI readme, changelog (+1) or license (+2).
Definition ai_widget.h:31
WID_AIC_MOVE_DOWN
@ WID_AIC_MOVE_DOWN
Move down button.
Definition ai_widget.h:27
WID_AIC_BACKGROUND
@ WID_AIC_BACKGROUND
Window background.
Definition ai_widget.h:17
WID_AIC_LIST
@ WID_AIC_LIST
List with currently selected AIs.
Definition ai_widget.h:24
WID_AIC_CONTENT_DOWNLOAD
@ WID_AIC_CONTENT_DOWNLOAD
Download content button.
Definition ai_widget.h:32
WID_AIC_INCREASE_INTERVAL
@ WID_AIC_INCREASE_INTERVAL
Increase the interval.
Definition ai_widget.h:22
WID_AIC_OPEN_URL
@ WID_AIC_OPEN_URL
Open AI URL.
Definition ai_widget.h:30
WID_AIC_DECREASE_INTERVAL
@ WID_AIC_DECREASE_INTERVAL
Decrease the interval.
Definition ai_widget.h:21
WID_AIC_SCROLLBAR
@ WID_AIC_SCROLLBAR
Scrollbar to scroll through the selected AIs.
Definition ai_widget.h:25
WID_AIC_DECREASE_NUMBER
@ WID_AIC_DECREASE_NUMBER
Decrease the number of AIs.
Definition ai_widget.h:18
WID_AIC_CHANGE
@ WID_AIC_CHANGE
Select another AI button.
Definition ai_widget.h:28
WID_AIC_INCREASE_NUMBER
@ WID_AIC_INCREASE_NUMBER
Increase the number of AIs.
Definition ai_widget.h:19
WID_AIC_MOVE_UP
@ WID_AIC_MOVE_UP
Move up button.
Definition ai_widget.h:26
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20