diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-04 21:19:25 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-04 21:19:25 +0000 |
commit | 9eed8feb838c31368dba6cd9716f67d800bf6e3b (patch) | |
tree | bf7c9d1963a5d8ef031c6f04ef114722e299a7f0 /src/gui/browserbox.cpp | |
parent | 2da65e2e57b664cc45c164f08ddae3597e51fcba (diff) | |
download | mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.gz mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.bz2 mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.xz mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.zip |
Added a method to the resource mananger to determine the real path of a file in the search path. Added a first user of that function. Minor cleanup.
Diffstat (limited to 'src/gui/browserbox.cpp')
-rw-r--r-- | src/gui/browserbox.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp index 58877b6e..52a13763 100644 --- a/src/gui/browserbox.cpp +++ b/src/gui/browserbox.cpp @@ -24,6 +24,7 @@ #include <guichan.hpp> #include "../graphics.h" #include "../main.h" +#include "../resources/resourcemanager.h" #include "browserbox.h" #include "gui.h" @@ -45,7 +46,8 @@ BrowserBox::BrowserBox(unsigned int mode): { if (useOpenGL) { browserFont = new gcn::ImageFont( - TMW_DATADIR "data/graphics/gui/browserfont.png", + ResourceManager::getInstance()->getRealPath( + "graphics/gui/browserfont.png"), " abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567" "89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`"); |