Re: logarithmic HScale widget
- From: Stefan Doehla <stefan power ele utoronto ca>
- To: gtk-list gnome org
- Subject: Re: logarithmic HScale widget
- Date: Tue, 11 Dec 2001 15:53:21 -0500
Paul Davis wrote:
Idea 3:
- don't use the slider to display a numeric value (its ugly,
anyway); use an Entry or a Label.
Some people asked me if I like sliders ...
- map between the slider position (0..1.0, for example) and
the range of the actual variable (say, -inf .. 2.0).
you just need to write 2 functions to convert in both
directions.
i have lots of log sliders in my audio application ardour, and there
we use Idea 3 above. not only that, our sliders are non-linear, so
that "physical" changes close to where the variable = 1.0 are more
sensitive then when its close to -inf (i.e when the slider adjustment
is 0). this is done by using non-linear scaling functions.
b.t.w.: ardour looks great ...
You're right. That's the easiest way to do it and makes sense.
I only thought about doing it 'the hard way' so that my GUI is
consistent. I have now 23 sliders with the values above and I didn't
want to pack everything in a box with a label.
But thanks. If nothing else helps that's definetely the way to do it ...
Stefan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]