Home »
Public Forums »
archive »
Color Flashing in IDL on Linux
Color Flashing in IDL on Linux [message #23048] |
Thu, 28 December 2000 23:34 |
satre
Messages: 1 Registered: December 2000
|
Junior Member |
|
|
Hi everyone !!
I am Sameer Atre from India and I came to know about this forum from
David.
Scenario:
My application has a top level widget with a child WIDGET_DRAW and a
number of buttons which provide a number of features to manipulate the
image.We are using our own color table which we load to display the
image.Now when I move my cursor over my display window then the main
window of the application and any other windows opened turn black.If I
move my cursor over some other window then all other windows regain
their original color but my display window shows a different color.
I am using a 8 bit image.
Image Details
DEVICE ,PSEUDO_COLOR = 8
DEVICE,DECOMPOSED =0,RETAIN=2
I used xdpyinfo to inspect the visual classes on my X-server.The default
visual ID (shared colormap)which is installed is different from the
visual ID of my display window (private colormap) which I got from
xwininfo.
print, !d.n_colors shows a value of 256 after the window is displayed.
I even tried using COLORS=-20 keyword in WIDGET_DRAW but the problem
still persists.
I guess IDL should have some setting to change the default colormap.
Regards,
sameera
Sent via Deja.com
http://www.deja.com/
|
|
|
Current Time: Sat Oct 11 14:30:12 PDT 2025
Total time taken to generate the page: 0.96231 seconds