|
@@ -498,18 +498,18 @@ static const Widget _chat_window_widgets
|
|
|
{ WWT_PANEL, RESIZE_RIGHT, COLOUR_GREY, 11, 319, 0, 13, 0x0, STR_NULL}, // background
|
|
|
{ WWT_EDITBOX, RESIZE_RIGHT, COLOUR_GREY, 75, 257, 1, 12, STR_NETWORK_CHAT_OSKTITLE, STR_NULL}, // text box
|
|
|
{ WWT_PUSHTXTBTN, RESIZE_LR, COLOUR_GREY, 258, 319, 1, 12, STR_NETWORK_SEND, STR_NULL}, // send button
|
|
|
{ WIDGETS_END},
|
|
|
};
|
|
|
|
|
|
static const WindowDesc _chat_window_desc = {
|
|
|
static const WindowDesc _chat_window_desc(
|
|
|
WDP_CENTER, -26, 320, 14, 640, 14, // x, y, width, height
|
|
|
WC_SEND_NETWORK_MSG, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET,
|
|
|
_chat_window_widgets,
|
|
|
};
|
|
|
_chat_window_widgets
|
|
|
);
|
|
|
|
|
|
void ShowNetworkChatQueryWindow(DestType type, int dest)
|
|
|
{
|
|
|
DeleteWindowById(WC_SEND_NETWORK_MSG, 0);
|
|
|
new NetworkChatWindow (&_chat_window_desc, type, dest);
|
|
|
}
|