February 12, 2005

Inverted sliders will make me famous yet, darn it!

Posted at February 12, 2005 10:59 PM in Personal , wxWidgets .

On January 24th, I posted about the slider widget and the concept of inversion; rather than the slider having the maximum value at the bottom, having the maximum value be at the top. The short recap is that someone submitted a patch for wxWidgets to add inversion, the patch pretty much sucked, and because I needed inversion for BitWise on OS X, I went ahead and worked on the inversion. On Thursday, I finally added inversion for the Windows version, thus completing support for inverted sliders on the "big 3" [platforms: Windows, Linux and Mac OS X].

Today, someone posted on the wxWidgets users mailing list inquiring about how to make a slider have the maximum value at the top rather than the bottom, because they wanted to use a slider to represent volume where the highest volume is intuitively at the top. [Nevermind that it would be really easy to view the slider as max - value when computing the volume, but no matter.] Anyway, someone beat me to the punch replying, but it was a thrill to see the answer: "Yes, but only in 2.5.4 (not released yet) where wxSL_INVERSE style has been added to do exactly this." That's thanks to yours truly!

Of course, my root motivation was making sliders work for BitWise on OS X they way that I needed them to, but hey... doesn't mean it can't make someone else's day! It's always nice to feel useful, even if it is anonymous and unrewarded.

Comments

We've all seen it coming.

Posted by gaby de wilde at February 13, 2005 09:49 PM
Posting of new comments has been disabled for this post.