Newbie Questions
Ned Konz
ned at bike-nomad.com
Fri Jul 4 23:10:44 UTC 2003
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:
And of course we have to see it in the color tests.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|