# network_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_NETWORK_WIDGET_H
    00013 #define WIDGETS_NETWORK_WIDGET_H
    00014
    00016 enum NetworkGameWidgets {
    00017   WID_NG_MAIN,
    00018
    00019   WID_NG_CONNECTION,
    00020   WID_NG_CONN_BTN,
    00021   WID_NG_CLIENT_LABEL,
    00022   WID_NG_CLIENT,
    00023   WID_NG_FILTER_LABEL,
    00024   WID_NG_FILTER,
    00025
    00026   WID_NG_HEADER,
    00027   WID_NG_NAME,
    00028   WID_NG_CLIENTS,
    00029   WID_NG_MAPSIZE,
    00030   WID_NG_DATE,
    00031   WID_NG_YEARS,
    00032   WID_NG_INFO,
    00033
    00034   WID_NG_MATRIX,
    00035   WID_NG_SCROLLBAR,
    00036
    00037   WID_NG_LASTJOINED_LABEL,
    00038   WID_NG_LASTJOINED,
    00039   WID_NG_LASTJOINED_SPACER,
    00040
    00041   WID_NG_DETAILS,
    00042   WID_NG_DETAILS_SPACER,
    00043   WID_NG_JOIN,
    00044   WID_NG_REFRESH,
    00045   WID_NG_NEWGRF,
    00046   WID_NG_NEWGRF_SEL,
    00047   WID_NG_NEWGRF_MISSING,
    00048   WID_NG_NEWGRF_MISSING_SEL,
    00049
    00050   WID_NG_FIND,
    00051   WID_NG_ADD,
    00052   WID_NG_START,
    00053   WID_NG_CANCEL,
    00054 };
    00055
    00057 enum NetworkStartServerWidgets {
    00058   WID_NSS_BACKGROUND,
    00059   WID_NSS_GAMENAME_LABEL,
    00060   WID_NSS_GAMENAME,
    00061   WID_NSS_SETPWD,
    00062   WID_NSS_CONNTYPE_LABEL,
    00063   WID_NSS_CONNTYPE_BTN,
    00064   WID_NSS_CLIENTS_LABEL,
    00065   WID_NSS_CLIENTS_BTND,
    00066   WID_NSS_CLIENTS_TXT,
    00067   WID_NSS_CLIENTS_BTNU,
    00068   WID_NSS_COMPANIES_LABEL,
    00069   WID_NSS_COMPANIES_BTND,
    00070   WID_NSS_COMPANIES_TXT,
    00071   WID_NSS_COMPANIES_BTNU,
    00072   WID_NSS_SPECTATORS_LABEL,
    00073   WID_NSS_SPECTATORS_BTND,
    00074   WID_NSS_SPECTATORS_TXT,
    00075   WID_NSS_SPECTATORS_BTNU,
    00076
    00077   WID_NSS_LANGUAGE_LABEL,
    00078   WID_NSS_LANGUAGE_BTN,
    00079
    00080   WID_NSS_GENERATE_GAME,
    00081   WID_NSS_LOAD_GAME,
    00082   WID_NSS_PLAY_SCENARIO,
    00083   WID_NSS_PLAY_HEIGHTMAP,
    00084
    00085   WID_NSS_CANCEL,
    00086 };
    00087
    00089 enum NetworkLobbyWidgets {
    00090   WID_NL_BACKGROUND,
    00091   WID_NL_TEXT,
    00092   WID_NL_HEADER,
    00093   WID_NL_MATRIX,
    00094   WID_NL_SCROLLBAR,
    00095   WID_NL_DETAILS,
    00096   WID_NL_JOIN,
    00097   WID_NL_NEW,
    00098   WID_NL_SPECTATE,
    00099   WID_NL_REFRESH,
    00100   WID_NL_CANCEL,
    00101 };
    00102
    00104 enum ClientListWidgets {
    00105   WID_CL_PANEL,
    00106 };
    00107
    00109 enum ClientListPopupWidgets {
    00110   WID_CLP_PANEL,
    00111 };
    00112
    00114 enum NetworkJoinStatusWidgets {
    00115   WID_NJS_BACKGROUND,
    00116   WID_NJS_CANCELOK,
    00117 };
    00118
    00120 enum NetworkCompanyPasswordWidgets {
    00121   WID_NCP_BACKGROUND,
    00122   WID_NCP_LABEL,
    00123   WID_NCP_PASSWORD,
    00124   WID_NCP_SAVE_AS_DEFAULT_PASSWORD,
    00125   WID_NCP_CANCEL,
    00126   WID_NCP_OK,
    00127 };
    00128
    00129 #endif /* WIDGETS_NETWORK_WIDGET_H */