[OSM-talk] OSM on "factory" Macs

Dair Grant dair at refnum.com
Tue Apr 22 09:06:55 BST 2008


Frederik Ramm wrote:

> How would a "native" Mac application deal with wanting to let the user drag
> the map and at the same time wanting to let him draw a selection rectangle?
> Would they have one drag mode and one select mode then, or a modifier key for
> one of the two actions?

A selection tool should auto-scroll the canvas as the selection rectangle
approaches the edge of the window (bonus points if the speed of scrolling is
proportional to the distance between the mouse and the boundary - selecting
up to the edge of the window should scroll slowly, selecting way past the
edge of the window should scroll quickly).

If there's a separate pan tool then a popular convention is that pressing
space will temporarily switch to the pan tool until space is released.

Unfortunately the standard Preview.app only implements the second behaviour,
but if you have access to a copy of Photoshop then that's probably the best
model to copy.


-dair
___________________________________________________
dair at refnum.com              http://www.refnum.com/






More information about the talk mailing list