[FIX] ColorSeesTurtleTrailsToo-nk ( fixed install )

ned at bike-nomad.com ned at bike-nomad.com
Wed Jul 9 17:19:43 UTC 2003


from preamble:

"Change Set:		ColorSeesTurtleTrailsToo-nk
Date:			9 July 2003
Author:			Ned Konz

If you haven't loaded a prior version of this change set, please load
ColorSeesTurtleTrailsToo2-nk instead of this one.

The preamble will check for this.

This change set does the following:

* Makes turtle trails appear above the background sketch if any
* Makes #color:sees: and #touchesColor: tests work right with display
depths > 8.
* Makes #color:sees: and #touchesColor: work right in the World
* Makes the grid visible to #color:sees:, #colorUnder and #touchesColor:

It may break some scripts that use #color:sees: or #touchesColor: on
playfields that have background grids, if the color being sought is
exactly the same color as the color of the grid. To fix these scripts,
change the grid color slightly.

It also will use more memory for the turtle trails form when your
display depth is > 8. However, this memory will be discarded before
saving the image.

This change set also removes an unnecessary ColorPatchCanvas copy that
was in #patchAt:without:andNothingAbove:

v6:
- made sure that backgroundMorph gets nil'd out when it's unlocked and
then deleted.

v5:
- restored logic in Color>>indexInMap:
- avoided making too large a color map when depth < 16

v4:
- Made grid visible to #color:sees: #colorUnder and #touchesColor:
- Made turtle trails visible to #colorUnder

v3:
- Changed back to seeing the entire world.
- Made background sketches appear underneath the turtle trails.
- Removed preference.

v2:
- Made the turtle trails form deeper if necessary. Maybe clear the
turtle trails when the preference changes.

"

(ChangeSorter changeSetNamed: 'ColorSeesTurtleTrailsToo-nk') ifNil: [
self error: 'Please install ColorSeesTurtleTrailsToo2-nk.cs instead' ].

Preferences expungePreferenceNamed: #colorSeesTurtleTrailsToo.!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ColorSeesTurtleTrailsToo-nk.cs.gz
Type: application/octet-stream
Size: 3438 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030709/399548ca/ColorSeesTurtleTrailsToo-nk.cs.obj


More information about the Squeak-dev mailing list