comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help) SOLVED
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help) SOLVED [message #29174 is a reply to message #29172] Thu, 07 February 2002 13:13 Go to previous messageGo to previous message
Robert Stockwell is currently offline  Robert Stockwell
Messages: 74
Registered: October 2001
Member
Nigel Wade wrote:

> Robert Stockwell wrote:
> Ditto, the same.
>
> Don't tell me you never played snap as a kid? Maybe it's called something
> else over the pond. How does that saying go "two countries separated by a
> common language"?


heh heh


>
> That's strange. Do you do a device,decomposed=0 first? I have a feeling
> that fixes the visual to the default.



AHA! Yes that is it! I had decomposed=0 in there, and it locked IDL into
Direct Color, and causing device,true=24 commands to be ignored, and
hence the goofy diret color behaviour.

Now I get normal color. YAY!
Thanks a lot for help!

Cheers,
dancing bob
(sung to the tune of "I am evil homer")
"I've got pretty colours"
"I've got pretty colours"
"I've got pretty colours"
"I've got pretty colours"


For any who are interested, here is my startup script:


;startup.pro
;calls my startup procedures for idl

; DISPLAY _________________

; fix the IDL 5.5/Linux colour problem
if strlowcase(!version.os) eq 'linux' then device,true=24
if strlowcase(!version.os) eq 'linux' then window,/pixmap &wdelete ; fix the IDL 5.5/Linux colour problem
if strlowcase(!version.os) eq 'linux' then device,bypass_translation=0
if strlowcase(!version.os) eq 'linux' then device,retain = 2


device,decomposed=0


print,'Startup ran'
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl5.5 bug (relative path)
Next Topic: Re: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help) SOLVED

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 03:38:49 PDT 2025

Total time taken to generate the page: 0.08194 seconds