Changeset 8647
- Timestamp:
- May 28, 2011, 8:01:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/libraries/core/GUIManager.cc
r8637 r8647 743 743 /*static*/ void GUIManager::addFontHelper(const std::string& name, int size, const std::string& fontName) 744 744 { 745 #ifdef ORXONOX_OLD_CEGUI 745 746 if(CEGUI::FontManager::getSingleton().isFontPresent(name)) // If a font with that name already exists. 746 747 return; … … 764 765 if(font != NULL) 765 766 font->load(); 767 #else 768 if(CEGUI::FontManager::getSingleton().isDefined(name)) // If a font with that name already exists. 769 return; 770 771 CEGUI::FontManager::getSingleton().createFreeTypeFont(name, (float)size, true, fontName, "", true, 800.0f, 600.0f); 772 #endif 766 773 } 767 774
Note: See TracChangeset
for help on using the changeset viewer.