Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5076 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Aug 19, 2005, 3:52:54 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: minor

Location:
trunk/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/text_engine.cc

    r5075 r5076  
    7272Text::~Text()
    7373{
     74  ResourceManager::getInstance()->unload(this->font);
     75
     76//  if (this->text)
     77    //delete []this->text;
    7478  TextEngine::getInstance()->deleteText(this);
    7579}
     
    846850void TextEngine::deleteText(Text* text)
    847851{
    848   ResourceManager::getInstance()->unload(text->font);
    849852  textList->remove(text);
    850853}
  • trunk/src/lib/util/list.h

    r5074 r5076  
    138138  T* lastElement();
    139139  bool isEmpty();
    140   int getSize();
     140  unsigned int getSize();
    141141  bool inList(T* entity);
    142142  tIterator<T>* getIterator();
     
    359359*/
    360360template<class T>
    361 inline int tList<T>::getSize()
     361inline unsigned int tList<T>::getSize()
    362362{
    363363  return this->size;
Note: See TracChangeset for help on using the changeset viewer.