How to move cursor in MVC?
Bert Freudenberg
bert at impara.de
Thu Nov 18 13:57:59 UTC 2004
Am 16.11.2004 um 23:02 schrieb lex at cc.gatech.edu:
> Bert Freudenberg <bert at impara.de> wrote:
>> In the latter case, well, complain to the VM folks to restore the
>> CursorLocPut primitive. Or do it on your own, via FFI.
>
> FWIW, there's good reason to leave it out: it is not possible on all
> devices. If the mouse is a stylus, there is no humane way for the
> device to reach out and move it. Thus, adding a primitive would break
> the pixel-for-pixel cross-platform execution that we are used to in
> Squeak.
Agreed. We actually use it as a workaround to get at incremental mouse
positions. We'd need support for freezing the on-screen pointer, still
getting mouse position deltas, and unfreezing it again (think looking
around in 3D).
- Bert -
More information about the Squeak-dev
mailing list
|