Changeset 6135 for code/branches/presentation2/src/orxonox/overlays
- Timestamp:
- Nov 24, 2009, 2:17:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/overlays/InGameConsole.cc
r6129 r6135 44 44 #include "util/Convert.h" 45 45 #include "util/Math.h" 46 #include "util/ UTFStringConversions.h"46 #include "util/DisplayStringConversions.h" 47 47 #include "core/CoreIncludes.h" 48 48 #include "core/ConfigValueIncludes.h" … … 477 477 { 478 478 ++linesUsed; 479 this->consoleOverlayTextAreas_[index]->setCaption(multi_cast<Ogre:: UTFString>(output.substr(0, this->maxCharsPerLine_)));479 this->consoleOverlayTextAreas_[index]->setCaption(multi_cast<Ogre::DisplayString>(output.substr(0, this->maxCharsPerLine_))); 480 480 output.erase(0, this->maxCharsPerLine_); 481 481 output.insert(0, 1, ' '); … … 484 484 this->colourLine(level, index); 485 485 } 486 this->consoleOverlayTextAreas_[index]->setCaption(multi_cast<Ogre:: UTFString>(output));486 this->consoleOverlayTextAreas_[index]->setCaption(multi_cast<Ogre::DisplayString>(output)); 487 487 this->displayedText_ = output; 488 488 this->numLinesShifted_ = linesUsed; … … 502 502 this->inputWindowStart_ = 0; 503 503 this->displayedText_ = output; 504 this->consoleOverlayTextAreas_[index]->setCaption(multi_cast<Ogre:: UTFString>(output));504 this->consoleOverlayTextAreas_[index]->setCaption(multi_cast<Ogre::DisplayString>(output)); 505 505 } 506 506 }
Note: See TracChangeset
for help on using the changeset viewer.