MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / adjustColorPriorities

Method adjustColorPriorities

src/core/map.cpp:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void Map::MapColorSet::adjustColorPriorities(int first, int last)
152{
153 // TODO: delete or update RenderStates with these colors
154 for (int i = first; i < last; ++i)
155 colors[i]->setPriority(i);
156}
157
158// This algorithm tries to maintain the relative order of colors.
159MapColorMap Map::MapColorSet::importSet(const Map::MapColorSet& other, std::vector< bool >* filter, Map* map)

Callers

nothing calls this directly

Calls 1

setPriorityMethod · 0.80

Tested by

no test coverage detected