summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-01 15:49:12 +0000
committerrubidium <rubidium@openttd.org>2007-02-01 15:49:12 +0000
commitc8882bd3d2dbbc7fab90e74ce71a0699cb1438f3 (patch)
treef20591430627ec5e32fc838089b470939051cee5 /src/network
parent01a9abc7e5d27d154a8b746c2ada76609961a925 (diff)
downloadopenttd-c8882bd3d2dbbc7fab90e74ce71a0699cb1438f3.tar.xz
(svn r8511) -Codechange: make WindowClass an enumerated value.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 394521811..e0bd94205 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -545,7 +545,7 @@ static const Widget _network_game_window_widgets[] = {
static const WindowDesc _network_game_window_desc = {
WDP_CENTER, WDP_CENTER, 550, 264,
- WC_NETWORK_WINDOW,0,
+ WC_NETWORK_WINDOW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_network_game_window_widgets,
NetworkGameWindowWndProc,
@@ -772,7 +772,7 @@ static const Widget _network_start_server_window_widgets[] = {
static const WindowDesc _network_start_server_window_desc = {
WDP_CENTER, WDP_CENTER, 420, 244,
- WC_NETWORK_WINDOW,0,
+ WC_NETWORK_WINDOW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_network_start_server_window_widgets,
NetworkStartServerWindowWndProc,
@@ -981,7 +981,7 @@ static const Widget _network_lobby_window_widgets[] = {
static const WindowDesc _network_lobby_window_desc = {
WDP_CENTER, WDP_CENTER, 420, 235,
- WC_NETWORK_WINDOW,0,
+ WC_NETWORK_WINDOW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_network_lobby_window_widgets,
NetworkLobbyWindowWndProc,
@@ -1045,7 +1045,7 @@ static const Widget _client_list_popup_widgets[] = {
static WindowDesc _client_list_desc = {
WDP_AUTO, WDP_AUTO, 250, 1,
- WC_CLIENT_LIST,0,
+ WC_CLIENT_LIST, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_client_list_widgets,
ClientListWndProc
@@ -1454,7 +1454,7 @@ static const Widget _network_join_status_window_widget[] = {
static const WindowDesc _network_join_status_window_desc = {
WDP_CENTER, WDP_CENTER, 250, 85,
- WC_NETWORK_STATUS_WINDOW, 0,
+ WC_NETWORK_STATUS_WINDOW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_MODAL,
_network_join_status_window_widget,
NetworkJoinStatusWindowWndProc,
@@ -1688,7 +1688,7 @@ static const Widget _chat_window_widgets[] = {
static const WindowDesc _chat_window_desc = {
WDP_CENTER, -26, 640, 14, // x, y, width, height
- WC_SEND_NETWORK_MSG,0,
+ WC_SEND_NETWORK_MSG, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET,
_chat_window_widgets,
ChatWindowWndProc