[GOODIE] BroomMorph-nk (add selective behavior)

Ned Konz ned at bike-nomad.com
Wed Aug 28 22:16:00 UTC 2002


from preamble:

"Change Set:		BroomMorph-nk
Date:			28 August 2002
Author:			Ned Konz

This is a Morph (actually a family of Morphs) that do alignment of other
morphs.

Drag a BroomMorph in some direction and it becomes a broom that can
align the Morphs it touches.

This idea is borrowed from the GEF framework (http://gef.tigris.org)

If you want to pick up a BroomMorph, you can use the Shift key.

This version adds undo, and makes the broom go back to its original
position when idle.

This adds filtering capabilities to BroomMorph.

It also makes yellow-button-drag align centers.

It also defines a special kind of BroomMorph for editing Connectors
drawings.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BroomMorph-nk.cs.gz
Type: application/octet-stream
Size: 7588 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020828/4d5183de/BroomMorph-nk.cs.obj


More information about the Squeak-dev mailing list