summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_chat_gui.cpp17
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;