Changeset 3775 in orxonox.OLD for orxonox/branches/textEngine/src/lib/graphics
- Timestamp:
- Apr 11, 2005, 4:16:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/lib/graphics/font/text_engine.cc
r3774 r3775 834 834 Font* tmpFont; 835 835 Text* newText; 836 837 838 tmpFont = (Font*)ResourceManager::getInstance()->load(fontFile, TTF, RP_GAME); 836 Vector tmpVec; 837 838 tmpVec = Vector(r, g, b); 839 tmpFont = (Font*)ResourceManager::getInstance()->load(fontFile, TTF, RP_GAME, &fontSize, &tmpVec); 839 840 if (!tmpFont) 840 841 { … … 861 862 ResourceManager::getInstance()->unload(text->font); 862 863 textList->remove(text); 863 864 864 } 865 865
Note: See TracChangeset
for help on using the changeset viewer.