Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7874 in orxonox.OLD for branches/gui/src/lib/graphics/text_engine


Ignore:
Timestamp:
May 26, 2006, 3:54:11 PM (18 years ago)
Author:
bensch
Message:

fixed the Shell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/graphics/text_engine/text.cc

    r7873 r7874  
    243243    if(this->font->getGlyphArray()[this->text[i]] != NULL)
    244244      width += this->font->getGlyphArray()[this->text[i]]->advance;
    245   this->setSizeX2D(width *this->getSize());
     245  this->setSizeX2D(width * this->getSize());
     246  printf("%s:: %f\n", this->text.c_str(), width * this->getSize());
    246247}
    247248
Note: See TracChangeset for help on using the changeset viewer.