mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
(svn r8511) -Codechange: make WindowClass an enumerated value.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user