summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 15:01:49 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 15:01:49 +0000
commit1f0da3710f955c7fd4a747ac814d449847e73884 (patch)
tree9f2f599538f3adfc61e80e472ed9f04332aeac65 /src/network
parent9bb4ad4ba827127b9cf92f198efd6442f053a3aa (diff)
downloadopenttd-1f0da3710f955c7fd4a747ac814d449847e73884.tar.xz
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp2
-rw-r--r--src/network/network_gui.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 958a2eea5..5d69a21cc 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -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)
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 2fe844719..a5aaf1def 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -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)