Newbie Questions

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Sat Jul 5 13:41:54 UTC 2003


Am Samstag, 05.07.03 um 01:10 Uhr schrieb Ned Konz:

> On Friday 04 July 2003 03:47 pm, Ned Konz wrote:
>> On Friday 04 July 2003 03:19 pm, Bert Freudenberg wrote:
>>> Use trails in a transparent playfield. on top of your rectangle.
>>> I wonder if this could be considered a bug, too. I'd expect pen
>>> trails to come out on top of the painted background.
>>
>> If you paint a playfield, or use a graphic as a playfield
>> background, it works OK. For some reason, the World resists having
>> its background changed.
>
> Ah, now I see it. You're right, this looks like a bug.
>
> The problem is that the background form is being held in a submorph,
> and the submorphs get painted after the turtle trails...
>
> I can rearrange this, drawing the background sketch in #drawOn: before
> the turtle trails, and then skipping it in #drawSubmorphsOn:

Or, make the trails be a secondary background morph. Don't fear big 
changes ;-)

-- Bert



More information about the Squeak-dev mailing list