diff options
author | Jonathan Duran | 2012-05-22 10:32:03 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-05-22 10:32:03 -0700 |
commit | 7b76e4664b35f044e9f24c060f1e092cb5e5c4b0 (patch) | |
tree | f0f6168b083aa929d34f37edca6c87ce7c3743bd /js/tools/PencilTool.js | |
parent | 0dc43f8b6d7db6d9ed698e8c4568e942d8e3d8eb (diff) | |
parent | c37a876b373ddc7cb19277aaeaa6bb2d2d5a50ac (diff) | |
download | ninja-7b76e4664b35f044e9f24c060f1e092cb5e5c4b0.tar.gz |
Merge branch 'refs/heads/NINJAmaster' into TimelineUber
Diffstat (limited to 'js/tools/PencilTool.js')
-rwxr-xr-x | js/tools/PencilTool.js | 32 |
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> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No 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 | |||
7 | var Montage = require("montage/core/core").Montage, | ||
8 | DrawingTool = require("js/tools/drawing-tool").DrawingTool; | ||
9 | |||
10 | exports.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 | ||