Re: How to use fewer colors for Widget-app- [message #1631] |
Mon, 10 January 1994 06:01 |
knipp
Messages: 68 Registered: January 1993
|
Member |
|
|
In article 7g2@canopus.cc.umanitoba.ca, djackson@ibd.nrc.ca (Dick Jackson) writes:
In article 7g2@canopus.cc.umanitoba.ca, djackson@ibd.nrc.ca (Dick Jackson) writes:
> In article <2ghv4c$74s@canopus.cc.umanitoba.ca>
> djackson@ibd.nrc.ca (Dick Jackson) writes:
>
>> I want to explicitly request only 8
>> colors for the window that is created when I do:
>>
>> WIDGET_CONTROL, my_window_widget, /REALIZE
...
>
> Cheers,
> -Dick
>
> Dick Jackson djackson@ibd.nrc.ca Standard
> disclaimer
> Institute for Biodiagnostics, National Research Council Canada,
> Winnipeg
> Waitress: "We're out of hummous so I gave you extra babagonoush" Me: %^P
Hi,
try:
WINDOW, /FREE, COLORS=8, XSIZE=32, YSIZE=32, /PIXMAP
WDELETE
If this is the 1st window opened in your actual IDL-session,
all the following windows will be sticked with !d.n_colors = 8.
Karl
____________________________________________________________ __________________
__ ____ __
/ // _ \ / / Karlheinz Knipp phone: +49 511 - 762 4922
/ // /_/ // / University of Hannover fax: +49 511 - 762 2483
/ // ____// / Institute for Photogrammetry
/ // / / / Nienburger Str.1
/_//_/ /_/ FRG 30167 Hannover 1 email: knipp@ipi.uni-hannover.de
|
|
|