Changeset 1578 for code/trunk/src/orxonox
- Timestamp:
- Jun 9, 2008, 6:29:19 PM (17 years ago)
- Location:
- code/trunk/src/orxonox/console
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/console/InGameConsole.cc
r1577 r1578 104 104 SetConfigValue(scrollSpeed_, 3.0f); 105 105 SetConfigValue(noiseSize_, 1.0f); 106 SetConfigValue(cursorSymbol_, '|'); 106 107 } 107 108 … … 152 153 153 154 // create cursor (also a text area overlay element) 154 this->consoleOverlayCursor_ = static_cast<TextAreaOverlayElement*>(ovMan->createOverlayElement("TextArea", "InGameConsole TextArea" + Ogre::StringConverter::toString(i)));155 this->consoleOverlayCursor_ = static_cast<TextAreaOverlayElement*>(ovMan->createOverlayElement("TextArea", "InGameConsoleCursor")); 155 156 this->consoleOverlayCursor_->setMetricsMode(Ogre::GMM_PIXELS); 156 157 this->consoleOverlayCursor_->setFontName("Monofur"); … … 158 159 this->consoleOverlayCursor_->setParameter("colour_top", "0.21 0.69 0.21"); 159 160 this->consoleOverlayCursor_->setLeft(7); 160 this->consoleOverlayCursor_->setCaption( "|");161 this->consoleOverlayCursor_->setCaption(std::string(this->cursorSymbol_, 1)); 161 162 this->consoleOverlayContainer_->addChild(this->consoleOverlayCursor_); 162 163 -
code/trunk/src/orxonox/console/InGameConsole.h
r1577 r1578 89 89 float cursor_; 90 90 unsigned int inputWindowStart_; 91 char cursorSymbol_;92 91 bool bShowCursor_; 93 92 std::string displayedText_; … … 105 104 float scrollSpeed_; 106 105 float noiseSize_; 106 char cursorSymbol_; 107 107 }; 108 108 }
Note: See TracChangeset
for help on using the changeset viewer.