Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1233
void 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
1241
void Map::deleteColor(int pos)
1242
{
Callers
6
TestMap
Method · 0.45
pristineMapTest
Method · 0.45
template_track.cpp
File · 0.45
importSet
Method · 0.45
importColors
Method · 0.45
importColor
Method · 0.45
Calls
2
setPriority
Method · 0.80
insert
Method · 0.45
Tested by
1
TestMap
Method · 0.36