1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +00:00

(svn r16230) -Codechange: Moving chat widgets enum outside window struct.

This commit is contained in:
alberth
2009-05-05 20:03:12 +00:00
parent a75e73fa1f
commit e04d2c88d9

View File

@@ -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;