# toolbar_widget.h

Go to the documentation of this file.

    00001 /* $Id: toolbar_widget.h 23853 2012-01-25 22:10:14Z rubidium $ */
    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_TOOLBAR_WIDGET_H
    00013 #define WIDGETS_TOOLBAR_WIDGET_H
    00014
    00016 enum ToolbarNormalWidgets {
    00017   WID_TN_PAUSE,
    00018   WID_TN_FAST_FORWARD,
    00019   WID_TN_SETTINGS,
    00020   WID_TN_SAVE,
    00021   WID_TN_SMALL_MAP,
    00022   WID_TN_TOWNS,
    00023   WID_TN_SUBSIDIES,
    00024   WID_TN_STATIONS,
    00025   WID_TN_FINANCES,
    00026   WID_TN_COMPANIES,
    00027   WID_TN_GRAPHS,
    00028   WID_TN_LEAGUE,
    00029   WID_TN_INDUSTRIES,
    00030   WID_TN_VEHICLE_START,
    00031   WID_TN_TRAINS        = WID_TN_VEHICLE_START,
    00032   WID_TN_ROADVEHS,
    00033   WID_TN_SHIPS,
    00034   WID_TN_AIRCRAFTS,
    00035   WID_TN_ZOOM_IN,
    00036   WID_TN_ZOOM_OUT,
    00037   WID_TN_RAILS,
    00038   WID_TN_ROADS,
    00039   WID_TN_WATER,
    00040   WID_TN_AIR,
    00041   WID_TN_LANDSCAPE,
    00042   WID_TN_MUSIC_SOUND,
    00043   WID_TN_MESSAGES,
    00044   WID_TN_HELP,
    00045   WID_TN_SWITCH_BAR,
    00046   WID_TN_END,
    00047 };
    00048
    00050 enum ToolbarEditorWidgets {
    00051   WID_TE_PAUSE,
    00052   WID_TE_FAST_FORWARD,
    00053   WID_TE_SETTINGS,
    00054   WID_TE_SAVE,
    00055   WID_TE_SPACER,
    00056   WID_TE_DATE,
    00057   WID_TE_DATE_BACKWARD,
    00058   WID_TE_DATE_FORWARD,
    00059   WID_TE_SMALL_MAP,
    00060   WID_TE_ZOOM_IN,
    00061   WID_TE_ZOOM_OUT,
    00062   WID_TE_LAND_GENERATE,
    00063   WID_TE_TOWN_GENERATE,
    00064   WID_TE_INDUSTRY,
    00065   WID_TE_ROADS,
    00066   WID_TE_WATER,
    00067   WID_TE_TREES,
    00068   WID_TE_SIGNS,
    00069   WID_TE_DATE_PANEL,
    00070   /* The following three need to have the same actual widget number as the normal toolbar due to shared code. */
    00071   WID_TE_MUSIC_SOUND = WID_TN_MUSIC_SOUND,
    00072   WID_TE_HELP        = WID_TN_HELP,
    00073   WID_TE_SWITCH_BAR  = WID_TN_SWITCH_BAR,
    00074 };
    00075
    00076 #endif /* WIDGETS_TOOLBAR_WIDGET_H */