Changeset - r13775:be00b2212ddc
[Not reviewed]
master
0 6 0
rubidium - 15 years ago 2009-11-28 13:38:34
rubidium@openttd.org
(svn r18311) -Codechange: no need to hardcode locations of some 'random' windows
6 files changed with 8 insertions and 8 deletions:
0 comments (0 inline, 0 general)
src/cheat_gui.cpp
Show inline comments
 
@@ -316,7 +316,7 @@ struct CheatWindow : Window {
 
};
 

	
 
static const WindowDesc _cheats_desc(
 
	240, 22, 0, 0,
 
	WDP_AUTO, WDP_AUTO, 0, 0,
 
	WC_CHEATS, WC_NONE,
 
	WDF_UNCLICK_BUTTONS,
 
	_nested_cheat_widgets, lengthof(_nested_cheat_widgets)
src/company_gui.cpp
Show inline comments
 
@@ -2100,7 +2100,7 @@ static const NWidgetPart _nested_buy_com
 
};
 

	
 
static const WindowDesc _buy_company_desc(
 
	153, 171, 334, 137,
 
	WDP_AUTO, WDP_AUTO, 334, 137,
 
	WC_BUY_COMPANY, WC_NONE,
 
	WDF_CONSTRUCTION,
 
	_nested_buy_company_widgets, lengthof(_nested_buy_company_widgets)
src/misc_gui.cpp
Show inline comments
 
@@ -1428,7 +1428,7 @@ static const NWidgetPart _nested_query_s
 
};
 

	
 
static const WindowDesc _query_string_desc(
 
	190, 219, 260, 42,
 
	WDP_AUTO, WDP_AUTO, 260, 42,
 
	WC_QUERY_STRING, WC_NONE,
 
	0,
 
	_nested_query_string_widgets, lengthof(_nested_query_string_widgets)
src/music_gui.cpp
Show inline comments
 
@@ -409,7 +409,7 @@ static const NWidgetPart _nested_music_t
 
};
 

	
 
static const WindowDesc _music_track_selection_desc(
 
	104, 131, 432, 218,
 
	WDP_AUTO, WDP_AUTO, 432, 218,
 
	WC_MUSIC_TRACK_SELECTION, WC_NONE,
 
	WDF_UNCLICK_BUTTONS,
 
	_nested_music_track_selection_widgets, lengthof(_nested_music_track_selection_widgets)
 
@@ -713,7 +713,7 @@ static const NWidgetPart _nested_music_w
 
};
 

	
 
static const WindowDesc _music_window_desc(
 
	0, 22, 300, 66,
 
	WDP_AUTO, WDP_AUTO, 300, 66,
 
	WC_MUSIC_WINDOW, WC_NONE,
 
	WDF_UNCLICK_BUTTONS,
 
	_nested_music_window_widgets, lengthof(_nested_music_window_widgets)
src/news_gui.cpp
Show inline comments
 
@@ -1026,7 +1026,7 @@ static const NWidgetPart _nested_message
 
};
 

	
 
static const WindowDesc _message_history_desc(
 
	240, 22, 400, 140,
 
	WDP_AUTO, WDP_AUTO, 400, 140,
 
	WC_MESSAGE_HISTORY, WC_NONE,
 
	WDF_UNCLICK_BUTTONS,
 
	_nested_message_history, lengthof(_nested_message_history)
 
@@ -1312,7 +1312,7 @@ static const NWidgetPart _nested_message
 
};
 

	
 
static const WindowDesc _message_options_desc(
 
	270, 22, 0, 0,
 
	WDP_AUTO, WDP_AUTO, 0, 0,
 
	WC_GAME_OPTIONS, WC_NONE,
 
	WDF_UNCLICK_BUTTONS,
 
	_nested_message_options_widgets, lengthof(_nested_message_options_widgets)
src/signs_gui.cpp
Show inline comments
 
@@ -408,7 +408,7 @@ static const NWidgetPart _nested_query_s
 
};
 

	
 
static const WindowDesc _query_sign_edit_desc(
 
	190, 170, 260, 42,
 
	WDP_AUTO, WDP_AUTO, 260, 42,
 
	WC_QUERY_STRING, WC_NONE,
 
	WDF_CONSTRUCTION | WDF_UNCLICK_BUTTONS,
 
	_nested_query_sign_edit_widgets, lengthof(_nested_query_sign_edit_widgets)
0 comments (0 inline, 0 general)