MCPcopy Create free account
hub / github.com/comaps/comaps / GetLightMapStyleVariant

Function GetLightMapStyleVariant

libs/indexer/map_style.cpp:71–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71MapStyle GetLightMapStyleVariant(MapStyle mapStyle)
72{
73 if (!MapStyleIsDark(mapStyle))
74 return mapStyle;
75
76 switch (mapStyle)
77 {
78 case MapStyleDefaultDark: return MapStyleDefaultLight;
79 case MapStyleVehicleDark: return MapStyleVehicleLight;
80 case MapStyleOutdoorsDark: return MapStyleOutdoorsLight;
81 default: CHECK(false, ()); return MapStyleDefaultLight;
82 }
83}

Callers 1

PreferencesDialogMethod · 0.85

Calls 1

MapStyleIsDarkFunction · 0.85

Tested by

no test coverage detected