mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-25 23:49:09 +00:00
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
This commit is contained in:
@@ -46,7 +46,7 @@ static const NWidgetPart _nested_network_content_download_status_window_widgets[
|
||||
|
||||
/** Window description for the download window */
|
||||
static const WindowDesc _network_content_download_status_window_desc(
|
||||
WDP_CENTER, 350, 85,
|
||||
WDP_CENTER, 0, 0,
|
||||
WC_NETWORK_STATUS_WINDOW, WC_NONE,
|
||||
WDF_MODAL,
|
||||
_nested_network_content_download_status_window_widgets, lengthof(_nested_network_content_download_status_window_widgets)
|
||||
|
@@ -1425,7 +1425,7 @@ static const NWidgetPart _nested_network_start_server_window_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _network_start_server_window_desc(
|
||||
WDP_CENTER, 420, 244,
|
||||
WDP_CENTER, 0, 0,
|
||||
WC_NETWORK_WINDOW, WC_NONE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_network_start_server_window_widgets, lengthof(_nested_network_start_server_window_widgets)
|
||||
@@ -1765,7 +1765,7 @@ static const NWidgetPart _nested_client_list_popup_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _client_list_popup_desc(
|
||||
WDP_AUTO, 150, 1,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_TOOLBAR_MENU, WC_CLIENT_LIST,
|
||||
0,
|
||||
_nested_client_list_popup_widgets, lengthof(_nested_client_list_popup_widgets)
|
||||
@@ -1978,7 +1978,7 @@ static const NWidgetPart _nested_client_list_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _client_list_desc(
|
||||
WDP_AUTO, 250, 16,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_CLIENT_LIST, WC_NONE,
|
||||
0,
|
||||
_nested_client_list_widgets, lengthof(_nested_client_list_widgets)
|
||||
@@ -2259,7 +2259,7 @@ static const NWidgetPart _nested_network_join_status_window_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _network_join_status_window_desc(
|
||||
WDP_CENTER, 250, 85,
|
||||
WDP_CENTER, 0, 0,
|
||||
WC_NETWORK_STATUS_WINDOW, WC_NONE,
|
||||
WDF_MODAL,
|
||||
_nested_network_join_status_window_widgets, lengthof(_nested_network_join_status_window_widgets)
|
||||
@@ -2382,7 +2382,7 @@ static const NWidgetPart _nested_network_company_password_window_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _network_company_password_window_desc(
|
||||
WDP_AUTO, 300, 63,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_COMPANY_PASSWORD_WINDOW, WC_NONE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_network_company_password_window_widgets, lengthof(_nested_network_company_password_window_widgets)
|
||||
|
Reference in New Issue
Block a user