summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-06 22:56:43 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-06 22:57:15 +0100
commit467065bab257b23d7783088563ff82459e9179c9 (patch)
treeb3cecce9798ad7f025f4fd293160e3cccf26b81c /src/gui/gui.cpp
parentd3eced6c5078ff7330383ee9317ac4f37389ac69 (diff)
downloadmana-client-467065bab257b23d7783088563ff82459e9179c9.tar.gz
mana-client-467065bab257b23d7783088563ff82459e9179c9.tar.bz2
mana-client-467065bab257b23d7783088563ff82459e9179c9.tar.xz
mana-client-467065bab257b23d7783088563ff82459e9179c9.zip
Fixed the true type font to render unicode now
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index f7f582fb..87bab0ea 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -24,7 +24,6 @@
#include <guichan/exception.hpp>
#include <guichan/image.hpp>
#include <guichan/imagefont.hpp>
-#include <SDL/SDL_ttf.h>
#include "focushandler.h"
#include "sdlinput.h"
@@ -46,7 +45,7 @@
// Guichan stuff
Gui *gui;
Viewport *viewport; /**< Viewport on the map. */
-SDLInput *guiInput; /**< GUI input. */
+SDLInput *guiInput;
// Fonts used in showing hits
gcn::Font *hitRedFont;
@@ -104,8 +103,9 @@ Gui::Gui(Graphics *graphics):
Window::setWindowContainer(guiTop);
setTop(guiTop);
- // Set global font
ResourceManager *resman = ResourceManager::getInstance();
+
+ // Set global font
std::string path = resman->getPath("fonts/dejavusans.ttf");
try {
mGuiFont = new TrueTypeFont(path, 11);