Generate tool's markup automatically

This commit is contained in:
Vince
2012-09-15 20:25:45 +02:00
parent 1276f338c2
commit 440a6391e9
13 changed files with 39 additions and 27 deletions

View File

@ -7,7 +7,8 @@
var ns = $.namespace("pskl.drawingtools");
ns.Rectangle = function() {
this.toolId = "tool-rectangle"
this.toolId = "tool-rectangle";
this.helpText = "Rectangle tool";
// Rectangle's first point coordinates (set in applyToolAt)
this.startCol = null;