# window_type.h

Go to the documentation of this file.

    00001 /* $Id: window_type.h 18809 2010-01-15 16:41:15Z 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 WINDOW_TYPE_H
    00013 #define WINDOW_TYPE_H
    00014
    00015
    00019 enum WindowClass {
    00020   WC_NONE,
    00021   WC_MAIN_WINDOW = WC_NONE,
    00022   WC_MAIN_TOOLBAR,
    00023   WC_STATUS_BAR,
    00024   WC_BUILD_TOOLBAR,
    00025   WC_NEWS_WINDOW,
    00026   WC_TOWN_DIRECTORY,
    00027   WC_STATION_LIST,
    00028   WC_TOWN_VIEW,
    00029   WC_FOUND_TOWN,
    00030   WC_SMALLMAP,
    00031   WC_TRAINS_LIST,
    00032   WC_ROADVEH_LIST,
    00033   WC_SHIPS_LIST,
    00034   WC_AIRCRAFT_LIST,
    00035   WC_VEHICLE_VIEW,
    00036   WC_VEHICLE_DETAILS,
    00037   WC_VEHICLE_REFIT,
    00038   WC_VEHICLE_ORDERS,
    00039   WC_STATION_VIEW,
    00040   WC_VEHICLE_DEPOT,
    00041   WC_BUILD_VEHICLE,
    00042   WC_BUILD_BRIDGE,
    00043   WC_ERRMSG,
    00044   WC_BUILD_STATION,
    00045   WC_BUS_STATION,
    00046   WC_TRUCK_STATION,
    00047   WC_BUILD_DEPOT,
    00048   WC_COMPANY,
    00049   WC_FINANCES,
    00050   WC_COMPANY_COLOUR,
    00051   WC_QUERY_STRING,
    00052   WC_SAVELOAD,
    00053   WC_SELECT_GAME,
    00054   WC_TOOLBAR_MENU,
    00055   WC_INCOME_GRAPH,
    00056   WC_OPERATING_PROFIT,
    00057   WC_TOOLTIPS,
    00058   WC_INDUSTRY_VIEW,
    00059   WC_COMPANY_MANAGER_FACE,
    00060   WC_LAND_INFO,
    00061   WC_TOWN_AUTHORITY,
    00062   WC_SUBSIDIES_LIST,
    00063   WC_GRAPH_LEGEND,
    00064   WC_DELIVERED_CARGO,
    00065   WC_PERFORMANCE_HISTORY,
    00066   WC_COMPANY_VALUE,
    00067   WC_COMPANY_LEAGUE,
    00068   WC_BUY_COMPANY,
    00069   WC_PAYMENT_RATES,
    00070   WC_ENGINE_PREVIEW,
    00071   WC_MUSIC_WINDOW,
    00072   WC_MUSIC_TRACK_SELECTION,
    00073   WC_SCEN_LAND_GEN,
    00074   WC_SCEN_INDUSTRY,
    00075   WC_SCEN_BUILD_TOOLBAR,
    00076   WC_BUILD_TREES,
    00077   WC_SEND_NETWORK_MSG,
    00078   WC_DROPDOWN_MENU,
    00079   WC_BUILD_INDUSTRY,
    00080   WC_GAME_OPTIONS,
    00081   WC_NETWORK_WINDOW,
    00082   WC_INDUSTRY_DIRECTORY,
    00083   WC_MESSAGE_HISTORY,
    00084   WC_CHEATS,
    00085   WC_PERFORMANCE_DETAIL,
    00086   WC_CONSOLE,
    00087   WC_EXTRA_VIEW_PORT,
    00088   WC_CLIENT_LIST,
    00089   WC_NETWORK_STATUS_WINDOW,
    00090   WC_CUSTOM_CURRENCY,
    00091   WC_REPLACE_VEHICLE,
    00092   WC_HIGHSCORE,
    00093   WC_ENDSCREEN,
    00094   WC_SIGN_LIST,
    00095   WC_GENERATE_LANDSCAPE,
    00096   WC_GENERATE_PROGRESS_WINDOW,
    00097   WC_CONFIRM_POPUP_QUERY,
    00098   WC_TRANSPARENCY_TOOLBAR,
    00099   WC_VEHICLE_TIMETABLE,
    00100   WC_BUILD_SIGNAL,
    00101   WC_COMPANY_PASSWORD_WINDOW,
    00102   WC_OSK,
    00103   WC_WAYPOINT_VIEW,
    00104   WC_SELECT_STATION,
    00105   WC_SET_DATE,
    00106   WC_AI_DEBUG,
    00107   WC_AI_LIST,
    00108   WC_AI_SETTINGS,
    00109
    00110   WC_INVALID = 0xFFFF
    00111 };
    00112
    00113 struct Window;
    00114
    00116 typedef int32 WindowNumber;
    00117
    00118 #endif /* WINDOW_TYPE_H */