Re: NSCursor and big cursors (more than 16x16)
Re: NSCursor and big cursors (more than 16x16)
- Subject: Re: NSCursor and big cursors (more than 16x16)
- From: "M. Uli Kusterer" <email@hidden>
- Date: Sun, 27 Feb 2005 19:09:44 +0100
At 12:55 Uhr -0500 27.02.2005, Sean McBride wrote:
The NSCursor docs for the designated initialiser say:
"- (id)initWithImage:(NSImage *)newImage hotSpot:(NSPoint)aPoint
This method is the designated initializer for the class. It initializes
the receiver, assigns it newImage (which must be 16 by 16 pixels), and
sets its hot spot to aPoint"
However, if I pass an image for something larger than 16x16 pixels I
still get a valid cursor that I can display (OS 10.3.8, Rage 128 Pro). -
disappearingItemCursor is 40x40 so the 16x16 requirement seems like a
leftover from the olden days. :)
It's backwards compatibility, I think. IIRC there are some older Mac
models (and some system versions pre-10.3) that don't support bigger
cursors.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden