Living happily together

Jim Benson jb at speed.net
Tue Jul 10 03:58:04 UTC 2001


Jon,

> If you use an FSM for dragging, its almost trivial to add this...

Sorry, my acronym memory just shorted out. When an acronym starts with F I
usually get scared. What does FSM stand for?

Jim

>
> Every GUI frameworks in the world has this problem... The way that it is
> solved is by introducing a "slop rectangle", which is an area of about 3-4
> pixels around where you click the mouse, where moving the mouse doesn't
> start a drag operation.
>
> Once you go outside the slop rectangle (while the mouse button is down),
> you need to compensate for the amount the mouse moved while you were
inside
> the slop rectangle.
>
> If you use an FSM for dragging, its almost trivial to add this...
>
> Later,
> Jon
>






More information about the Squeak-dev mailing list