Changeset 1469
- Timestamp:
- May 29, 2008, 1:11:08 AM (16 years ago)
- Location:
- code/branches/network/src/orxonox/console
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/console/InGameConsole.cc
r1468 r1469 242 242 this->consoleOverlayNoise_->setMaterialName("ConsoleNoise"); 243 243 244 // create cursor 245 this->consoleOverlayCursor_ = static_cast<PanelOverlayElement*>(this->om_->createOverlayElement("Panel", "InGameConsoleCursor")); 246 this->consoleOverlayCursor_->setMetricsMode(Ogre::GMM_PIXELS); 247 this->consoleOverlayCursor_->setPosition(40,217); 248 this->consoleOverlayCursor_->setDimensions(2, 20); 249 this->consoleOverlayCursor_->setMaterialName("ConsoleNoise"); 250 244 251 this->consoleOverlay_ = this->om_->create("InGameConsoleConsole"); 245 252 this->consoleOverlay_->add2D(this->consoleOverlayContainer_); 246 253 this->consoleOverlayContainer_->addChild(this->consoleOverlayBorder_); 254 this->consoleOverlayContainer_->addChild(this->consoleOverlayCursor_); 247 255 //comment following line to disable noise 248 256 this->consoleOverlayContainer_->addChild(this->consoleOverlayNoise_); -
code/branches/network/src/orxonox/console/InGameConsole.h
r1468 r1469 94 94 Ogre::OverlayContainer* consoleOverlayContainer_; 95 95 Ogre::PanelOverlayElement* consoleOverlayNoise_; 96 Ogre::PanelOverlayElement* consoleOverlayCursor_; 96 97 Ogre::BorderPanelOverlayElement* consoleOverlayBorder_; 97 98 Ogre::TextAreaOverlayElement** consoleOverlayTextAreas_;
Note: See TracChangeset
for help on using the changeset viewer.