Zoom GUI in fltk backend

Shai Ayal shaiay at gmail.com
Tue Jul 21 06:58:20 CDT 2009


On Tue, Jul 21, 2009 at 1:54 PM, Ben Abbott<bpabbott at mac.com> wrote:
>
> On Jul 20, 2009, at 11:58 PM, Shai Ayal wrote:
>
>> On Tue, Jul 21, 2009 at 6:53 AM, John W. Eaton<jwe at octave.org> wrote:
>>>
>>> On 21-Jul-2009, Shai Ayal wrote:
>>>
>>> | It's not clear to me exactly what you tried, but panning is done by
>>> | dragging the mouse, zooming by using the mouse scroll wheel.
>>>
>>> Ah.  Duh.  I didn't think to try the scroll wheel.  What if I didn't
>>> have one?  I was expecting to be able to draw a rectangle and have the
>>> plot zoom to that region.  Would it be hard to implement something
>>> like that?
>
> In fact, my notebook (notebooks in general?) doesn't have a scroll wheel.
> However, I do like using the scroll wheel to zoom when I have one.
>
>> This was the previous behavior. I can make it user-definable but I
>> think we don't have a mechanism for setting backend specific settings,
>> so we'll have to agree on something before I can proceed.
>
> Would it not be possible to support both a scroll wheel and
> click-drag-release?

Maybe we should have:
mouse-1 (left button) drag: zoom
mouse-3 (right button) drag: pan
scrollwheel: zoom
mouse-1 double click: autoscale

Shai



More information about the Octave-maintainers mailing list