OpenTTD: src/widgets/network_widget.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

network_widget.h
Go to the documentation of this file.
1 /* $Id: network_widget.h 24769 2012-11-27 21:35:52Z frosch $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
9
12 #ifndef WIDGETS_NETWORK_WIDGET_H
13 #define WIDGETS_NETWORK_WIDGET_H
14
16 enum NetworkGameWidgets {
17 WID_NG_MAIN,
18
19 WID_NG_CONNECTION,
20 WID_NG_CONN_BTN,
21 WID_NG_CLIENT_LABEL,
22 WID_NG_CLIENT,
23 WID_NG_FILTER_LABEL,
24 WID_NG_FILTER,
25
26 WID_NG_HEADER,
27 WID_NG_NAME,
28 WID_NG_CLIENTS,
29 WID_NG_MAPSIZE,
30 WID_NG_DATE,
31 WID_NG_YEARS,
32 WID_NG_INFO,
33
34 WID_NG_MATRIX,
35 WID_NG_SCROLLBAR,
36
37 WID_NG_LASTJOINED_LABEL,
38 WID_NG_LASTJOINED,
39 WID_NG_LASTJOINED_SPACER,
40
41 WID_NG_DETAILS,
42 WID_NG_DETAILS_SPACER,
43 WID_NG_JOIN,
44 WID_NG_REFRESH,
45 WID_NG_NEWGRF,
46 WID_NG_NEWGRF_SEL,
47 WID_NG_NEWGRF_MISSING,
48 WID_NG_NEWGRF_MISSING_SEL,
49
50 WID_NG_FIND,
51 WID_NG_ADD,
52 WID_NG_START,
53 WID_NG_CANCEL,
54 };
55
57 enum NetworkStartServerWidgets {
58 WID_NSS_BACKGROUND,
59 WID_NSS_GAMENAME_LABEL,
60 WID_NSS_GAMENAME,
61 WID_NSS_SETPWD,
62 WID_NSS_CONNTYPE_LABEL,
63 WID_NSS_CONNTYPE_BTN,
64 WID_NSS_CLIENTS_LABEL,
65 WID_NSS_CLIENTS_BTND,
66 WID_NSS_CLIENTS_TXT,
67 WID_NSS_CLIENTS_BTNU,
68 WID_NSS_COMPANIES_LABEL,
69 WID_NSS_COMPANIES_BTND,
70 WID_NSS_COMPANIES_TXT,
71 WID_NSS_COMPANIES_BTNU,
72 WID_NSS_SPECTATORS_LABEL,
73 WID_NSS_SPECTATORS_BTND,
74 WID_NSS_SPECTATORS_TXT,
75 WID_NSS_SPECTATORS_BTNU,
76
77 WID_NSS_LANGUAGE_LABEL,
78 WID_NSS_LANGUAGE_BTN,
79
80 WID_NSS_GENERATE_GAME,
81 WID_NSS_LOAD_GAME,
82 WID_NSS_PLAY_SCENARIO,
83 WID_NSS_PLAY_HEIGHTMAP,
84
85 WID_NSS_CANCEL,
86 };
87
89 enum NetworkLobbyWidgets {
90 WID_NL_BACKGROUND,
91 WID_NL_TEXT,
92 WID_NL_HEADER,
93 WID_NL_MATRIX,
94 WID_NL_SCROLLBAR,
95 WID_NL_DETAILS,
96 WID_NL_JOIN,
97 WID_NL_NEW,
98 WID_NL_SPECTATE,
99 WID_NL_REFRESH,
100 WID_NL_CANCEL,
101 };
102
104 enum ClientListWidgets {
105 WID_CL_PANEL,
106 };
107
109 enum ClientListPopupWidgets {
110 WID_CLP_PANEL,
111 };
112
114 enum NetworkJoinStatusWidgets {
115 WID_NJS_BACKGROUND,
116 WID_NJS_CANCELOK,
117 };
118
120 enum NetworkCompanyPasswordWidgets {
121 WID_NCP_BACKGROUND,
122 WID_NCP_LABEL,
123 WID_NCP_PASSWORD,
124 WID_NCP_SAVE_AS_DEFAULT_PASSWORD,
125 WID_NCP_CANCEL,
126 WID_NCP_OK,
127 };
128
129 #endif /* WIDGETS_NETWORK_WIDGET_H */