summaryrefslogtreecommitdiff
path: root/src/gui/char_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_server.h')
-rw-r--r--src/gui/char_server.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/char_server.h b/src/gui/char_server.h
index 70361496..f07b2f53 100644
--- a/src/gui/char_server.h
+++ b/src/gui/char_server.h
@@ -66,6 +66,11 @@ class ServerSelectDialog : public Window, public gcn::ActionListener {
* Called when receiving actions from the widgets.
*/
void action(const std::string& eventId);
+
+ /**
+ * Updates dialog logic
+ */
+ void logic();
private:
ServerListModel *serverListModel;
@@ -73,10 +78,11 @@ class ServerSelectDialog : public Window, public gcn::ActionListener {
gcn::Button *okButton;
gcn::Button *cancelButton;
gcn::ScrollArea *scrollArea;
+ int mStatus;
+
+ void selectServer(int index);
};
void charServerInputHandler(SDL_KeyboardEvent *keyEvent);
-void server_char_server(int serverIndex);
-char *server_list(int index, int *size);
#endif