diff options
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. |