[ENH] ColorSeesTurtleTrailsToo-nk
ned at bike-nomad.com
ned at bike-nomad.com
Fri Jul 4 17:40:18 UTC 2003
from preamble:
"Change Set: ColorSeesTurtleTrailsToo-nk
Date: 4 July 2003
Author: Ned Konz
This adds a per-Project Preference called #colorSeesTurtleTrailsToo.
When this preference is set, the #color:sees: and #touchesColor: (but
not the #colorUnder) methods will take into account the turtle trails as
well.
This makes it possible to write eToys scripts that can see the turtle
trails.
By default, this preference is false, for backwards compatibility.
This also avoids an unnecessary ColorPatchCanvas copy that was in
#patchAt:without:andNothingAbove:
"
Preferences preferenceAt: #colorSeesTurtleTrailsToo
ifAbsent: [ Preferences
addPreference: #colorSeesTurtleTrailsToo
categories: #(scripting)
default: false
balloonHelp: 'if true, the ''color:sees:'' and ''touchesColor:'' tests
in eToys (but not ''colorUnder'') will also see turtle trails'
projectLocal: true
changeInformee: nil
changeSelector: nil
].!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ColorSeesTurtleTrailsToo-nk.cs.gz
Type: application/octet-stream
Size: 1898 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030704/578d23ba/ColorSeesTurtleTrailsToo-nk.cs.obj
More information about the Squeak-dev
mailing list
|