Changeset 8803 for code/branches
- Timestamp:
- Jul 30, 2011, 10:05:49 PM (13 years ago)
- Location:
- code/branches/output/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/command/ArgumentCompletionFunctions.cc
r8351 r8803 90 90 ArgumentCompletionList _groupsandcommands(const std::string& fragment, bool bOnlyShowHidden) 91 91 { 92 // note: this function returns only arguments that begin with "fragment", which would 't be necessary for the92 // note: this function returns only arguments that begin with "fragment", which wouldn't be necessary for the 93 93 // auto-completion, but it's necessary to place the line-break "\n" between groups and commands 94 94 // only if both groups AND commands are in the list. -
code/branches/output/src/libraries/core/command/IOConsolePOSIX.cc
r8799 r8803 382 382 void IOConsole::executed() 383 383 { 384 this->shell_->addOutput(this->promptString_ + this->shell_->getInput() + '\n', Shell::Command);384 this->shell_->addOutput(this->promptString_ + this->shell_->getInput(), Shell::Command); 385 385 } 386 386 -
code/branches/output/src/libraries/core/command/IOConsoleWindows.cc
r8801 r8803 329 329 void IOConsole::executed() 330 330 { 331 this->shell_->addOutput(this->promptString_ + this->shell_->getInput() + '\n', Shell::Command);331 this->shell_->addOutput(this->promptString_ + this->shell_->getInput(), Shell::Command); 332 332 } 333 333 -
code/branches/output/src/libraries/core/command/Shell.cc
r8801 r8803 395 395 else if (result != "") 396 396 { 397 this->addOutput(result, Command);397 this->addOutput(result, Result); 398 398 } 399 399 -
code/branches/output/src/libraries/core/command/Shell.h
r8801 r8803 105 105 Input, 106 106 Command, 107 Result, 107 108 Hint 108 109 }; -
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.