Minor adaptations to minor changes in GDL.

git-svn-id: svn://localhost@417 8062f311-0dae-4547-b526-b8ab9ac864a5
This commit is contained in:
Florian
2011-03-26 22:20:06 +00:00
parent e39329bb48
commit 83cda9ec0c
5 changed files with 33 additions and 13 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ void TextObject::SetFont(string fontName_)
{
fontName = fontName_;
FontManager * fontManager = FontManager::getInstance();
FontManager * fontManager = FontManager::GetInstance();
text.SetFont(*fontManager->GetFont(fontName));
text.SetOrigin(text.GetRect().Width/2, text.GetRect().Height/2);
}