Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2011, 11:45:56 AM (13 years ago)
Author:
landauf
Message:

added new output level "message" for output directed to the user

Location:
code/branches/output/src/libraries/core/command
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/core/command/IOConsolePOSIX.cc

    r8803 r8805  
    240240        switch (type)
    241241        {
     242            case Shell::Message:
    242243            case Shell::DebugOutput:     this->cout_ << "\033[0m"; break;
    243244
  • code/branches/output/src/libraries/core/command/IOConsoleWindows.cc

    r8803 r8805  
    201201        switch (type)
    202202        {
     203            case Shell::Message:
    203204            case Shell::DebugOutput:     colour = FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE; break;
    204205
     
    249250            || !SetConsoleMode(this->stdInHandle_, 0))
    250251        {
    251             COUT(1) << "Error: Could not set Windows console settings" << std::endl;
     252            orxout(user_error) << "Error: Could not set Windows console settings" << endl;
    252253            return;
    253254        }
  • code/branches/output/src/libraries/core/command/Shell.h

    r8803 r8805  
    9191            {
    9292                DebugOutput     = debug_output,
     93                Message         = message,
    9394                UserError       = user_error,
    9495                UserWarning     = user_warning,
Note: See TracChangeset for help on using the changeset viewer.