]> git.street.me.uk Git - andy/viking.git/commit - src/vikdemlayer.c
Add ability to move selected trackpoint or waypoint by the mouse within the select...
authorRob Norris <rw_norris@hotmail.com>
Fri, 4 Feb 2011 00:15:35 +0000 (00:15 +0000)
committerRob Norris <rw_norris@hotmail.com>
Thu, 31 Mar 2011 20:35:20 +0000 (21:35 +0100)
commit08f14055b729c70c631eef2113853a8d160c7f33
tree76efd7bc06dbec2705911b56475b9bea80f5418d
parenta47bfefa90251be26a409934114eeb77eaf9c42e
Add ability to move selected trackpoint or waypoint by the mouse within the select tool.

If you want to move the waypoint immediately press shift whilst selecting the waypoint, otherwise one can move it on the second selection.
If you want to move the trackpoint immediately press control whilst selecting the trackpoint, otherwise one can move it on the second selection.

The idea is to prevent accidently moving the item upon initial selection.

Reuse the core of the existing track/waypoint tool move code.
src/vikaggregatelayer.c
src/vikcoordlayer.c
src/vikdemlayer.c
src/vikgeoreflayer.c
src/vikgpslayer.c
src/viklayer.h
src/vikmapslayer.c
src/viktrwlayer.c
src/vikwindow.c
src/vikwindow.h