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

Home » Public Forums » archive » Re: The 'MAC' device and the 'CURSOR_IMAGE' keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: The 'MAC' device and the 'CURSOR_IMAGE' keyword [message #7065] Mon, 23 September 1996 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Theil writes:

> Does anyone know how to manipulate the cursor under the mac version
> of IDL? When I try to set the cursor_image keyword in a device call
> I get an error 'Keyword CURSOR_IMAGE not allowed in call to: DEVICE'.

Page 3-2 of the IDL Reference Manual indicates that this keyword
is not available for the Mac.

> I have some other Mac IDL specific questions:
> xloadct does not work properly on my mac. Changing the color table does
> not update the currently displayed graphics. Why?

Your Mac is not set up as an 8-bit color device. You may have either
16-bit color or 24-bit color turned on for your monitor. In this version
of IDL XLOADCT is designed to work properly only for 8-bit devices.
You can find out how many colors you are using by looking at the
system variable !D.N_COLORS.

You can use IDL in this mode, but you have to redisplay your graphic
*after* you load the color table to see the effect.

For example, if I have my Mac set up to display "thousands" of colors
and I want to change the colors of an image, I have to do this:

; Display the image in gray-scale.

LOADCT, 0
TVSCL, DIST(200,200)

; Change to Standard Gamma II colors.

LOADCT, 5
TVSCL, DIST(200,200)

On a Mac, it is usually easier to just change the Monitor control
panel to 256 color mode.

> I reinstalled IDL to try to fix the above problem. Now when I type '?'
> at the prompt, IDL fails to open the onlline help application. I
> get no error and this worked fine before. Anybody got any ideas?

This happens when you don't have enough memory available to open
the IDL Help application. Try quiting some of your other applications
or allocate less memory to IDL. (Or, perhaps, turn virtual memory
on. The new MacOS 7.5.5 update is suppose to help with virtual
memory problems and it seems to really make my system more
stable when using virtual memory.)

Yours,

David

--
David Fanning, Ph.D.
Phone: 970-221-0438
Fax: 970-221-4728
E-Mail: davidf@fortnet.org
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: $$COULD YOU USE A LOTTA XTRA CASH?$$
Next Topic: Re: resizing draw widgets

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

Current Time: Sun Oct 12 14:55:54 PDT 2025

Total time taken to generate the page: 1.84199 seconds