MCPcopy Create free account
hub / github.com/BVLC/caffe / GetColorAttribute

Function GetColorAttribute

src/gtest/gtest-all.cpp:3863–3870  ·  view source on GitHub ↗

Returns the character attribute for the given color.

Source from the content-addressed store, hash-verified

3861
3862// Returns the character attribute for the given color.
3863WORD GetColorAttribute(GTestColor color) {
3864 switch (color) {
3865 case COLOR_RED: return FOREGROUND_RED;
3866 case COLOR_GREEN: return FOREGROUND_GREEN;
3867 case COLOR_YELLOW: return FOREGROUND_RED | FOREGROUND_GREEN;
3868 default: return 0;
3869 }
3870}
3871
3872#else
3873

Callers 1

ColoredPrintfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected