# town_widget.h

Go to the documentation of this file.

    00001 /* $Id: town_widget.h 25094 2013-03-17 15:41:40Z alberth $ */
    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_TOWN_WIDGET_H
    00013 #define WIDGETS_TOWN_WIDGET_H
    00014
    00016 enum TownDirectoryWidgets {
    00017   WID_TD_SORT_ORDER,
    00018   WID_TD_SORT_CRITERIA,
    00019   WID_TD_LIST,
    00020   WID_TD_SCROLLBAR,
    00021   WID_TD_WORLD_POPULATION,
    00022 };
    00023
    00025 enum TownAuthorityWidgets {
    00026   WID_TA_CAPTION,
    00027   WID_TA_RATING_INFO,
    00028   WID_TA_COMMAND_LIST,
    00029   WID_TA_SCROLLBAR,
    00030   WID_TA_ACTION_INFO,
    00031   WID_TA_EXECUTE,
    00032 };
    00033
    00035 enum TownViewWidgets {
    00036   WID_TV_CAPTION,
    00037   WID_TV_VIEWPORT,
    00038   WID_TV_INFO,
    00039   WID_TV_CENTER_VIEW,
    00040   WID_TV_SHOW_AUTHORITY,
    00041   WID_TV_CHANGE_NAME,
    00042   WID_TV_EXPAND,
    00043   WID_TV_DELETE,
    00044 };
    00045
    00047 enum TownFoundingWidgets {
    00048   WID_TF_NEW_TOWN,
    00049   WID_TF_RANDOM_TOWN,
    00050   WID_TF_MANY_RANDOM_TOWNS,
    00051   WID_TF_TOWN_NAME_EDITBOX,
    00052   WID_TF_TOWN_NAME_RANDOM,
    00053   WID_TF_SIZE_SMALL,
    00054   WID_TF_SIZE_MEDIUM,
    00055   WID_TF_SIZE_LARGE,
    00056   WID_TF_SIZE_RANDOM,
    00057   WID_TF_CITY,
    00058   WID_TF_LAYOUT_ORIGINAL,
    00059   WID_TF_LAYOUT_BETTER,
    00060   WID_TF_LAYOUT_GRID2,
    00061   WID_TF_LAYOUT_GRID3,
    00062   WID_TF_LAYOUT_RANDOM,
    00063 };
    00064
    00065 #endif /* WIDGETS_TOWN_WIDGET_H */