Re: [linux-audio-dev] [OT] 2-D slider widget?

From: Richard Spindler <richard.spindler@email-addr-hidden>
Date: Tue Jul 26 2005 - 19:29:42 EEST

On 7/26/05, James McDermott <jamesmichaelmcdermott@email-addr-hidden> wrote:
> Has anyone written code for, or even just seen, a 2-D slider widget?
> What toolkit was it in? Do people around here prefer QT to GTK+, or
> vice versa, and does anyone use FLTK, or something else?

I used to use wxWidgets, but I switched to FLTK.

> I think the ideal widget would allow the user to click or
> click-and-drag a cursor around the 2-D area, returning x and y
> coordinates of course;

This should be trivial in any Toolkit, a matter of minutes I believe. ;)

> and would allow a bitmap to be displayed
> underneath the cursor; and would allow some way to constrain the
> cursor movements (eg within a circular area inside the widget).

This might be a bit trickier, depending on the shape of the bitmap,
but a circle should be trivial too.

-Richard
Received on Tue Jul 26 20:15:27 2005

This archive was generated by hypermail 2.1.8 : Tue Jul 26 2005 - 20:15:27 EEST