Changeset 1653 for code/branches/gui/src/orxonox/overlays
- Timestamp:
- Aug 5, 2008, 9:50:26 PM (16 years ago)
- Location:
- code/branches/gui/src/orxonox/overlays
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/overlays/OrxonoxOverlay.cc
r1633 r1653 115 115 // We'll have to get the aspect ratio manually for the first time. Afterwards windowResized() gets 116 116 // called automatically by the GraphicsEngine. 117 this->windowResized(GraphicsEngine::get Singleton().getWindowWidth(),118 GraphicsEngine::get Singleton().getWindowHeight());117 this->windowResized(GraphicsEngine::getInstance().getWindowWidth(), 118 GraphicsEngine::getInstance().getWindowHeight()); 119 119 120 120 this->changedVisibility(); -
code/branches/gui/src/orxonox/overlays/console/InGameConsole.cc
r1642 r1653 147 147 { 148 148 // create the corresponding input state 149 InputManager::getInstance().create SimpleInputState("console", 40)149 InputManager::getInstance().createInputState<SimpleInputState>("console", 40) 150 150 ->setKeyHandler(Shell::getInstance().getInputBuffer()); 151 151 … … 219 219 this->consoleOverlayContainer_->addChild(this->consoleOverlayNoise_); 220 220 221 this->windowResized(GraphicsEngine::get Singleton().getWindowWidth(), GraphicsEngine::getSingleton().getWindowHeight());221 this->windowResized(GraphicsEngine::getInstance().getWindowWidth(), GraphicsEngine::getInstance().getWindowHeight()); 222 222 223 223 // move overlay "above" the top edge of the screen -
code/branches/gui/src/orxonox/overlays/debug/DebugFPSText.cc
r1625 r1653 49 49 void DebugFPSText::tick(float dt) 50 50 { 51 float fps = GraphicsEngine::get Singleton().getAverageFramesPerSecond();51 float fps = GraphicsEngine::getInstance().getAverageFramesPerSecond(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(fps)); 53 53 } -
code/branches/gui/src/orxonox/overlays/debug/DebugRTRText.cc
r1625 r1653 49 49 void DebugRTRText::tick(float dt) 50 50 { 51 float rtr = GraphicsEngine::get Singleton().getAverageTickTime();51 float rtr = GraphicsEngine::getInstance().getAverageTickTime(); 52 52 this->text_->setCaption(this->getCaption() + convertToString(rtr)); 53 53 }
Note: See TracChangeset
for help on using the changeset viewer.