mirror of https://github.com/OpenTTD/OpenTTD
(svn r16230) -Codechange: Moving chat widgets enum outside window struct.
parent
a75e73fa1f
commit
e04d2c88d9
|
@ -258,16 +258,15 @@ static void SendChat(const char *buf, DestType type, int dest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct NetworkChatWindow : public QueryStringBaseWindow {
|
/** Widget numbers of the chat window. */
|
||||||
private:
|
enum NetWorkChatWidgets {
|
||||||
enum NetWorkChatWidgets {
|
NWCW_CLOSE,
|
||||||
NWCW_CLOSE,
|
NWCW_BACKGROUND,
|
||||||
NWCW_BACKGROUND,
|
NWCW_TEXTBOX,
|
||||||
NWCW_TEXTBOX,
|
NWCW_SENDBUTTON,
|
||||||
NWCW_SENDBUTTON,
|
};
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
struct NetworkChatWindow : public QueryStringBaseWindow {
|
||||||
DestType dtype;
|
DestType dtype;
|
||||||
int dest;
|
int dest;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue