On July 26, 2010 04:50:04 am fons@kokkinizita.net wrote:
Tested: Oh dear. I see what you guys mean now.
It's not hysteresis I was seeing, per se, but a desire for the
slider to snap to the marker detents.
Which is caused by adding the marks to the sliders in the first place.
Possible fixes:
1) Draw the markings as a completely separate entity
from the sliders. We don't necessarily need tick marks,
but we get to still keep the handy page up/down snaps,
as they are part of gtk_adjustment etc.
2) Sub-class gtk_scale, and by necessity gtk_vscale.
I could take a stab at it. But do we want this?
I think 1) is the best attempt for now.
Let me take a look at how to draw them on their own.
They must expand when the the sliders expand, of course.
So maybe a bunch of labels inside an expanding vbox.
Tim.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.