diff options
author | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
commit | 2aa774e831ad1cb7849c998759449ef777c5c664 (patch) | |
tree | 37293298be999cb3446fe4af7f11e107bfa17c3d /src/network/network_chat_gui.cpp | |
parent | fd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff) | |
download | openttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz |
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/network/network_chat_gui.cpp')
-rw-r--r-- | src/network/network_chat_gui.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index 245d15ea5..d6c0319f4 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -28,6 +28,8 @@ #include "network_client.h" #include "network_base.h" +#include "../widgets/network_chat_widget.h" + #include "table/strings.h" /** The draw buffer must be able to contain the chat message, client name and the "[All]" message, @@ -283,15 +285,6 @@ static void SendChat(const char *buf, DestType type, int dest) } } -/** Widget numbers of the chat window. */ -enum NetWorkChatWidgets { - NWCW_CLOSE, - NWCW_BACKGROUND, - NWCW_DESTINATION, - NWCW_TEXTBOX, - NWCW_SENDBUTTON, -}; - /** Window to enter the chat message in. */ struct NetworkChatWindow : public QueryStringBaseWindow { DestType dtype; ///< The type of destination. |