Translations update
[openttd/fttd.git] / src / widgets / ai_widget.h
blob0d5cf158458715742deef89d3c2387f0eadbfb02
1 /* $Id$ */
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 */
10 /** @file ai_widget.h Types related to the ai widgets. */
12 #ifndef WIDGETS_AI_WIDGET_H
13 #define WIDGETS_AI_WIDGET_H
15 #include "../company_type.h"
16 #include "../textfile.h"
18 /** Widgets of the #AIListWindow class. */
19 enum AIListWidgets {
20 WID_AIL_CAPTION, ///< Caption of the window.
21 WID_AIL_LIST, ///< The matrix with all available AIs.
22 WID_AIL_SCROLLBAR, ///< Scrollbar next to the AI list.
23 WID_AIL_INFO_BG, ///< Panel to draw some AI information on.
24 WID_AIL_ACCEPT, ///< Accept button.
25 WID_AIL_CANCEL, ///< Cancel button.
28 /** Widgets of the #AISettingsWindow class. */
29 enum AISettingsWidgets {
30 WID_AIS_CAPTION, ///< Caption of the window.
31 WID_AIS_BACKGROUND, ///< Panel to draw the settings on.
32 WID_AIS_SCROLLBAR, ///< Scrollbar to scroll through all settings.
33 WID_AIS_ACCEPT, ///< Accept button.
34 WID_AIS_RESET, ///< Reset button.
37 /** Widgets of the #AIConfigWindow class. */
38 enum AIConfigWidgets {
39 WID_AIC_BACKGROUND, ///< Window background.
40 WID_AIC_DECREASE, ///< Decrease the number of AIs.
41 WID_AIC_INCREASE, ///< Increase the number of AIs.
42 WID_AIC_NUMBER, ///< Number of AIs.
43 WID_AIC_GAMELIST, ///< List with current selected GameScript.
44 WID_AIC_LIST, ///< List with currently selected AIs.
45 WID_AIC_SCROLLBAR, ///< Scrollbar to scroll through the selected AIs.
46 WID_AIC_MOVE_UP, ///< Move up button.
47 WID_AIC_MOVE_DOWN, ///< Move down button.
48 WID_AIC_CHANGE, ///< Select another AI button.
49 WID_AIC_CONFIGURE, ///< Change AI settings button.
50 WID_AIC_CLOSE, ///< Close window button.
51 WID_AIC_TEXTFILE, ///< Open AI readme, changelog (+1) or license (+2).
52 WID_AIC_CONTENT_DOWNLOAD = WID_AIC_TEXTFILE + TFT_END, ///< Download content button.
55 /** Widgets of the #AIDebugWindow class. */
56 enum AIDebugWidgets {
57 WID_AID_VIEW, ///< The row of company buttons.
58 WID_AID_NAME_TEXT, ///< Name of the current selected.
59 WID_AID_SETTINGS, ///< Settings button.
60 WID_AID_SCRIPT_GAME, ///< Game Script button.
61 WID_AID_RELOAD_TOGGLE, ///< Reload button.
62 WID_AID_LOG_PANEL, ///< Panel where the log is in.
63 WID_AID_SCROLLBAR, ///< Scrollbar of the log panel.
64 WID_AID_COMPANY_BUTTON_START, ///< Buttons in the VIEW.
65 WID_AID_COMPANY_BUTTON_END = WID_AID_COMPANY_BUTTON_START + MAX_COMPANIES - 1, ///< Last possible button in the VIEW.
66 WID_AID_BREAK_STRING_WIDGETS, ///< The panel to handle the breaking on string.
67 WID_AID_BREAK_STR_ON_OFF_BTN, ///< Enable breaking on string.
68 WID_AID_BREAK_STR_EDIT_BOX, ///< Edit box for the string to break on.
69 WID_AID_MATCH_CASE_BTN, ///< Checkbox to use match caching or not.
70 WID_AID_CONTINUE_BTN, ///< Continue button.
73 #endif /* WIDGETS_AI_WIDGET_H */