summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-10-04 15:57:11 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-10-04 15:57:11 +0000
commit623fa32c10d7fda1240c256eefd05a7157662198 (patch)
tree3a952d236cae7f355946fb62c16f62091bfc9d4b /src/gui/ministatus.cpp
parent7333a74b2c59c5baa4dbd987df7624cdab13585a (diff)
downloadmana-623fa32c10d7fda1240c256eefd05a7157662198.tar.gz
mana-623fa32c10d7fda1240c256eefd05a7157662198.tar.bz2
mana-623fa32c10d7fda1240c256eefd05a7157662198.tar.xz
mana-623fa32c10d7fda1240c256eefd05a7157662198.zip
Changed the font in the ministatus win. Fixed some coords bugs when the stats displayed were high.
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r--src/gui/ministatus.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index 01d7330c..adfda434 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -26,6 +26,7 @@
#include <guichan/widgets/label.hpp>
#include <sstream>
+#include "gui.h"
#include "progressbar.h"
#include "../playerinfo.h"
@@ -48,6 +49,8 @@ MiniStatusWindow::MiniStatusWindow():
hpLabel = new gcn::Label("");
mpLabel = new gcn::Label("");
+ hpLabel->setFont((gcn::Font*)speechFont);
+ mpLabel->setFont((gcn::Font*)speechFont);
add(hpBar);
add(mpBar);
@@ -106,6 +109,5 @@ void MiniStatusWindow::update()
void MiniStatusWindow::draw(gcn::Graphics *graphics)
{
update();
-
Window::drawContent(graphics);
}