aboutsummaryrefslogtreecommitdiff
path: root/js/data/tools-data.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/data/tools-data.js')
-rwxr-xr-xjs/data/tools-data.js52
1 files changed, 41 insertions, 11 deletions
diff --git a/js/data/tools-data.js b/js/data/tools-data.js
index ac6fe6e5..32eaf24d 100755
--- a/js/data/tools-data.js
+++ b/js/data/tools-data.js
@@ -7,7 +7,48 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
7var Montage = require("montage/core/core").Montage; 7var Montage = require("montage/core/core").Montage;
8 8
9exports.ToolsData = Montage.create(Montage, { 9exports.ToolsData = Montage.create(Montage, {
10 selectionToolIndex : {
11 value: 0
12 },
13 rotate3DToolIndex: {
14 value: 1
15 },
16 translate3DToolIndex: {
17 value: 2
18 },
19 tagToolIndex: {
20 value: 3
21 },
22 penToolIndex: {
23 value: 4
24 },
25 textToolIndex: {
26 value: 5
27 },
28 shapeToolIndex: {
29 value: 6
30 },
31 brushToolIndex: {
32 value: 7
33 },
34 fillToolIndex: {
35 value: 8
36 },
37 inkBottleToolIndex: {
38 value: 9
39 },
40 rotateStage3DToolIndex: {
41 value: 10
42 },
43 panToolIndex: {
44 value: 11
45 },
46 zoomToolIndex: {
47 value: 12
48 },
10 49
50 // NOTE: additions or removal of any tools, or any changes in the order of these entries requires updating the constant index properties above.
51 // Code in the keyboard mediator and ninja.js accesses the array below through the index constants above
11 defaultToolsData: { 52 defaultToolsData: {
12 value: [ 53 value: [
13 { 54 {
@@ -22,17 +63,6 @@ exports.ToolsData = Montage.create(Montage, {
22 "selected": true 63 "selected": true
23 }, 64 },
24 { 65 {
25 "id": "SubselectionTool",
26 "properties": "subSelectionProperties",
27 "spriteSheet": true,
28 "action": "SubselectionTool",
29 "toolTip": "Subselect Tool",
30 "cursor": "auto",
31 "lastInGroup": true,
32 "container": false,
33 "selected": false
34 },
35 {
36 "id": "RotateTool3D", 66 "id": "RotateTool3D",
37 "properties": "rotate3DProperties", 67 "properties": "rotate3DProperties",
38 "spriteSheet": true, 68 "spriteSheet": true,