umd-mith/OACVideoAnnotator — pull request #13 by jdickie (2011-12-19 20:36:38+00:00)
Title: Changes to shape Controller and Lens creation

* addShapeType(Type, {calc: Calculation Function, lens: Lens for SVG Shape})
Use to create a button, lens, and way to calculate SVG variables for a shape. Tested on Rectangle.
canvas.js

* Switched over presentations to drawspace dataview for now - will switch back after Jim gets RangePager worked on
outro.js

* New Controllers for canvas: ShapeCreateBox and AnnotationCreationButton
controllers.js

* CanvasClickController has modes for creating and selecting shapes
controllers.js

* App now has variable for CurrentMode
canvas.js

* CanvasClickController listens for mouseup, mousedown, and mousemove in order to create a shape
controllers.js