Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5089 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.cc


Ignore:
Timestamp:
Aug 21, 2005, 8:17:31 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: rebuild Element2D. Now it is more like PNode

File:
1 edited

Legend:

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

    r5084 r5089  
    410410void GraphicsEngine::update(float dt)
    411411{
    412 //  NullElement2D::getInstance()->update2D(dt);
     412  NullElement2D::getInstance()->update2D(dt);
    413413  NullElement2D::getInstance()->debug(0);
    414414
     
    468468  this->geTextCFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0);
    469469  this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT);
    470   this->geTextCFPS->setPosition2D(5, 5);
     470  this->geTextCFPS->setAbsCoor2D(5, 5);
    471471}
    472472if (this->geTextMaxFPS == NULL)
     
    474474      this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0);
    475475      this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT);
    476       this->geTextMaxFPS->setPosition2D(5, 35);
     476      this->geTextMaxFPS->setAbsCoor2D(5, 35);
    477477}
    478478if (this->geTextMinFPS == NULL)
     
    480480      this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0);
    481481      this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT);
    482       this->geTextMinFPS->setPosition2D(5, 65);
     482      this->geTextMinFPS->setAbsCoor2D(5, 65);
    483483}
    484484#endif /* NO_TEXT */
Note: See TracChangeset for help on using the changeset viewer.