[GOODIE] Morphowary

Joshua Gargus schwa at cc.gatech.edu
Tue Jan 8 16:26:35 UTC 2002


from preamble:

"Change Set:		Morphowary (initial Squeak list release)
Date:			1 January 2002
Author:			Joshua Gargus

First cut at integrating Cassowary (a linear constraint solver for UIs)
with Morphic.  This changeset is dependent on Cassowary (attached) and
MorphBoundsRefactoring (sent to list separately), and has been 'tested'
under Squeak 3.2-4599.

Currently, the only morph property that can be constrained is its bounds
(actually, its position and extent).  However, others could easily be
added.

There is no UI for creating constraints, although both the World menu
and morphs' red halo menus have a menu item, 'view constraints...',
which brings up a minimal UI for enabling/disabling/deleting
constraints.  The 
methods SolverLiason>>demo1 and demo2 show how to generate constraints
procedurally.

The core classes are found in Morphowary-Solver, and Morphowary-Morphs
contain the code for the rudimentary UI.  Morphowary-Tests is woefully
behind the rest of the system.

TO DO (clearly not exhaustive):
-------------------------------------
-Performance optimization: there is currently a big speed hit for
adding/removing edit vars each cycle.

"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Morphowary.cs.gz
Type: application/octet-stream
Size: 22688 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020108/4b79fe5d/Morphowary.cs.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cassowary.4.cs.gz
Type: application/octet-stream
Size: 18035 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020108/4b79fe5d/Cassowary.4.cs.obj


More information about the Squeak-dev mailing list