Hello James,
take a look at the SCUM code (GUI for SuperCollider) of Stefan Kersten,
he made a 2D-slider in FLTK.
sincerely,
Marije
Tuesday, July 26, 2005, 6:00:58 PM, you wrote:
JM> Has anyone written code for, or even just seen, a 2-D slider widget?
JM> What toolkit was it in? Do people around here prefer QT to GTK+, or
JM> vice versa, and does anyone use FLTK, or something else?
JM> I think the ideal widget would allow the user to click or
JM> click-and-drag a cursor around the 2-D area, returning x and y
JM> coordinates of course; and would allow a bitmap to be displayed
JM> underneath the cursor; and would allow some way to constrain the
JM> cursor movements (eg within a circular area inside the widget).
JM> Such a thing would be great for lots of audio applications, like
JM> controlling filter cutoff and resonance at the same time. That's what
JM> I'll be doing, only a bit more complicated..!
--
Best regards,
nescivi mailto:nescivi@gmail.com