diff options
author | alberth <alberth@openttd.org> | 2009-05-05 20:03:12 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-05-05 20:03:12 +0000 |
commit | e04d2c88d93be047c0dbd488ce7d4998e8f6d8aa (patch) | |
tree | 7c8510aaa2eb49a7b5946f9461b0838a9dd4818b /src/network | |
parent | a75e73fa1f88cac1dcfa75379ee8ba78d484c032 (diff) | |
download | openttd-e04d2c88d93be047c0dbd488ce7d4998e8f6d8aa.tar.xz |
(svn r16230) -Codechange: Moving chat widgets enum outside window struct.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_chat_gui.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index abf5c46bb..9e0e92cb0 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -258,16 +258,15 @@ static void SendChat(const char *buf, DestType type, int dest) } } +/** Widget numbers of the chat window. */ +enum NetWorkChatWidgets { + NWCW_CLOSE, + NWCW_BACKGROUND, + NWCW_TEXTBOX, + NWCW_SENDBUTTON, +}; + struct NetworkChatWindow : public QueryStringBaseWindow { -private: - enum NetWorkChatWidgets { - NWCW_CLOSE, - NWCW_BACKGROUND, - NWCW_TEXTBOX, - NWCW_SENDBUTTON, - }; - -public: DestType dtype; int dest; |