Changeset 10397
- Timestamp:
- 04/18/11 17:13:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r10394 r10397 303 303 304 304 305 out << "<font color= ";305 out << "<font color='"; 306 306 307 307 switch (qos) 308 308 { 309 case kMessage: out << " 'black'>" "";break;310 case kInfo: out << " 'green'>" "";break;311 case kWarn: out << " '#FF6600'>" ""; break;312 case kError: out << " 'maroon'>" "";break;313 case kFatal: out << " 'maroon'>" "";break;314 case kDebug: out << " 'navy'>" "";break;315 default: out << " 'navy'>" "";break;316 } 317 out << time.GetAsStr() << " - " << text << "</font>";309 case kMessage: out << "black"; break; 310 case kInfo: out << "green"; break; 311 case kWarn: out << "#FF6600"; break; 312 case kError: out << "maroon"; break; 313 case kFatal: out << "maroon"; break; 314 case kDebug: out << "navy"; break; 315 default: out << "navy"; break; 316 } 317 out << "'>" << time.GetAsStr() << " - " << text << "</font>"; 318 318 319 319 fLogText->append(out.str().c_str());
Note:
See TracChangeset
for help on using the changeset viewer.