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