aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorJohn Mayhew2012-05-07 14:30:47 -0700
committerJohn Mayhew2012-05-07 14:30:47 -0700
commit29ad6355ef60cfb3b3fc7f780504f3ed30845883 (patch)
treebbe2dcd46c98db8138ad0a8f0263ef33324d7669 /js/tools
parent1a759361b82127f9d5c1428dc889fffdf2daaf86 (diff)
downloadninja-29ad6355ef60cfb3b3fc7f780504f3ed30845883.tar.gz
More implementation of moving color chips to the individual subtools.
Removed the tool color bar Added new icons for inkbottle Removed Pencil tool Removed Inkbottle tool Added chips to the pen, brush and tag tools Aligned controls in several subtools
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/PencilTool.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/js/tools/PencilTool.js b/js/tools/PencilTool.js
deleted file mode 100755
index 349eb1e8..00000000
--- a/js/tools/PencilTool.js
+++ /dev/null
@@ -1,32 +0,0 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5</copyright> */
6
7var Montage = require("montage/core/core").Montage,
8 DrawingTool = require("js/tools/drawing-tool").DrawingTool;
9
10exports.PencilTool = Montage.create(DrawingTool, {
11 drawingFeedback: { value: { mode: "Draw2D", type: "" } },
12
13 HandleLeftButtonDown: {
14 value: function(event) {
15 NJevent("enableStageMove");
16
17 }
18 },
19
20 HandleMouseMove: {
21 value: function(event) {
22 this.doDraw(event);
23 }
24 },
25
26 HandleLeftButtonUp: {
27 value: function(event) {
28 this.endDraw(event);
29 NJevent("disableStageMove");
30 }
31 }
32}); \ No newline at end of file