summaryrefslogtreecommitdiff
path: root/src/gui/char_server.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-17 23:21:20 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-17 23:21:20 +0000
commit11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4 (patch)
tree304bebd799fcb1052f1b452e8f9da255cd718242 /src/gui/char_server.cpp
parentbc4c1e72374a44595e8b1ea0cd16e182139b2cb7 (diff)
downloadmana-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.tar.gz
mana-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.tar.bz2
mana-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.tar.xz
mana-11e9c220d8b989d9ee9abb27c8d0acc41fe3d7f4.zip
Made some fixes to the window widget and made server selection use it too.
WARNING: From now on we need Guichan 0.2.0, the 0.1.0 version will NOT work!
Diffstat (limited to 'src/gui/char_server.cpp')
-rw-r--r--src/gui/char_server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp
index 0bd431a5..df88adc6 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -24,6 +24,7 @@
#include "char_server.h"
#include "../graphic/graphic.h"
#include "button.h"
+#include "window.h"
char server[30];
int showServerList = 1;
@@ -62,7 +63,7 @@ void char_server() {
gcn::ScrollArea *scrollArea;
serverListModel = new ServerListModel();
- dialog = new gcn::Container();
+ dialog = new Window("Select Server");
serverList = new gcn::ListBox(serverListModel);
scrollArea = new gcn::ScrollArea(serverList);
okButton = new Button("OK");