OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

ai_widget.h
Go to the documentation of this file.
1 /* $Id: ai_widget.h 24900 2013-01-08 22:46:42Z planetmaker $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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 */
9
12 #ifndef WIDGETS_AI_WIDGET_H
13 #define WIDGETS_AI_WIDGET_H
14
15 #include "../company_type.h"
16 #include "../textfile_type.h"
17
19 enum AIListWidgets {
20 WID_AIL_CAPTION,
21 WID_AIL_LIST,
22 WID_AIL_SCROLLBAR,
23 WID_AIL_INFO_BG,
24 WID_AIL_ACCEPT,
25 WID_AIL_CANCEL,
26 };
27
29 enum AISettingsWidgets {
30 WID_AIS_CAPTION,
31 WID_AIS_BACKGROUND,
32 WID_AIS_SCROLLBAR,
33 WID_AIS_ACCEPT,
34 WID_AIS_RESET,
35 };
36
38 enum AIConfigWidgets {
39 WID_AIC_BACKGROUND,
40 WID_AIC_DECREASE,
41 WID_AIC_INCREASE,
42 WID_AIC_NUMBER,
43 WID_AIC_GAMELIST,
44 WID_AIC_LIST,
45 WID_AIC_SCROLLBAR,
46 WID_AIC_MOVE_UP,
47 WID_AIC_MOVE_DOWN,
48 WID_AIC_CHANGE,
49 WID_AIC_CONFIGURE,
50 WID_AIC_CLOSE,
51 WID_AIC_TEXTFILE,
52 WID_AIC_CONTENT_DOWNLOAD = WID_AIC_TEXTFILE + TFT_END,
53 };
54
56 enum AIDebugWidgets {
57 WID_AID_VIEW,
58 WID_AID_NAME_TEXT,
59 WID_AID_SETTINGS,
60 WID_AID_SCRIPT_GAME,
61 WID_AID_RELOAD_TOGGLE,
62 WID_AID_LOG_PANEL,
63 WID_AID_SCROLLBAR,
64 WID_AID_COMPANY_BUTTON_START,
65 WID_AID_COMPANY_BUTTON_END = WID_AID_COMPANY_BUTTON_START + MAX_COMPANIES - 1,
66 WID_AID_BREAK_STRING_WIDGETS,
67 WID_AID_BREAK_STR_ON_OFF_BTN,
68 WID_AID_BREAK_STR_EDIT_BOX,
69 WID_AID_MATCH_CASE_BTN,
70 WID_AID_CONTINUE_BTN,
71 };
72
73 #endif /* WIDGETS_AI_WIDGET_H */