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

Method dragMove

src/tools/pan_tool.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void PanTool::dragMove()
56{
57 MapView* view = mapWidget()->getMapView();
58 view->setPanOffset(cur_pos - click_pos);
59}
60
61void PanTool::dragFinish()
62{

Callers

nothing calls this directly

Calls 2

getMapViewMethod · 0.80
setPanOffsetMethod · 0.45

Tested by

no test coverage detected