Changeset 5089 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Aug 21, 2005, 8:17:31 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5084 r5089 410 410 void GraphicsEngine::update(float dt) 411 411 { 412 //NullElement2D::getInstance()->update2D(dt);412 NullElement2D::getInstance()->update2D(dt); 413 413 NullElement2D::getInstance()->debug(0); 414 414 … … 468 468 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0); 469 469 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); 470 this->geTextCFPS->set Position2D(5, 5);470 this->geTextCFPS->setAbsCoor2D(5, 5); 471 471 } 472 472 if (this->geTextMaxFPS == NULL) … … 474 474 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0); 475 475 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); 476 this->geTextMaxFPS->set Position2D(5, 35);476 this->geTextMaxFPS->setAbsCoor2D(5, 35); 477 477 } 478 478 if (this->geTextMinFPS == NULL) … … 480 480 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/arial_black.ttf", 15, TEXT_DYNAMIC, 0, 255, 0); 481 481 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT); 482 this->geTextMinFPS->set Position2D(5, 65);482 this->geTextMinFPS->setAbsCoor2D(5, 65); 483 483 } 484 484 #endif /* NO_TEXT */
Note: See TracChangeset
for help on using the changeset viewer.