summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-24 17:28:29 +0000
committerrubidium <rubidium@openttd.org>2009-11-24 17:28:29 +0000
commit69b6d9309a5e592b2117b1c851ab680ef9ffd9ed (patch)
tree1f7c5923c848b436b31d9f4e704d50493203f80f /src/network
parent8371be352b8e4da1637fb63694ce878bc8a6b342 (diff)
downloadopenttd-69b6d9309a5e592b2117b1c851ab680ef9ffd9ed.tar.xz
(svn r18274) -Codechange: remove the unused WDF flags
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_chat_gui.cpp2
-rw-r--r--src/network/network_content_gui.cpp4
-rw-r--r--src/network/network_gui.cpp14
3 files changed, 10 insertions, 10 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index 0368a94d2..d66211f95 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -545,7 +545,7 @@ static const NWidgetPart _nested_chat_window_widgets[] = {
static const WindowDesc _chat_window_desc(
WDP_CENTER, 0, 640, 14, // x, y, width, height
WC_SEND_NETWORK_MSG, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET,
+ 0,
_nested_chat_window_widgets, lengthof(_nested_chat_window_widgets)
);
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 1fefe925d..4b5d6a296 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -49,7 +49,7 @@ static const NWidgetPart _nested_network_content_download_status_window_widgets[
static const WindowDesc _network_content_download_status_window_desc(
WDP_CENTER, WDP_CENTER, 350, 85,
WC_NETWORK_STATUS_WINDOW, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_MODAL,
+ WDF_MODAL,
_nested_network_content_download_status_window_widgets, lengthof(_nested_network_content_download_status_window_widgets)
);
@@ -871,7 +871,7 @@ static const NWidgetPart _nested_network_content_list_widgets[] = {
static const WindowDesc _network_content_list_desc(
WDP_CENTER, WDP_CENTER, 630, 460,
WC_NETWORK_WINDOW, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
+ WDF_UNCLICK_BUTTONS,
_nested_network_content_list_widgets, lengthof(_nested_network_content_list_widgets)
);
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index c3e8517e5..50b43e354 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1006,7 +1006,7 @@ static const NWidgetPart _nested_network_game_widgets[] = {
static const WindowDesc _network_game_window_desc(
WDP_CENTER, WDP_CENTER, 1000, 730,
WC_NETWORK_WINDOW, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
+ WDF_UNCLICK_BUTTONS,
_nested_network_game_widgets, lengthof(_nested_network_game_widgets)
);
@@ -1434,7 +1434,7 @@ static const NWidgetPart _nested_network_start_server_window_widgets[] = {
static const WindowDesc _network_start_server_window_desc(
WDP_CENTER, WDP_CENTER, 420, 244,
WC_NETWORK_WINDOW, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
+ WDF_UNCLICK_BUTTONS,
_nested_network_start_server_window_widgets, lengthof(_nested_network_start_server_window_widgets)
);
@@ -1734,7 +1734,7 @@ static const NWidgetPart _nested_network_lobby_window_widgets[] = {
static const WindowDesc _network_lobby_window_desc(
WDP_CENTER, WDP_CENTER, 0, 0,
WC_NETWORK_WINDOW, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
+ WDF_UNCLICK_BUTTONS,
_nested_network_lobby_window_widgets, lengthof(_nested_network_lobby_window_widgets)
);
@@ -1777,7 +1777,7 @@ static const NWidgetPart _nested_client_list_popup_widgets[] = {
static const WindowDesc _client_list_popup_desc(
WDP_AUTO, WDP_AUTO, 150, 1,
WC_TOOLBAR_MENU, WC_CLIENT_LIST,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET,
+ 0,
_nested_client_list_popup_widgets, lengthof(_nested_client_list_popup_widgets)
);
@@ -1993,7 +1993,7 @@ static const NWidgetPart _nested_client_list_widgets[] = {
static const WindowDesc _client_list_desc(
WDP_AUTO, WDP_AUTO, 250, 16,
WC_CLIENT_LIST, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
+ 0,
_nested_client_list_widgets, lengthof(_nested_client_list_widgets)
);
@@ -2275,7 +2275,7 @@ static const NWidgetPart _nested_network_join_status_window_widgets[] = {
static const WindowDesc _network_join_status_window_desc(
WDP_CENTER, WDP_CENTER, 250, 85,
WC_NETWORK_STATUS_WINDOW, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_MODAL,
+ WDF_MODAL,
_nested_network_join_status_window_widgets, lengthof(_nested_network_join_status_window_widgets)
);
@@ -2400,7 +2400,7 @@ static const NWidgetPart _nested_network_company_password_window_widgets[] = {
static const WindowDesc _network_company_password_window_desc(
WDP_AUTO, WDP_AUTO, 300, 63,
WC_COMPANY_PASSWORD_WINDOW, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
+ WDF_UNCLICK_BUTTONS,
_nested_network_company_password_window_widgets, lengthof(_nested_network_company_password_window_widgets)
);