| 21 | #include "DebugConsoleImpl.h" |
| 22 | |
| 23 | ETerminalColour GetTerminalColour(char c) |
| 24 | { |
| 25 | switch(c) |
| 26 | { |
| 27 | case 'r': return TC_r; |
| 28 | case 'g': return TC_g; |
| 29 | case 'y': return TC_y; |
| 30 | case 'b': return TC_b; |
| 31 | case 'm': return TC_m; |
| 32 | case 'c': return TC_c; |
| 33 | case 'w': return TC_w; |
| 34 | case 'R': return TC_R; |
| 35 | case 'G': return TC_G; |
| 36 | case 'Y': return TC_Y; |
| 37 | case 'B': return TC_B; |
| 38 | case 'M': return TC_M; |
| 39 | case 'C': return TC_C; |
| 40 | case 'W': return TC_W; |
| 41 | default: return TC_INVALID; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | const char * const gTerminalColours[NUM_TERMINAL_COLOURS] = |
| 46 | { |
no outgoing calls
no test coverage detected