[BUG][FIX]CursorWithMask

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Sat Jul 12 19:37:14 UTC 2003


Am Samstag, 12.07.03 um 20:24 Uhr schrieb Ned Konz:

> On Saturday 12 July 2003 10:51 am, Karl Ramberg wrote:
>
>> 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 ?
>
> Aren't there possible platform limitations as to the size of a
> hardware cursor?

Yes, 16x16 (exactly) is what the primitive expects. This is the lowest 
common denominator of all platforms.

OTOH, nowadays some platforms offer support for large, colored, 
alpha-blended cursors. Maybe it's time to update the cursor support. Of 
course we need to maintain compatibility with lesser platforms.

-- Bert



More information about the Squeak-dev mailing list