mirror of https://github.com/OpenTTD/OpenTTD
(svn r16235) -Codechange (r16234): But keep the window description.
parent
6d783983e7
commit
4d3f8bbb97
|
@ -514,6 +514,13 @@ static const NWidgetPart _nested_chat_window_widgets[] = {
|
||||||
EndContainer(),
|
EndContainer(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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, _nested_chat_window_widgets, lengthof(_nested_chat_window_widgets)
|
||||||
|
);
|
||||||
|
|
||||||
void ShowNetworkChatQueryWindow(DestType type, int dest)
|
void ShowNetworkChatQueryWindow(DestType type, int dest)
|
||||||
{
|
{
|
||||||
DeleteWindowById(WC_SEND_NETWORK_MSG, 0);
|
DeleteWindowById(WC_SEND_NETWORK_MSG, 0);
|
||||||
|
|
Loading…
Reference in New Issue