src/news_gui.cpp
branchNewGRF_ports
changeset 6743 cabfaa4a0295
parent 6725 23339968083f
child 6870 ca3fd1fbe311
equal deleted inserted replaced
6742:1337d6c9b97b 6743:cabfaa4a0295
   318 {      WWT_PANEL,   RESIZE_NONE,    15,     0,    10,     0,    11, 0x0, STR_NULL},
   318 {      WWT_PANEL,   RESIZE_NONE,    15,     0,    10,     0,    11, 0x0, STR_NULL},
   319 {   WIDGETS_END},
   319 {   WIDGETS_END},
   320 };
   320 };
   321 
   321 
   322 static WindowDesc _news_type13_desc = {
   322 static WindowDesc _news_type13_desc = {
   323 	WDP_CENTER, 476, 430, 170,
   323 	WDP_CENTER, 476, 430, 170, 430, 170,
   324 	WC_NEWS_WINDOW, WC_NONE,
   324 	WC_NEWS_WINDOW, WC_NONE,
   325 	WDF_DEF_WIDGET,
   325 	WDF_DEF_WIDGET,
   326 	_news_type13_widgets,
   326 	_news_type13_widgets,
   327 	NewsWindowProc
   327 	NewsWindowProc
   328 };
   328 };
   332 {      WWT_PANEL,   RESIZE_NONE,    15,     0,    10,     0,    11, 0x0, STR_NULL},
   332 {      WWT_PANEL,   RESIZE_NONE,    15,     0,    10,     0,    11, 0x0, STR_NULL},
   333 {   WIDGETS_END},
   333 {   WIDGETS_END},
   334 };
   334 };
   335 
   335 
   336 static WindowDesc _news_type2_desc = {
   336 static WindowDesc _news_type2_desc = {
   337 	WDP_CENTER, 476, 430, 130,
   337 	WDP_CENTER, 476, 430, 130, 430, 130,
   338 	WC_NEWS_WINDOW, WC_NONE,
   338 	WC_NEWS_WINDOW, WC_NONE,
   339 	WDF_DEF_WIDGET,
   339 	WDF_DEF_WIDGET,
   340 	_news_type2_widgets,
   340 	_news_type2_widgets,
   341 	NewsWindowProc
   341 	NewsWindowProc
   342 };
   342 };
   348 {      WWT_INSET,   RESIZE_NONE,     5,     2,   277,    16,    64, 0x0,              STR_NULL},
   348 {      WWT_INSET,   RESIZE_NONE,     5,     2,   277,    16,    64, 0x0,              STR_NULL},
   349 {   WIDGETS_END},
   349 {   WIDGETS_END},
   350 };
   350 };
   351 
   351 
   352 static WindowDesc _news_type0_desc = {
   352 static WindowDesc _news_type0_desc = {
   353 	WDP_CENTER, 476, 280, 87,
   353 	WDP_CENTER, 476, 280, 87, 280, 87,
   354 	WC_NEWS_WINDOW, WC_NONE,
   354 	WC_NEWS_WINDOW, WC_NONE,
   355 	WDF_DEF_WIDGET,
   355 	WDF_DEF_WIDGET,
   356 	_news_type0_widgets,
   356 	_news_type0_widgets,
   357 	NewsWindowProc
   357 	NewsWindowProc
   358 };
   358 };
   698 {  WWT_RESIZEBOX,   RESIZE_LRTB,    13,   388,   399,   128,   139, 0x0,                 STR_RESIZE_BUTTON},
   698 {  WWT_RESIZEBOX,   RESIZE_LRTB,    13,   388,   399,   128,   139, 0x0,                 STR_RESIZE_BUTTON},
   699 {   WIDGETS_END},
   699 {   WIDGETS_END},
   700 };
   700 };
   701 
   701 
   702 static const WindowDesc _message_history_desc = {
   702 static const WindowDesc _message_history_desc = {
   703 	240, 22, 400, 140,
   703 	240, 22, 400, 140, 400, 140,
   704 	WC_MESSAGE_HISTORY, WC_NONE,
   704 	WC_MESSAGE_HISTORY, WC_NONE,
   705 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   705 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   706 	_message_history_widgets,
   706 	_message_history_widgets,
   707 	MessageHistoryWndProc
   707 	MessageHistoryWndProc
   708 };
   708 };
   908 
   908 
   909 {   WIDGETS_END},
   909 {   WIDGETS_END},
   910 };
   910 };
   911 
   911 
   912 static const WindowDesc _message_options_desc = {
   912 static const WindowDesc _message_options_desc = {
   913 	270, 22, 410, 197,
   913 	270, 22, 410, 197, 410, 197,
   914 	WC_GAME_OPTIONS, WC_NONE,
   914 	WC_GAME_OPTIONS, WC_NONE,
   915 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   915 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
   916 	_message_options_widgets,
   916 	_message_options_widgets,
   917 	MessageOptionsWndProc
   917 	MessageOptionsWndProc
   918 };
   918 };