octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zoom GUI in fltk backend


From: Shai Ayal
Subject: Re: Zoom GUI in fltk backend
Date: Mon, 20 Jul 2009 23:00:36 +0300

On Mon, Jul 20, 2009 at 11:41 AM, Søren Hauberg<address@hidden> wrote:
> man, 20 07 2009 kl. 09:15 +0100, skrev Michael Goffioul:
>> On Sun, Jul 19, 2009 at 8:24 PM, Søren Hauberg<address@hidden> wrote:
>> >> Perhaps what we need is a feature to select the axis as current by
>> >> clicking. I think the competition does it that way.
>> >
>> > I think that would be a good approach. I don't know how to do it,
>> > though.
>>
>> I think this is backend's job. The GTK+ backend does this, you may
>> want to look at
>>
>> http://octavede.svn.sourceforge.net/viewvc/octavede/trunk/ui/gh-axesbox.cc?revision=86&view=markup
>>
>> The next step is also to set the figure's currentaxes property.
>
> Thanks, I'll have a look once time permits me.
How about the attached patch? (it's against current hg so it includes
Soren's previous patch). I used the code from octavede. It now
zooms/pans the axes in which the mouse pointer is in. It will not
change the current axes, as I'm not sure I like this idea.

Comments?

Shai

Attachment: fltk_zoom.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]