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

Method addColor

src/core/map.cpp:1233–1239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231}
1232
1233void Map::addColor(MapColor* color, int pos)
1234{
1235 color_set->insert(pos, color);
1236 setColorsDirty();
1237 emit colorAdded(pos, color);
1238 color->setPriority(pos);
1239}
1240
1241void Map::deleteColor(int pos)
1242{

Callers 6

TestMapMethod · 0.45
pristineMapTestMethod · 0.45
template_track.cppFile · 0.45
importSetMethod · 0.45
importColorsMethod · 0.45
importColorMethod · 0.45

Calls 2

setPriorityMethod · 0.80
insertMethod · 0.45

Tested by 1

TestMapMethod · 0.36