summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressbar.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
commit6e6c5b2ba399e0ed364ada843c4c759ee54de219 (patch)
tree562e6a840c856ba8c4d35c6806020289c65d54d2 /src/gui/widgets/progressbar.cpp
parent82ac4641828ec7387863bb18cf4493190c4cc68f (diff)
downloadmanaverse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.gz
manaverse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.bz2
manaverse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.xz
manaverse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.zip
combine font classes in one.
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r--src/gui/widgets/progressbar.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp
index b120e4289..a1f597da8 100644
--- a/src/gui/widgets/progressbar.cpp
+++ b/src/gui/widgets/progressbar.cpp
@@ -25,10 +25,8 @@
#include "client.h"
#include "graphicsvertexes.h"
+#include "gui/font.h"
#include "gui/gui.h"
-#include "gui/sdlfont.h"
-
-#include "gui/base/font.hpp"
#include "debug.h"
@@ -271,7 +269,7 @@ void ProgressBar::render(Graphics *graphics)
{
const gcn::Color oldColor = graphics->getColor();
- gcn::Font *const font = gui->getFont();
+ Font *const font = gui->getFont();
const int textX = mDimension.width / 2;
const int textY = (mDimension.height - font->getHeight()) / 2;