- Timestamp:
- Jul 30, 2011, 10:05:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/orxonox/overlays/InGameConsole.cc
r8801 r8803 59 59 { 60 60 const int LINES = 30; 61 const float CHAR_WIDTH = 7.45f; // fix this please - determine the char-width dynamically61 const float CHAR_WIDTH = 8.0f; // fix this please - determine the char-width dynamically 62 62 63 63 SetConsoleCommand("InGameConsole", "openConsole", &InGameConsole::openConsole); … … 339 339 void InGameConsole::executed() 340 340 { 341 this->shell_->addOutput(this->shell_->getInput() + '\n', Shell::Command);341 this->shell_->addOutput(this->shell_->getInput(), Shell::Command); 342 342 } 343 343 … … 430 430 431 431 // now adjust the text lines... 432 this->desiredTextWidth_ = static_cast<int>(this->windowW_ * this->relativeWidth) - 12;432 this->desiredTextWidth_ = static_cast<int>(this->windowW_ * this->relativeWidth) - 24; 433 433 434 434 if (LINES > 0)
Note: See TracChangeset
for help on using the changeset viewer.