# newgrf_widget.h

Go to the documentation of this file.

    00001 /* $Id$ */
    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_NEWGRF_WIDGET_H
    00013 #define WIDGETS_NEWGRF_WIDGET_H
    00014
    00015 #include "../newgrf_config.h"
    00016 #include "../textfile_type.h"
    00017
    00019 enum NewGRFParametersWidgets {
    00020   WID_NP_SHOW_NUMPAR,
    00021   WID_NP_NUMPAR_DEC,
    00022   WID_NP_NUMPAR_INC,
    00023   WID_NP_NUMPAR,
    00024   WID_NP_NUMPAR_TEXT,
    00025   WID_NP_BACKGROUND,
    00026   WID_NP_SCROLLBAR,
    00027   WID_NP_ACCEPT,
    00028   WID_NP_RESET,
    00029   WID_NP_SHOW_DESCRIPTION,
    00030   WID_NP_DESCRIPTION,
    00031 };
    00032
    00034 enum NewGRFStateWidgets {
    00035   WID_NS_PRESET_LIST,
    00036   WID_NS_PRESET_SAVE,
    00037   WID_NS_PRESET_DELETE,
    00038   WID_NS_ADD,
    00039   WID_NS_REMOVE,
    00040   WID_NS_MOVE_UP,
    00041   WID_NS_MOVE_DOWN,
    00042   WID_NS_FILTER,
    00043   WID_NS_FILE_LIST,
    00044   WID_NS_SCROLLBAR,
    00045   WID_NS_AVAIL_LIST,
    00046   WID_NS_SCROLL2BAR,
    00047   WID_NS_NEWGRF_INFO_TITLE,
    00048   WID_NS_NEWGRF_INFO,
    00049   WID_NS_OPEN_URL,
    00050   WID_NS_NEWGRF_TEXTFILE,
    00051   WID_NS_SET_PARAMETERS = WID_NS_NEWGRF_TEXTFILE + TFT_END,
    00052   WID_NS_VIEW_PARAMETERS,
    00053   WID_NS_TOGGLE_PALETTE,
    00054   WID_NS_APPLY_CHANGES,
    00055   WID_NS_RESCAN_FILES,
    00056   WID_NS_RESCAN_FILES2,
    00057   WID_NS_CONTENT_DOWNLOAD,
    00058   WID_NS_CONTENT_DOWNLOAD2,
    00059   WID_NS_SHOW_REMOVE,
    00060   WID_NS_SHOW_APPLY,
    00061 };
    00062
    00064 enum ScanProgressWidgets {
    00065   WID_SP_PROGRESS_BAR,
    00066   WID_SP_PROGRESS_TEXT,
    00067 };
    00068
    00069 #endif /* WIDGETS_NEWGRF_WIDGET_H */