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

Function MapStyleIsDark

libs/indexer/map_style.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool MapStyleIsDark(MapStyle mapStyle)
50{
51 for (auto const darkStyle : {MapStyleDefaultDark, MapStyleVehicleDark, MapStyleOutdoorsDark})
52 if (mapStyle == darkStyle)
53 return true;
54 return false;
55}
56
57MapStyle GetDarkMapStyleVariant(MapStyle mapStyle)
58{

Callers 7

PreferencesDialogMethod · 0.85
PrepareShutdownMethod · 0.85
SetMapStyleToDefaultMethod · 0.85
SetMapStyleToVehicleMethod · 0.85
SetMapStyleToOutdoorsMethod · 0.85
GetDarkMapStyleVariantFunction · 0.85
GetLightMapStyleVariantFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected