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

Richard Spindler richard.spindler at gmail.com
Tue Jul 26 16:29:42 UTC 2005


On 7/26/05, James McDermott <jamesmichaelmcdermott at gmail.com> 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




More information about the Linux-audio-dev mailing list