MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / SetBackColor

Method SetBackColor

src/Utilities/Debug.cpp:161–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void Console::SetBackColor(ConsoleColor color)
162{
163 if (NULL == ConsoleHandle)
164 return;
165
166 if (TextAttribute.Background == color)
167 return;
168
169 TextAttribute.Background = color;
170 SetConsoleTextAttribute(ConsoleHandle, TextAttribute.AsWord);
171}
172
173void Console::EnableUnderscore(bool enable)
174{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected