Posted by
Bert Freudenberg on
Mar 07, 2009; 9:09am
URL: https://forum.world.st/New-Window-VM-Closures-FT2Plugin-Large-Cursors-tp106792p106800.html
On 07.03.2009, at 08:38, Andreas Raab wrote:
> Folks -
>
> Since I was in VM building mode today I figured I might as well make
> a new Squeak VM. There is some interesting new stuff in it:
>
> * Closure support. This VM is based on VMMaker-dtl.116 meaning it
> includes support for the closure bytecodes. I have verified it by
> both running a Qwaq image on this VM and and a converted closure
> image on our Stack VM (this is useful since the Stack VM will die a
> horrible death something goes wrong in the process). It worked fine
> both ways which means that I no longer need to switch VMs (yay! ;-)
John bumped the Mac VM's major version to 4 to signify closure
support. Maybe the other platforms should follow suit?
> * Experimental large cursor support. Try the following for fun (but
> don't do it in an image you care about):
>
> cursor := Cursor extent: 128@128 depth: 32.
> cursor offset: -64@-64.
> cursor getCanvas
> fillOval: cursor boundingBox color: (Color white alpha: 0.1);
> frameOval: cursor boundingBox width: 4 color: Color red;
> line: 62@64 to: 66@64 width: 1 color: Color blue;
> line: 64@62 to: 64@66 width: 1 color: Color blue.
> Cursor classPool at: #NormalCursor put: cursor.
>
> This changes your normal cursor to be a 128x128 pixels large,
> translucent cursor.
Nice. Looks like it's time to add the image support? These changesets
add a CursorWithAlpha that can be used for nice large colorful
cursors. It has a "fallback" cursor used on VMs that do not support
the new cursors yet.
http://tinlizzie.org/updates/olpc/updates/1252biggerCursors-bf.cshttp://tinlizzie.org/updates/olpc/updates/1260bigCursorFix-bf.cshttp://tinlizzie.org/updates/olpc/updates/1282bigTempCursor-bf.cs- Bert -