Strange background colour in Object graphics [message #30100] |
Mon, 08 April 2002 19:30 |
K.Y.Choi
Messages: 4 Registered: April 2002
|
Junior Member |
|
|
Hi.
Thanks for your help for my questions the other day about widget
project. I managed to divide seperate widget draws in a single window
and it's even resizeable!
Another question is now araised. I put both direct and object draws in
my program (in seperate widget draws, of course). I tried to match
background colours for those draws, but only my object draws shows
rather different background colours, though I used the same colour
numbers, e.g. backColour=[236,233,216] which is gray used in ordinary
window systems. The colour was set in IDLgrView as follows,
backColour=[236,233,216]
oView = OBJ_NEW('IDLgrView', PROJECTION=2, COLOR=backColour)
Background in all direct plots are identical to the one in the Window,
but object draw has a bit brighter colour (I'd say its rather white!).
Anyone can explain why it happens and how to correct?
Thanks.
Reno
|
|
|