added a better font. but for now it's not any better because the irrlicht font system is too crappy to alow resizing fonts at runtime *sigh*

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-04-24 14:19:20 +00:00
parent f3cbe0984b
commit f21c7e9aa9
7 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

BIN
data/gui/okolaks.xml Executable file

Binary file not shown.

BIN
data/gui/okolaks0.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
data/gui/okolaks1.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
data/gui/okolaks2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
data/gui/okolaks3.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -126,7 +126,7 @@ void init(IrrlichtDevice* device_a, IVideoDriver* driver_a, void (*eventCallback
g_skin = new Skin(g_env->getSkin()); g_skin = new Skin(g_env->getSkin());
g_env->setSkin(g_skin); g_env->setSkin(g_skin);
//g_skin = g_env->getSkin(); //g_skin = g_env->getSkin();
g_font = g_env->getFont( (file_manager->getGUIDir() + "/fonthaettenschweiler.bmp").c_str() ); g_font = g_env->getFont( (file_manager->getGUIDir() + "/okolaks.xml").c_str() );
if (g_font) g_skin->setFont(g_font); if (g_font) g_skin->setFont(g_font);
//g_skin->setFont(g_env->getBuiltInFont(), EGDF_TOOLTIP); //g_skin->setFont(g_env->getBuiltInFont(), EGDF_TOOLTIP);