[BUG][FIX]CursorWithMask

Karl Ramberg karl.ramberg at chello.se
Sat Jul 12 17:51:38 UTC 2003



Karl Ramberg wrote:
> 
> There is a little bug in CursorWithMask that crops off
> the cursor forms. You can see it displayed if you do
> these lines one by one.
> 
> ActiveHand showTemporaryCursor: Cursor wait
> 
> Cursor initWait
> 
> ActiveHand showTemporaryCursor: Cursor wait
> 
> Cursor initialize
> 
> ActiveHand showTemporaryCursor: Cursor wait
> 
> The bug seems to be in CursorWithMask derivedFrom: where
> copying of forms were from 1 at 1 instead of 0 at 0
> 
But this makes the cursors look bad over dark/black background :-(
The problem seems to be that Cursor is a form with extent 16 at 16
and then CursorWithMask is also a form with extent 16 at 16.
And to make a CursorWithMask one copies a Cursor with a inset 
of 1. This makes two solutions possible:
1 Make CursorWithMask form extent 18 at 18 
2 Make the Cursor form nice at 14 at 14

Anybody have a opinion ?

Karl



More information about the Squeak-dev mailing list