[SDL] Custom mouse cursor size

Peter Mulholland darkmatter at freeuk.com
Wed Dec 6 14:25:00 PST 2006


Hello Jonathan,

Wednesday, December 6, 2006, 8:34:25 PM, you wrote:

> I thought SDL provided functions to deal with cursors defined as
> bit arrays (like SDL_CreateCursor())...  Is this not
> platform-independent?  If it isn't, then why would SDL have it?

It is, but most systems only have 16x16 mouse pointers as they use a
hardware cursor that only has this size. Even if it is drawn in
software, it is still usually limited to 16x16.

So... it is "portable" but only to the extent of most window managers
pointer capabilities.

-- 
Best regards,
 Peter                            mailto:darkmatter at freeuk.com





More information about the SDL mailing list