[LAD] Mouse/knob interaction

Olivier Guilyardi list at samalyse.com
Tue Sep 7 19:44:42 UTC 2010


On 09/07/2010 08:34 PM, Folderol wrote:
> On Tue, 7 Sep 2010 13:23:17 -0500 (CDT)
> "Gabriel M. Beddingfield" <gabrbedd at gmail.com> wrote:
> 
>> circle: no.
>> up and down: yes.
>> scroll wheel: yes.
>> left and right: up to you.
>>
> Hate the things. Would much prefer a neat collection of sliders and/or
> spin boxes.

I have been working on an experimental slider in Jackbeat. When untouched it is
very small, but big enough to see what the level is. When you click and hold on
it, it unfolds (becomes much bigger), and the mouse changes the level with
increased precision.

It may need some refinement, but some of you may like it. Unfortunately, it
isn't a real Gtk widget class, but it should be reusable in some ways:
http://jackbeat.samalyse.org/browser/trunk/src/gui/slider.c?rev=636

--
  Olivier



More information about the Linux-audio-dev mailing list