summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-15 14:36:01 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-15 14:36:01 +0000
commita4fa7ae6f3f0966b6fe45c65b1a0fe78f59994ed (patch)
tree7576a27b5f135164fcbe9d1ad957f9cefc5575dc /src/gui/login.cpp
parent21c6ab4d1f7f5cecd5c1720c6949b4bfe28132ad (diff)
downloadmana-a4fa7ae6f3f0966b6fe45c65b1a0fe78f59994ed.tar.gz
mana-a4fa7ae6f3f0966b6fe45c65b1a0fe78f59994ed.tar.bz2
mana-a4fa7ae6f3f0966b6fe45c65b1a0fe78f59994ed.tar.xz
mana-a4fa7ae6f3f0966b6fe45c65b1a0fe78f59994ed.zip
Good old Aqua buttons back but now using Guichan
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 2f07090f..1b80ffc6 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -23,6 +23,7 @@
#include "login.h"
#include "gui.h"
+#include "mw_button.h"
#include "../graphic/graphic.h"
// Dialog parts
@@ -74,8 +75,8 @@ void login() {
userField = new gcn::TextField("player");
passField = new gcn::TextField();
keepCheck = new gcn::CheckBox("Keep", false);
- okButton = new gcn::Button("OK");
- cancelButton = new gcn::Button("Cancel");
+ okButton = new MWButton("OK");
+ cancelButton = new MWButton("Cancel");
dialog->setDimension(gcn::Rectangle(300, 250, 200, 80));
userLabel->setPosition(4, 14);