Re: cw_dual_slider: a slider with two slides [message #51059 is a reply to message #51031] |
Fri, 03 November 2006 07:08   |
Braedley
Messages: 57 Registered: September 2006
|
Member |
|
|
Mike wrote:
> David Fanning wrote:
>> If you *must* use indexed color, don't bother us with it. Let us use all
>> the colors we want. Get the current decomposed state (GET_DECOMPOSED)
>> when you get the colors, and restore it when you restore the colors. :-)
>
> Done. This has been good for my continuing growth in the area of IDL
> colors. Instead of setting decomposed, I replaced all the color
> specifications with calls to fsc_color and color24 (with arguments come
> from widget_system_colors). I've also pixmap buffered the whole thing.
> See http://www.indyrad.iupui.edu/public/mmiller3/cw_dual_slider for
> the latest which now looks sort of windows-ish on windows, *nix-ish on
> *nix and who-knows-what-ish on macs.
>
> Mike
>
> P.S. I'm curious to see what it does look like on a mac if anyone
> wants to send a screen capture...
A vast improvement over the original version, although I did have a
little problem with it when I had a color table loaded (the color table
is a necessary evil for some routines that I use, and therefore I have
to set device, decomposed=0). It still worked, but grabbed the colors
from the color table, so it looked a little funky. Keep up the good
work!
Braedley
|
|
|