Changeset 5288 in orxonox.OLD for trunk/src/lib/graphics/text_engine.cc
- Timestamp:
- Oct 6, 2005, 11:19:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine.cc
r5287 r5288 812 812 TextEngine::~TextEngine () 813 813 { 814 // first remove all the remaining Texts (if any). 815 tList<BaseObject>* textList = ClassList::getList(CL_TEXT); 816 tIterator<BaseObject>* textIterator = textList->getIterator(); 817 Text* text = dynamic_cast<Text*>(textIterator->firstElement()); 818 while( text != NULL) 819 { 820 delete text; 821 text = dynamic_cast<Text*>(textIterator->nextElement()); 822 } 823 delete textIterator; 824 PRINT(0)("+---------------------------TE--+\n"); 825 814 826 // delete all remaining fonts (this is done in the ResourceManager) 815 827 tList<BaseObject>* fontList = ClassList::getList(CL_FONT);
Note: See TracChangeset
for help on using the changeset viewer.