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 <http://www.gnu.org/licenses/>.
8 /** @file ai_widget.h Types related to the ai widgets. */
10 #ifndef WIDGETS_AI_WIDGET_H
11 #define WIDGETS_AI_WIDGET_H
13 #include "../textfile_type.h"
15 /** Widgets of the #AIConfigWindow class. */
16 enum AIConfigWidgets
: WidgetID
{
17 WID_AIC_BACKGROUND
, ///< Window background.
18 WID_AIC_DECREASE_NUMBER
, ///< Decrease the number of AIs.
19 WID_AIC_INCREASE_NUMBER
, ///< Increase the number of AIs.
20 WID_AIC_NUMBER
, ///< Number of AIs.
21 WID_AIC_DECREASE_INTERVAL
,///< Decrease the interval.
22 WID_AIC_INCREASE_INTERVAL
,///< Increase the interval.
23 WID_AIC_INTERVAL
, ///< Interval between time AIs start.
24 WID_AIC_LIST
, ///< List with currently selected AIs.
25 WID_AIC_SCROLLBAR
, ///< Scrollbar to scroll through the selected AIs.
26 WID_AIC_MOVE_UP
, ///< Move up button.
27 WID_AIC_MOVE_DOWN
, ///< Move down button.
28 WID_AIC_CHANGE
, ///< Select another AI button.
29 WID_AIC_CONFIGURE
, ///< Change AI settings button.
30 WID_AIC_OPEN_URL
, ///< Open AI URL.
31 WID_AIC_TEXTFILE
, ///< Open AI readme, changelog (+1) or license (+2).
32 WID_AIC_CONTENT_DOWNLOAD
= WID_AIC_TEXTFILE
+ TFT_CONTENT_END
, ///< Download content button.
35 #endif /* WIDGETS_AI_WIDGET_H */