| 51 | }; |
| 52 | |
| 53 | agg::rgba8 GetLineColor(MapStyle mapStyle) |
| 54 | { |
| 55 | switch (mapStyle) |
| 56 | { |
| 57 | case MapStyleCount: LOG(LERROR, ("Wrong map style param.")); // fallthrough |
| 58 | case MapStyleDefaultDark: |
| 59 | case MapStyleVehicleDark: |
| 60 | case MapStyleOutdoorsDark: return agg::rgba8(255, 230, 140, 255); |
| 61 | case MapStyleDefaultLight: |
| 62 | case MapStyleVehicleLight: |
| 63 | case MapStyleOutdoorsLight: |
| 64 | case MapStyleMerged: return agg::rgba8(30, 150, 240, 255); |
| 65 | } |
| 66 | UNREACHABLE(); |
| 67 | } |
| 68 | |
| 69 | agg::rgba8 GetCurveColor(MapStyle mapStyle) |
| 70 | { |
no outgoing calls
no test coverage detected