I have added the grab style scrolling capability to the scroll tool in
dia.  Just press the shift key when using the scroll tool and it should
change into a hand, and it should scroll as if you had grabbed a bit of
the image and you were draggin it around.  You only need to have been
holding shift when pressing the mouse button -- you can release shift
before the mouse button.

The main problem is that the scrolling seems to be a bit jittery.  I did
not use ddisplay_scroll(), as I did not want it to stop scrolling at
the edge of the diagram.  This may be the cause of the problem.

One other cosmetic problem is that when you press shift, the hand cursor
does not appear until the mouse is moved or a button pressed.  This could
be fixed by passing some keyboard events to the current tool.  It may be a
good idea to make use of different cursors a bit more in later releases --
such as adding a plus sign to the cursor when you hold shift when using
the normal select/modify tool.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/

Reply via email to