octave-maintainers
[Top][All Lists]
Advanced

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

Re: Moving legend objects


From: Rik
Subject: Re: Moving legend objects
Date: Wed, 3 Jan 2018 11:45:52 -0800

On 01/03/2018 09:00 AM, address@hidden wrote:
Subject:
Re: PickableParts or HitTest graphic properties
From:
Andreas Weber <address@hidden>
Date:
01/03/2018 07:02 AM
To:
address@hidden
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
quoted-printable
Precedence:
list
MIME-Version:
1.0
References:
<address@hidden> <address@hidden>
In-Reply-To:
<address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset=utf-8
Message:
2

Am 21.12.2017 um 06:47 schrieb Daniel J Sebald:
It appears that FLTK is the toolkit for which mouse rotation in the
legend causes a zoom/unzoom.  I notice that one can mouse-click on the
legend and drag it around (a feature I'm sure many are happy with), but
that doesn't work for a garden-variety axes.  So, is there something
extra in C++ programming for legend?
It was me who added the possibility to drag the legend to another position.

In __init_fltk__.cc around line 1683 you'll find the exception for legends.

-- Andy

This is super useful.  But going forward, should this be implemented directly in C++ in say Figure.cc or Canvas.cc or should it be implemented within the Octave language using ButtonDownFcn?

We have another issue which is that the the "File" and "Edit" menus are already directly implemented in C++, but for maximum Matlab compatibility they should be implemented as uimenu objects.  For FLTK this is done when figures are created by the __add_default_menus__.m function.

--Rik


reply via email to

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