On 29 Jan, Matthias Koester wrote:
> Hi,
> 
> i've updated my patch.  The autoscrolling now works like Jeffrey has
> suggested it. You must leave the canvas with the mouse, to scroll. The
> scroll-amount depends on the distance between the mouse-pointer and the
> border of the canvas. Because i think that not only the modify-tool
> should enable autoscrolling,
> i've added a function gboolean ddisplay_autoscroll(ddisp* ddsp, int x,
> int y) in which you pass in the coordinates of the mouse-pointer. If the
> mouse-pointer is outside the canvas, the canvas is scrolled and the
> function returns TRUE. Otherwise it returns FALSE.
> I've only added a call to the function in the file modify_tool.c .
> 
> The patch is attached to this mail, it's adiff from the lastest CVS.

 This looks very good. I've applied it to my tree. I will commit it as
 soon as the gnome cvs server is up again.

/ Alex

Reply via email to