| 159 | } |
| 160 | |
| 161 | void 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 | |
| 173 | void Console::EnableUnderscore(bool enable) |
| 174 | { |
nothing calls this directly
no outgoing calls
no test coverage detected