]> git.street.me.uk Git - andy/viking.git/commit
Enable double clicking as an optional way to control zooming in pan mode.
authorRob Norris <rw_norris@hotmail.com>
Fri, 6 Dec 2013 23:56:05 +0000 (23:56 +0000)
committerRob Norris <rw_norris@hotmail.com>
Mon, 9 Dec 2013 23:45:29 +0000 (23:45 +0000)
commitbeb9d63a39b01fad2c4126b695a9935443634eab
tree416ef339137139ff42e6ee99b2d9c87f581a0707
parenta129aa51e2160d7bda45e8b57ee7a8f28e83a84b
Enable double clicking as an optional way to control zooming in pan mode.

Double click of the left (primary) mouse will zoom in.
Double click of the right (secondary) mouse will zoom out.

Make use of a timeout function to wait and see if a double click event occurs.
If it hasn't then the timeout will action the single click request
 (to recenter the display to the clicked location).
help/C/viking.xml
src/vikwindow.c