[Vm-dev] VM Maker: VMMaker-dtl.298.mcz
Bert Freudenberg
bert at freudenbergs.de
Wed Feb 13 17:56:26 UTC 2013
On 2013-02-13, at 00:34, commits at source.squeak.org wrote:
> VMMaker 4.10.11
>
> Enable large cursor support in the 64-bit image. Previous concern about bitmap conversion is apparently no longer relevant, as #primitiveBeCursor works properly on the 64-bit image (but tested only on little-endian).
>
> =============== Diff against VMMaker-dtl.297 ===============
>
> Item was changed:
> ----- Method: InterpreterPrimitives>>primitiveBeCursor (in category 'I/O primitives') -----
> primitiveBeCursor
> "Set the cursor to the given shape. The Mac only supports 16x16 pixel cursors. Cursor offsets are handled by Smalltalk."
>
> | cursorObj maskBitsIndex maskObj bitsObj extentX extentY depth offsetObj offsetX offsetY cursorBitsIndex ourCursor |
>
> - self flag: #Dan. "This is disabled until we convert bitmaps appropriately"
> - objectMemory bytesPerWord = 8 ifTrue: [^ self pop: argumentCount].
> -
This primitive is not only for ARGB cursors but for all cursor changes. You should try with something like
Cursor crossHair showWhile: [Sensor waitButton]
to see if regular (1 / 2 bit) cursors work, too.
- Bert -
More information about the Vm-dev
mailing list