188 } |
188 } |
189 } |
189 } |
190 |
190 |
191 static const WindowDesc _player_finances_desc = { |
191 static const WindowDesc _player_finances_desc = { |
192 WDP_AUTO, WDP_AUTO, 407, 216, |
192 WDP_AUTO, WDP_AUTO, 407, 216, |
193 WC_FINANCES,0, |
193 WC_FINANCES, WC_NONE, |
194 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
194 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
195 _player_finances_widgets, |
195 _player_finances_widgets, |
196 PlayerFinancesWndProc |
196 PlayerFinancesWndProc |
197 }; |
197 }; |
198 |
198 |
199 static const WindowDesc _player_finances_small_desc = { |
199 static const WindowDesc _player_finances_small_desc = { |
200 WDP_AUTO, WDP_AUTO, 280, 60, |
200 WDP_AUTO, WDP_AUTO, 280, 60, |
201 WC_FINANCES,0, |
201 WC_FINANCES, WC_NONE, |
202 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
202 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
203 _player_finances_small_widgets, |
203 _player_finances_small_widgets, |
204 PlayerFinancesWndProc |
204 PlayerFinancesWndProc |
205 }; |
205 }; |
206 |
206 |
207 static const WindowDesc _other_player_finances_desc = { |
207 static const WindowDesc _other_player_finances_desc = { |
208 WDP_AUTO, WDP_AUTO, 407, 204, |
208 WDP_AUTO, WDP_AUTO, 407, 204, |
209 WC_FINANCES,0, |
209 WC_FINANCES, WC_NONE, |
210 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
210 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
211 _other_player_finances_widgets, |
211 _other_player_finances_widgets, |
212 PlayerFinancesWndProc |
212 PlayerFinancesWndProc |
213 }; |
213 }; |
214 |
214 |
215 static const WindowDesc _other_player_finances_small_desc = { |
215 static const WindowDesc _other_player_finances_small_desc = { |
216 WDP_AUTO, WDP_AUTO, 280, 48, |
216 WDP_AUTO, WDP_AUTO, 280, 48, |
217 WC_FINANCES,0, |
217 WC_FINANCES, WC_NONE, |
218 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
218 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
219 _other_player_finances_small_widgets, |
219 _other_player_finances_small_widgets, |
220 PlayerFinancesWndProc |
220 PlayerFinancesWndProc |
221 }; |
221 }; |
222 |
222 |
470 { WIDGETS_END }, |
470 { WIDGETS_END }, |
471 }; |
471 }; |
472 |
472 |
473 static const WindowDesc _select_player_livery_2cc_desc = { |
473 static const WindowDesc _select_player_livery_2cc_desc = { |
474 WDP_AUTO, WDP_AUTO, 400, 49 + 1 * 14, |
474 WDP_AUTO, WDP_AUTO, 400, 49 + 1 * 14, |
475 WC_PLAYER_COLOR, 0, |
475 WC_PLAYER_COLOR, WC_NONE, |
476 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
476 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
477 _select_player_livery_2cc_widgets, |
477 _select_player_livery_2cc_widgets, |
478 SelectPlayerLiveryWndProc |
478 SelectPlayerLiveryWndProc |
479 }; |
479 }; |
480 |
480 |
497 { WIDGETS_END }, |
497 { WIDGETS_END }, |
498 }; |
498 }; |
499 |
499 |
500 static const WindowDesc _select_player_livery_desc = { |
500 static const WindowDesc _select_player_livery_desc = { |
501 WDP_AUTO, WDP_AUTO, 275, 49 + 1 * 14, |
501 WDP_AUTO, WDP_AUTO, 275, 49 + 1 * 14, |
502 WC_PLAYER_COLOR, 0, |
502 WC_PLAYER_COLOR, WC_NONE, |
503 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
503 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
504 _select_player_livery_widgets, |
504 _select_player_livery_widgets, |
505 SelectPlayerLiveryWndProc |
505 SelectPlayerLiveryWndProc |
506 }; |
506 }; |
507 |
507 |
551 { WIDGETS_END}, |
551 { WIDGETS_END}, |
552 }; |
552 }; |
553 |
553 |
554 static const WindowDesc _select_player_face_desc = { |
554 static const WindowDesc _select_player_face_desc = { |
555 WDP_AUTO, WDP_AUTO, 190, 149, |
555 WDP_AUTO, WDP_AUTO, 190, 149, |
556 WC_PLAYER_FACE,0, |
556 WC_PLAYER_FACE, WC_NONE, |
557 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, |
557 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, |
558 _select_player_face_widgets, |
558 _select_player_face_widgets, |
559 SelectPlayerFaceWndProc |
559 SelectPlayerFaceWndProc |
560 }; |
560 }; |
561 |
561 |