Revision [280]
This is an old revision of ioSetCursorWithMask made by JohnMcIntosh on 2008-10-21 01:12:53.
sqInt ioSetCursorWithMask(sqInt cursorBitsIndex, sqInt cursorMaskIndex, sqInt offsetX, sqInt offsetY)
Parms:
cursorBitsIndex pointer to oops, data bits describing cursor
cursorMaskIndex pointer to oops, data bits describing mask
offsetX integer, offset to hot spot X, the pixel where the click is
offsetY integer, offset to hot spot Y, the pixel where the click is
return: NONE, fake return of zero
From: Interpreter
Why:
To set the host system cursor and host spot
Responsibility:
Also see ioSetCursorARGB which is bigger cursor support
MacIntoshos-9/OSXCarbon
If headless or not drawing in the browser yet then return
Set bigger cursors to off
Copy the data from the Squeak oops into a MacCursor, respect issues with powerpc/intel
Check to see if we need to send the cursor to the browser plugin, or we have to draw it because we are full screen in the browser, or running
not as a browser subtask. Then use OS-9 era call to set the cursor.
Cocoa:
TBD
iPhone
The iPhone has no concept of a cursor, so the api does return 0
Unix
Use X-Windows to display the cursor in the proper endian
Windows
Use create and set cursor, return 1
BUGS
Platforms return 1 or 0 which are cheerfully ignored.