Changeset 5076 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Aug 19, 2005, 3:52:54 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine.cc
r5075 r5076 72 72 Text::~Text() 73 73 { 74 ResourceManager::getInstance()->unload(this->font); 75 76 // if (this->text) 77 //delete []this->text; 74 78 TextEngine::getInstance()->deleteText(this); 75 79 } … … 846 850 void TextEngine::deleteText(Text* text) 847 851 { 848 ResourceManager::getInstance()->unload(text->font);849 852 textList->remove(text); 850 853 } -
trunk/src/lib/util/list.h
r5074 r5076 138 138 T* lastElement(); 139 139 bool isEmpty(); 140 int getSize();140 unsigned int getSize(); 141 141 bool inList(T* entity); 142 142 tIterator<T>* getIterator(); … … 359 359 */ 360 360 template<class T> 361 inline int tList<T>::getSize()361 inline unsigned int tList<T>::getSize() 362 362 { 363 363 return this->size;
Note: See TracChangeset
for help on using the changeset viewer.