Friday, July 31, 2009

Constraints


Constraints are working. There are made three constraints for now:
- Fixed value for any shape's field that is a double
- Range value for any shape field that is a double
- CoLocation point meaning that you can setup a point to "follow" other point

Also because constraints are invisible, the treeview is cleanly separated and show their dependencies.

The editing framework is similar with the Options's dialog framework so you can define your own dialog for applying your new defined constraint.

In the upper screenshot, moving the sphere will move the attached rectangle point.

No comments: