From 69b6d9309a5e592b2117b1c851ab680ef9ffd9ed Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 24 Nov 2009 17:28:29 +0000 Subject: (svn r18274) -Codechange: remove the unused WDF flags --- src/network/network_chat_gui.cpp | 2 +- src/network/network_content_gui.cpp | 4 ++-- src/network/network_gui.cpp | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/network') 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) ); -- cgit v1.2.3-70-g09d2