diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-17 13:45:49 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-17 13:45:49 +0000 |
commit | d0e1dbef4fdad5dd61f2e513c5802e384c5ba642 (patch) | |
tree | c21d0e559d50f7a065987a1e7b14f1579a6a6d5f /src/gui/login.cpp | |
parent | ecd898ab4bf88737d4de51cb71fed585c76fabe6 (diff) | |
download | mana-d0e1dbef4fdad5dd61f2e513c5802e384c5ba642.tar.gz mana-d0e1dbef4fdad5dd61f2e513c5802e384c5ba642.tar.bz2 mana-d0e1dbef4fdad5dd61f2e513c5802e384c5ba642.tar.xz mana-d0e1dbef4fdad5dd61f2e513c5802e384c5ba642.zip |
Added window class based on Guichan by none other than nym!
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r-- | src/gui/login.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index f0697513..0a8c19a7 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -25,6 +25,7 @@ #include "gui.h" #include "button.h" #include "checkbox.h" +#include "window.h" #include "../graphic/graphic.h" // Dialog parts @@ -70,7 +71,7 @@ void LoginActionListener::action(const std::string& eventId) */ void login() { // Create dialog - dialog = new gcn::Container(); + dialog = new WindowContainer(); userLabel = new gcn::Label("Name:"); passLabel = new gcn::Label("Password:"); userField = new gcn::TextField("player"); |