diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-07 20:19:10 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-07 20:19:10 +0200 |
commit | 7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch) | |
tree | 2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/gui/widgets/avatar.cpp | |
parent | ef1975a3eb4e1986601ad154bf184e0de332870c (diff) | |
download | mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2 mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.zip |
Used custom widgets where appropriate and some cleanup
Replaced many gcn::Label with Label, gcn::Slider with Slider in
character creation dialog. Also cleaned up includes.
Diffstat (limited to 'src/gui/widgets/avatar.cpp')
-rw-r--r-- | src/gui/widgets/avatar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/widgets/avatar.cpp b/src/gui/widgets/avatar.cpp index 2603e3ae..c9e8002e 100644 --- a/src/gui/widgets/avatar.cpp +++ b/src/gui/widgets/avatar.cpp @@ -22,12 +22,11 @@ #include "gui/widgets/avatar.h" #include "gui/icon.h" +#include "gui/label.h" #include "resources/image.h" #include "resources/resourcemanager.h" -#include <guichan/widgets/label.hpp> - namespace { Image *avatarStatusOffline; Image *avatarStatusOnline; @@ -54,7 +53,7 @@ Avatar::Avatar(const std::string &name): mStatus->setSize(12, 12); add(mStatus, 1, 0); - mLabel = new gcn::Label(name); + mLabel = new Label(name); mLabel->setSize(85, 12); add(mLabel, 14, 0); } |