OpenTTD: src/widgets/company_widget.h Source File

OpenTTD

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

- File List
- Globals

company_widget.h
Go to the documentation of this file.
1 /* $Id: company_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */
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_COMPANY_WIDGET_H
13 #define WIDGETS_COMPANY_WIDGET_H
14
16 enum CompanyWidgets {
17 WID_C_CAPTION,
18
19 WID_C_FACE,
20 WID_C_FACE_TITLE,
21
22 WID_C_DESC_INAUGURATION,
23 WID_C_DESC_COLOUR_SCHEME,
24 WID_C_DESC_COLOUR_SCHEME_EXAMPLE,
25 WID_C_DESC_VEHICLE,
26 WID_C_DESC_VEHICLE_COUNTS,
27 WID_C_DESC_COMPANY_VALUE,
28 WID_C_DESC_INFRASTRUCTURE,
29 WID_C_DESC_INFRASTRUCTURE_COUNTS,
30
31 WID_C_SELECT_DESC_OWNERS,
32 WID_C_DESC_OWNERS,
33
34 WID_C_SELECT_BUTTONS,
35 WID_C_NEW_FACE,
36 WID_C_COLOUR_SCHEME,
37 WID_C_PRESIDENT_NAME,
38 WID_C_COMPANY_NAME,
39 WID_C_BUY_SHARE,
40 WID_C_SELL_SHARE,
41
42 WID_C_SELECT_VIEW_BUILD_HQ,
43 WID_C_VIEW_HQ,
44 WID_C_BUILD_HQ,
45
46 WID_C_SELECT_RELOCATE,
47 WID_C_RELOCATE_HQ,
48
49 WID_C_VIEW_INFRASTRUCTURE,
50
51 WID_C_HAS_PASSWORD,
52 WID_C_SELECT_MULTIPLAYER,
53 WID_C_COMPANY_PASSWORD,
54 WID_C_COMPANY_JOIN,
55 };
56
58 enum CompanyFinancesWidgets {
59 WID_CF_CAPTION,
60 WID_CF_TOGGLE_SIZE,
61 WID_CF_SEL_PANEL,
62 WID_CF_EXPS_CATEGORY,
63 WID_CF_EXPS_PRICE1,
64 WID_CF_EXPS_PRICE2,
65 WID_CF_EXPS_PRICE3,
66 WID_CF_TOTAL_PANEL,
67 WID_CF_SEL_MAXLOAN,
68 WID_CF_BALANCE_VALUE,
69 WID_CF_LOAN_VALUE,
70 WID_CF_LOAN_LINE,
71 WID_CF_TOTAL_VALUE,
72 WID_CF_MAXLOAN_GAP,
73 WID_CF_MAXLOAN_VALUE,
74 WID_CF_SEL_BUTTONS,
75 WID_CF_INCREASE_LOAN,
76 WID_CF_REPAY_LOAN,
77 WID_CF_INFRASTRUCTURE,
78 };
79
80
82 enum SelectCompanyLiveryWidgets {
83 WID_SCL_CAPTION,
84 WID_SCL_CLASS_GENERAL,
85 WID_SCL_CLASS_RAIL,
86 WID_SCL_CLASS_ROAD,
87 WID_SCL_CLASS_SHIP,
88 WID_SCL_CLASS_AIRCRAFT,
89 WID_SCL_SPACER_DROPDOWN,
90 WID_SCL_PRI_COL_DROPDOWN,
91 WID_SCL_SEC_COL_DROPDOWN,
92 WID_SCL_MATRIX,
93 };
94
95
101 enum SelectCompanyManagerFaceWidgets {
102 WID_SCMF_CAPTION,
103 WID_SCMF_TOGGLE_LARGE_SMALL,
104 WID_SCMF_SELECT_FACE,
105 WID_SCMF_CANCEL,
106 WID_SCMF_ACCEPT,
107 WID_SCMF_MALE,
108 WID_SCMF_FEMALE,
109 WID_SCMF_MALE2,
110 WID_SCMF_FEMALE2,
111 WID_SCMF_SEL_LOADSAVE,
112 WID_SCMF_SEL_MALEFEMALE,
113 WID_SCMF_SEL_PARTS,
114 WID_SCMF_RANDOM_NEW_FACE,
115 WID_SCMF_TOGGLE_LARGE_SMALL_BUTTON,
116 WID_SCMF_FACE,
117 WID_SCMF_LOAD,
118 WID_SCMF_FACECODE,
119 WID_SCMF_SAVE,
120 WID_SCMF_HAS_MOUSTACHE_EARRING_TEXT,
121 WID_SCMF_TIE_EARRING_TEXT,
122 WID_SCMF_LIPS_MOUSTACHE_TEXT,
123 WID_SCMF_HAS_GLASSES_TEXT,
124 WID_SCMF_HAIR_TEXT,
125 WID_SCMF_EYEBROWS_TEXT,
126 WID_SCMF_EYECOLOUR_TEXT,
127 WID_SCMF_GLASSES_TEXT,
128 WID_SCMF_NOSE_TEXT,
129 WID_SCMF_CHIN_TEXT,
130 WID_SCMF_JACKET_TEXT,
131 WID_SCMF_COLLAR_TEXT,
132 WID_SCMF_ETHNICITY_EUR,
133 WID_SCMF_ETHNICITY_AFR,
134 WID_SCMF_HAS_MOUSTACHE_EARRING,
135 WID_SCMF_HAS_GLASSES,
136 WID_SCMF_EYECOLOUR_L,
137 WID_SCMF_EYECOLOUR,
138 WID_SCMF_EYECOLOUR_R,
139 WID_SCMF_CHIN_L,
140 WID_SCMF_CHIN,
141 WID_SCMF_CHIN_R,
142 WID_SCMF_EYEBROWS_L,
143 WID_SCMF_EYEBROWS,
144 WID_SCMF_EYEBROWS_R,
145 WID_SCMF_LIPS_MOUSTACHE_L,
146 WID_SCMF_LIPS_MOUSTACHE,
147 WID_SCMF_LIPS_MOUSTACHE_R,
148 WID_SCMF_NOSE_L,
149 WID_SCMF_NOSE,
150 WID_SCMF_NOSE_R,
151 WID_SCMF_HAIR_L,
152 WID_SCMF_HAIR,
153 WID_SCMF_HAIR_R,
154 WID_SCMF_JACKET_L,
155 WID_SCMF_JACKET,
156 WID_SCMF_JACKET_R,
157 WID_SCMF_COLLAR_L,
158 WID_SCMF_COLLAR,
159 WID_SCMF_COLLAR_R,
160 WID_SCMF_TIE_EARRING_L,
161 WID_SCMF_TIE_EARRING,
162 WID_SCMF_TIE_EARRING_R,
163 WID_SCMF_GLASSES_L,
164 WID_SCMF_GLASSES,
165 WID_SCMF_GLASSES_R,
166 };
167
169 enum CompanyInfrastructureWidgets {
170 WID_CI_CAPTION,
171 WID_CI_RAIL_DESC,
172 WID_CI_RAIL_COUNT,
173 WID_CI_ROAD_DESC,
174 WID_CI_ROAD_COUNT,
175 WID_CI_WATER_DESC,
176 WID_CI_WATER_COUNT,
177 WID_CI_STATION_DESC,
178 WID_CI_STATION_COUNT,
179 WID_CI_TOTAL_DESC,
180 WID_CI_TOTAL,
181 };
182
184 enum BuyCompanyWidgets {
185 WID_BC_CAPTION,
186 WID_BC_FACE,
187 WID_BC_QUESTION,
188 WID_BC_NO,
189 WID_BC_YES,
190 };
191
192 #endif /* WIDGETS_COMPANY_WIDGET_H */