[FIX] CursorWithMask primitiveFailed

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Tue Feb 2 19:52:05 UTC 1999

Fixes a bug in CursorWithMask class>>#derivedFrom: that let
primitiveBeCursor fail because of an offset less than -16 at -16.
Try "(CursorWithMask derivedFrom: Cursor corner)
	showWhile: [Sensor waitButton]" (failes without this fix).
Also, makes the generated cursor prettier by centering it on it's mask.
Also, adds some utility methods (hasMask, withMask, etc.)


  Bert Freudenberg                                            Department of
                                                             Simulation and
  mailto:bert at isg.cs.uni-magdeburg.de                     Computer Graphics
  http://isgwww.cs.uni-magdeburg.de/isg/bert.html        Univ. of Magdeburg

Content-Type: TEXT/PLAIN; name="CursorMask.2Febr749pm.cs"
Content-ID: <Pine.GSO.4.05.9902022052050.24947 at luxator>
Content-Description: CursorMask.cs
Content-Disposition: attachment; filename="CursorMask.2Febr749pm.cs"

Attachment converted: Anon:CursorMask.2Febr749pm.cs (TEXT/MSIE) (00006850)

More information about the Squeak-dev mailing list