| 113 | } |
| 114 | |
| 115 | uint16_t CColorManager::GetColor16(uint16_t c, uint16_t color) const |
| 116 | { |
| 117 | if (color != 0 && color < GetHuesCount()) |
| 118 | { |
| 119 | color -= 1; |
| 120 | const int g = color / 8; |
| 121 | const int e = color % 8; |
| 122 | return g_FileManager.m_Hues[g].Entries[e].ColorTable[(c >> 10) & 0x1F]; |
| 123 | } |
| 124 | return c; |
| 125 | } |
| 126 | |
| 127 | uint16_t CColorManager::GetRadarColorData(int c) const |
| 128 | { |
no outgoing calls
no test coverage detected