- Timestamp:
- May 20, 2011, 11:32:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/src/libraries/core/command/IOConsolePOSIX.cc
r7422 r8523 236 236 void IOConsole::printOutputLine(const std::string& text, Shell::LineType type) 237 237 { 238 /*239 238 // Colour line 240 239 switch (type) 241 240 { 242 case Shell::None: this->cout_ << "\033[37m"; break;243 241 case Shell::Error: this->cout_ << "\033[91m"; break; 244 case Shell::Warning: this->cout_ << "\033[31m"; break; 245 case Shell::Info: this->cout_ << "\033[34m"; break; 246 case Shell::Debug: this->cout_ << "\033[36m"; break; 247 case Shell::Verbose: this->cout_ << "\033[35m"; break; 248 case Shell::Ultra: this->cout_ << "\033[37m"; break; 242 case Shell::Warning: this->cout_ << "\033[93m"; break; 243 case Shell::Info: this->cout_ << "\033[90m"; break; 244 case Shell::Debug: this->cout_ << "\033[90m"; break; 245 case Shell::Verbose: this->cout_ << "\033[90m"; break; 246 case Shell::Ultra: this->cout_ << "\033[90m"; break; 247 case Shell::Command: this->cout_ << "\033[36m"; break; 248 case Shell::Hint: this->cout_ << "\033[33m"; break; 249 case Shell::TDebug: this->cout_ << "\033[95m"; break; 249 250 default: break; 250 251 } 251 */252 252 253 253 // Print output line 254 254 this->cout_ << text; 255 255 256 // Reset colour to white257 // this->cout_ << "\033[37m";256 // Reset colour atributes 257 this->cout_ << "\033[0m"; 258 258 } 259 259
Note: See TracChangeset
for help on using the changeset viewer.