# ai_widget.h

Go to the documentation of this file.

    00001 /* $Id: ai_widget.h 24900 2013-01-08 22:46:42Z planetmaker $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * 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.
    00006  * 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.
    00007  * 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/>.
    00008  */
    00009
    00012 #ifndef WIDGETS_AI_WIDGET_H
    00013 #define WIDGETS_AI_WIDGET_H
    00014
    00015 #include "../company_type.h"
    00016 #include "../textfile_type.h"
    00017
    00019 enum AIListWidgets {
    00020   WID_AIL_CAPTION,
    00021   WID_AIL_LIST,
    00022   WID_AIL_SCROLLBAR,
    00023   WID_AIL_INFO_BG,
    00024   WID_AIL_ACCEPT,
    00025   WID_AIL_CANCEL,
    00026 };
    00027
    00029 enum AISettingsWidgets {
    00030   WID_AIS_CAPTION,
    00031   WID_AIS_BACKGROUND,
    00032   WID_AIS_SCROLLBAR,
    00033   WID_AIS_ACCEPT,
    00034   WID_AIS_RESET,
    00035 };
    00036
    00038 enum AIConfigWidgets {
    00039   WID_AIC_BACKGROUND,
    00040   WID_AIC_DECREASE,
    00041   WID_AIC_INCREASE,
    00042   WID_AIC_NUMBER,
    00043   WID_AIC_GAMELIST,
    00044   WID_AIC_LIST,
    00045   WID_AIC_SCROLLBAR,
    00046   WID_AIC_MOVE_UP,
    00047   WID_AIC_MOVE_DOWN,
    00048   WID_AIC_CHANGE,
    00049   WID_AIC_CONFIGURE,
    00050   WID_AIC_CLOSE,
    00051   WID_AIC_TEXTFILE,
    00052   WID_AIC_CONTENT_DOWNLOAD = WID_AIC_TEXTFILE + TFT_END,
    00053 };
    00054
    00056 enum AIDebugWidgets {
    00057   WID_AID_VIEW,
    00058   WID_AID_NAME_TEXT,
    00059   WID_AID_SETTINGS,
    00060   WID_AID_SCRIPT_GAME,
    00061   WID_AID_RELOAD_TOGGLE,
    00062   WID_AID_LOG_PANEL,
    00063   WID_AID_SCROLLBAR,
    00064   WID_AID_COMPANY_BUTTON_START,
    00065   WID_AID_COMPANY_BUTTON_END = WID_AID_COMPANY_BUTTON_START + MAX_COMPANIES - 1,
    00066   WID_AID_BREAK_STRING_WIDGETS,
    00067   WID_AID_BREAK_STR_ON_OFF_BTN,
    00068   WID_AID_BREAK_STR_EDIT_BOX,
    00069   WID_AID_MATCH_CASE_BTN,
    00070   WID_AID_CONTINUE_BTN,
    00071 };
    00072
    00073 #endif /* WIDGETS_AI_WIDGET_H */