From 7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 7 Apr 2009 20:19:10 +0200 Subject: 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. --- src/gui/widgets/avatar.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/avatar.cpp') 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 - 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); } -- cgit v1.2.3-70-g09d2