- Timestamp:
- Dec 31, 2015, 12:43:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/overlays/InGameConsole.cc
r10768 r11007 292 292 293 293 for (int i = LINES - 1; i > max; --i) 294 this->print("", Shell:: DebugOutput, i, true);294 this->print("", Shell::LineType::DebugOutput, i, true); 295 295 296 296 for (int i = max; i >= 1; --i) … … 318 318 { 319 319 if (LINES > 0) 320 this->print(this->shell_->getInput(), Shell:: Input, 0);320 this->print(this->shell_->getInput(), Shell::LineType::Input, 0); 321 321 322 322 if (this->shell_->getInput().empty()) … … 342 342 void InGameConsole::executed() 343 343 { 344 this->shell_->addOutput(this->shell_->getInput(), Shell:: Command);344 this->shell_->addOutput(this->shell_->getInput(), Shell::LineType::Command); 345 345 } 346 346 … … 562 562 switch (type) 563 563 { 564 case Shell:: Message:565 case Shell:: DebugOutput: colourTop = ColourValue(0.9f, 0.9f, 0.9f); break;566 567 case Shell:: UserError: colourTop = ColourValue(0.9f, 0.0f, 0.0f); break;568 case Shell:: UserWarning: colourTop = ColourValue(0.9f, 0.5f, 0.0f); break;569 case Shell:: UserStatus: colourTop = ColourValue(0.0f, 0.9f, 0.0f); break;570 case Shell:: UserInfo: colourTop = ColourValue(0.0f, 0.8f, 0.8f); break;571 572 case Shell:: InternalError: colourTop = ColourValue(0.5f, 0.0f, 0.0f); break;573 case Shell:: InternalWarning: colourTop = ColourValue(0.5f, 0.2f, 0.0f); break;574 case Shell:: InternalStatus: colourTop = ColourValue(0.0f, 0.5f, 0.0f); break;575 case Shell:: InternalInfo: colourTop = ColourValue(0.0f, 0.4f, 0.4f); break;576 577 case Shell:: Verbose: colourTop = ColourValue(0.3f, 0.3f, 0.9f); break;578 case Shell:: VerboseMore: colourTop = ColourValue(0.2f, 0.2f, 0.7f); break;579 case Shell:: VerboseUltra: colourTop = ColourValue(0.1f, 0.1f, 0.5f); break;580 581 case Shell:: Command: colourTop = ColourValue(0.8f, 0.2f, 0.8f); break;582 case Shell:: Hint: colourTop = ColourValue(0.4f, 0.0f, 0.4f); break;583 case Shell:: Input: colourTop = ColourValue(0.9f, 0.9f, 0.9f); break;584 585 default: colourTop = ColourValue(0.5f, 0.5f, 0.5f); break;564 case Shell::LineType::Message: 565 case Shell::LineType::DebugOutput: colourTop = ColourValue(0.9f, 0.9f, 0.9f); break; 566 567 case Shell::LineType::UserError: colourTop = ColourValue(0.9f, 0.0f, 0.0f); break; 568 case Shell::LineType::UserWarning: colourTop = ColourValue(0.9f, 0.5f, 0.0f); break; 569 case Shell::LineType::UserStatus: colourTop = ColourValue(0.0f, 0.9f, 0.0f); break; 570 case Shell::LineType::UserInfo: colourTop = ColourValue(0.0f, 0.8f, 0.8f); break; 571 572 case Shell::LineType::InternalError: colourTop = ColourValue(0.5f, 0.0f, 0.0f); break; 573 case Shell::LineType::InternalWarning: colourTop = ColourValue(0.5f, 0.2f, 0.0f); break; 574 case Shell::LineType::InternalStatus: colourTop = ColourValue(0.0f, 0.5f, 0.0f); break; 575 case Shell::LineType::InternalInfo: colourTop = ColourValue(0.0f, 0.4f, 0.4f); break; 576 577 case Shell::LineType::Verbose: colourTop = ColourValue(0.3f, 0.3f, 0.9f); break; 578 case Shell::LineType::VerboseMore: colourTop = ColourValue(0.2f, 0.2f, 0.7f); break; 579 case Shell::LineType::VerboseUltra: colourTop = ColourValue(0.1f, 0.1f, 0.5f); break; 580 581 case Shell::LineType::Command: colourTop = ColourValue(0.8f, 0.2f, 0.8f); break; 582 case Shell::LineType::Hint: colourTop = ColourValue(0.4f, 0.0f, 0.4f); break; 583 case Shell::LineType::Input: colourTop = ColourValue(0.9f, 0.9f, 0.9f); break; 584 585 default: colourTop = ColourValue(0.5f, 0.5f, 0.5f); break; 586 586 } 587 587
Note: See TracChangeset
for help on using the changeset viewer.