src/settings_gui.cpp
branchnoai
changeset 9694 e72987579514
parent 9631 8a2d1c2ceb88
child 9701 d1ac22c62f64
equal deleted inserted replaced
9693:31fcaa5375a1 9694:e72987579514
   335 
   335 
   336 {   WIDGETS_END},
   336 {   WIDGETS_END},
   337 };
   337 };
   338 
   338 
   339 static const WindowDesc _game_options_desc = {
   339 static const WindowDesc _game_options_desc = {
   340 	WDP_CENTER, WDP_CENTER, 370, 239,
   340 	WDP_CENTER, WDP_CENTER, 370, 239, 370, 239,
   341 	WC_GAME_OPTIONS, WC_NONE,
   341 	WC_GAME_OPTIONS, WC_NONE,
   342 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   342 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   343 	_game_options_widgets,
   343 	_game_options_widgets,
   344 	GameOptionsWndProc
   344 	GameOptionsWndProc
   345 };
   345 };
   611 { WWT_PUSHTXTBTN,   RESIZE_NONE,     3,   186,   266,   265,   276, STR_012E_CANCEL,              STR_NULL},
   611 { WWT_PUSHTXTBTN,   RESIZE_NONE,     3,   186,   266,   265,   276, STR_012E_CANCEL,              STR_NULL},
   612 {   WIDGETS_END},
   612 {   WIDGETS_END},
   613 };
   613 };
   614 
   614 
   615 static const WindowDesc _game_difficulty_desc = {
   615 static const WindowDesc _game_difficulty_desc = {
   616 	WDP_CENTER, WDP_CENTER, 370, 279,
   616 	WDP_CENTER, WDP_CENTER, 370, 279, 370, 279,
   617 	WC_GAME_OPTIONS, WC_NONE,
   617 	WC_GAME_OPTIONS, WC_NONE,
   618 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   618 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   619 	_game_difficulty_widgets,
   619 	_game_difficulty_widgets,
   620 	GameDifficultyWndProc
   620 	GameDifficultyWndProc
   621 };
   621 };
   991 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    97,   183,    28,    39, STR_CONFIG_PATCHES_AI,           STR_NULL},
   991 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    97,   183,    28,    39, STR_CONFIG_PATCHES_AI,           STR_NULL},
   992 {   WIDGETS_END},
   992 {   WIDGETS_END},
   993 };
   993 };
   994 
   994 
   995 static const WindowDesc _patches_selection_desc = {
   995 static const WindowDesc _patches_selection_desc = {
   996 	WDP_CENTER, WDP_CENTER, 370, 381,
   996 	WDP_CENTER, WDP_CENTER, 370, 381, 370, 381,
   997 	WC_GAME_OPTIONS, WC_NONE,
   997 	WC_GAME_OPTIONS, WC_NONE,
   998 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   998 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   999 	_patches_selection_widgets,
   999 	_patches_selection_widgets,
  1000 	PatchesSelectionWndProc,
  1000 	PatchesSelectionWndProc,
  1001 };
  1001 };
  1211 {      WWT_PANEL,   RESIZE_NONE,    14,     0,   229,    14,   119, 0x0,                 STR_NULL},
  1211 {      WWT_PANEL,   RESIZE_NONE,    14,     0,   229,    14,   119, 0x0,                 STR_NULL},
  1212 {   WIDGETS_END},
  1212 {   WIDGETS_END},
  1213 };
  1213 };
  1214 
  1214 
  1215 static const WindowDesc _cust_currency_desc = {
  1215 static const WindowDesc _cust_currency_desc = {
  1216 	WDP_CENTER, WDP_CENTER, 230, 120,
  1216 	WDP_CENTER, WDP_CENTER, 230, 120, 230, 120,
  1217 	WC_CUSTOM_CURRENCY, WC_NONE,
  1217 	WC_CUSTOM_CURRENCY, WC_NONE,
  1218 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
  1218 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
  1219 	_cust_currency_widgets,
  1219 	_cust_currency_widgets,
  1220 	CustCurrencyWndProc,
  1220 	CustCurrencyWndProc,
  1221 };
  1221 };