Updated 'feature unlocked' screen to use the new title font

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-12-06 00:10:44 +00:00
parent c1f2f85cc0
commit 1c623ec7b3

View File

@ -136,14 +136,14 @@ void FeatureUnlockedCutScene::onUpdate(float dt, irr::video::IVideoDriver* drive
static const int w = irr_driver->getFrameSize().Width;
static const int h = irr_driver->getFrameSize().Height;
const irr::video::SColor color(255, 255, 0 ,0);
const irr::video::SColor color(255, 255, 255, 255);
static int test_y = 0;
GUIEngine::getFont()->draw(_("Feature Unlocked"),
core::rect< s32 >( 0, test_y, w, h/10 ),
color,
true/* center h */, true /* center v */ );
GUIEngine::getTitleFont()->draw(_("Feature Unlocked"),
core::rect< s32 >( 0, test_y, w, h/10 ),
color,
true/* center h */, true /* center v */ );
}
void FeatureUnlockedCutScene::eventCallback(GUIEngine::Widget* widget, const std::string& name, const int playerID)