Changeset 8805 for code/branches/output/src/libraries
- Timestamp:
- Jul 31, 2011, 11:45:56 AM (13 years ago)
- Location:
- code/branches/output/src/libraries
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/GUIManager.cc
r8799 r8805 93 93 namespace orxonox 94 94 { 95 namespace context96 {97 namespace98 {99 REGISTER_OUTPUT_CONTEXT(cegui);100 }101 }102 103 95 static void key_esc() 104 96 { GUIManager::getInstance().keyESC(); } -
code/branches/output/src/libraries/core/GraphicsManager.cc
r8798 r8805 68 68 namespace orxonox 69 69 { 70 namespace context71 {72 namespace73 {74 REGISTER_OUTPUT_CONTEXT(ogre);75 }76 }77 78 70 static const std::string __CC_GraphicsManager_group = "GraphicsManager"; 79 71 static const std::string __CC_setScreenResolution_name = "setScreenResolution"; -
code/branches/output/src/libraries/core/command/IOConsolePOSIX.cc
r8803 r8805 240 240 switch (type) 241 241 { 242 case Shell::Message: 242 243 case Shell::DebugOutput: this->cout_ << "\033[0m"; break; 243 244 -
code/branches/output/src/libraries/core/command/IOConsoleWindows.cc
r8803 r8805 201 201 switch (type) 202 202 { 203 case Shell::Message: 203 204 case Shell::DebugOutput: colour = FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE; break; 204 205 … … 249 250 || !SetConsoleMode(this->stdInHandle_, 0)) 250 251 { 251 COUT(1) << "Error: Could not set Windows console settings" << std::endl;252 orxout(user_error) << "Error: Could not set Windows console settings" << endl; 252 253 return; 253 254 } -
code/branches/output/src/libraries/core/command/Shell.h
r8803 r8805 91 91 { 92 92 DebugOutput = debug_output, 93 Message = message, 93 94 UserError = user_error, 94 95 UserWarning = user_warning, -
code/branches/output/src/libraries/util/output/OutputDefinitions.h
r8799 r8805 45 45 static const OutputLevel none = 0x0000; 46 46 47 static const OutputLevel debug_output = 0x0001; 48 static const OutputLevel user_error = 0x0002; 49 static const OutputLevel user_warning = 0x0004; 50 static const OutputLevel user_status = 0x0008; 51 static const OutputLevel user_info = 0x0010; 52 static const OutputLevel internal_error = 0x0020; 53 static const OutputLevel internal_warning = 0x0040; 54 static const OutputLevel internal_status = 0x0080; 55 static const OutputLevel internal_info = 0x0100; 56 static const OutputLevel verbose = 0x0200; 57 static const OutputLevel verbose_more = 0x0400; 58 static const OutputLevel verbose_ultra = 0x0800; 47 static const OutputLevel message = 0x0001; 48 static const OutputLevel debug_output = 0x0002; 49 static const OutputLevel user_error = 0x0004; 50 static const OutputLevel user_warning = 0x0008; 51 static const OutputLevel user_status = 0x0010; 52 static const OutputLevel user_info = 0x0020; 53 static const OutputLevel internal_error = 0x0040; 54 static const OutputLevel internal_warning = 0x0080; 55 static const OutputLevel internal_status = 0x0100; 56 static const OutputLevel internal_info = 0x0200; 57 static const OutputLevel verbose = 0x0400; 58 static const OutputLevel verbose_more = 0x0800; 59 static const OutputLevel verbose_ultra = 0x1000; 59 60 } 60 61 … … 73 74 REGISTER_OUTPUT_CONTEXT(undefined); 74 75 75 REGISTER_OUTPUT_CONTEXT(test1); 76 REGISTER_OUTPUT_CONTEXT(test2); 77 REGISTER_OUTPUT_CONTEXT(output); 76 REGISTER_OUTPUT_CONTEXT(ogre); 77 REGISTER_OUTPUT_CONTEXT(cegui); 78 78 REGISTER_OUTPUT_CONTEXT(lua); 79 79 REGISTER_OUTPUT_CONTEXT(tcl); 80 REGISTER_OUTPUT_CONTEXT(identifier); 81 REGISTER_OUTPUT_CONTEXT(object_list); 82 REGISTER_OUTPUT_CONTEXT(super); 83 REGISTER_OUTPUT_CONTEXT(language); 84 REGISTER_OUTPUT_CONTEXT(output); 85 REGISTER_OUTPUT_CONTEXT(commands); 86 REGISTER_OUTPUT_CONTEXT(executor); 87 REGISTER_OUTPUT_CONTEXT(input); 88 REGISTER_OUTPUT_CONTEXT(events); 89 REGISTER_OUTPUT_CONTEXT(config); 80 90 } 81 91 } -
code/branches/output/src/libraries/util/output/OutputManager.cc
r8801 r8805 136 136 { 137 137 case level::none: { static std::string name = "None"; return name; } 138 case level::message: { static std::string name = "Message"; return name; } 138 139 case level::debug_output: { static std::string name = "Debug"; return name; } 139 140 case level::user_error: { static std::string name = "Error"; return name; }
Note: See TracChangeset
for help on using the changeset viewer.