aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/tools-properties')
-rwxr-xr-xjs/components/tools-properties/brush-properties.reel/brush-properties.js40
-rwxr-xr-xjs/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js65
-rwxr-xr-xjs/components/tools-properties/line-properties.reel/line-properties.js5
-rwxr-xr-xjs/components/tools-properties/object3d-properties.reel/object3d-properties.js11
-rwxr-xr-xjs/components/tools-properties/oval-properties.reel/oval-properties.js11
-rwxr-xr-xjs/components/tools-properties/pen-properties.reel/pen-properties.html4
-rwxr-xr-xjs/components/tools-properties/pen-properties.reel/pen-properties.js15
-rwxr-xr-xjs/components/tools-properties/rect-properties.reel/rect-properties.html1
-rwxr-xr-xjs/components/tools-properties/rect-properties.reel/rect-properties.js20
-rwxr-xr-xjs/components/tools-properties/selection-properties.reel/selection-properties.js86
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.html7
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.js71
-rwxr-xr-xjs/components/tools-properties/tag-properties.reel/tag-properties.js26
-rwxr-xr-xjs/components/tools-properties/text-properties.reel/text-properties.html18
-rwxr-xr-xjs/components/tools-properties/text-properties.reel/text-properties.js44
-rwxr-xr-xjs/components/tools-properties/zoom-properties.reel/zoom-properties.js12
16 files changed, 365 insertions, 71 deletions
diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.js b/js/components/tools-properties/brush-properties.reel/brush-properties.js
index 7a0d21f1..1af128af 100755
--- a/js/components/tools-properties/brush-properties.reel/brush-properties.js
+++ b/js/components/tools-properties/brush-properties.reel/brush-properties.js
@@ -11,6 +11,46 @@ var ToolProperties = require("js/components/tools-properties/tool-properties").T
11var BrushProperties = exports.BrushProperties = Montage.create(ToolProperties, { 11var BrushProperties = exports.BrushProperties = Montage.create(ToolProperties, {
12 addedColorChips: { value: false }, 12 addedColorChips: { value: false },
13 13
14 _fillColorCtrl: {
15 value: null,
16 serializable: true
17 },
18
19 _strokeSize: {
20 value: null,
21 serializable: true
22 },
23
24 _strokeHardness: {
25 value: null,
26 serializable: true
27 },
28
29 _doSmoothing: {
30 value: null,
31 serializable: true
32 },
33
34 _smoothingAmount: {
35 value: null,
36 serializable: true
37 },
38
39 _useCalligraphic: {
40 value: null,
41 serializable: true
42 },
43
44 _strokeAngle: {
45 value: null,
46 serializable: true
47 },
48
49 _angleLabel: {
50 value: null,
51 serializable: true
52 },
53
14 _fill: { 54 _fill: {
15 enumerable: false, 55 enumerable: false,
16 value: { colorMode: 'rgb', color: { r: 0, g: 0, b: 0, a: 1, css: 'rgb(0,0,0)', mode: 'rgb', wasSetByCode: true, type: 'change' }, webGlColor: [0, 0, 0, 1] } 56 value: { colorMode: 'rgb', color: { r: 0, g: 0, b: 0, a: 1, css: 'rgb(0,0,0)', mode: 'rgb', wasSetByCode: true, type: 'change' }, webGlColor: [0, 0, 0, 1] }
diff --git a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js
index 7affe581..e52da410 100755
--- a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js
+++ b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js
@@ -11,6 +11,71 @@ var Montage = require("montage/core/core").Montage,
11var InkBottleProperties = exports.InkBottleProperties = Montage.create(ToolProperties, { 11var InkBottleProperties = exports.InkBottleProperties = Montage.create(ToolProperties, {
12 addedColorChips: { value: false }, 12 addedColorChips: { value: false },
13 13
14 _strokeColorCtrl: {
15 value: null,
16 serializable: true
17 },
18
19 useBorderWidth: {
20 value: null,
21 serializable: true
22 },
23
24 borderWidthLabel: {
25 value: null,
26 serializable: true
27 },
28
29 _borderWidth: {
30 value: null,
31 serializable: true
32 },
33
34 useBorderStyle: {
35 value: null,
36 serializable: true
37 },
38
39 borderStyleLabel: {
40 value: null,
41 serializable: true
42 },
43
44 _borderStyle: {
45 value: null,
46 serializable: true
47 },
48
49 useStrokeSize: {
50 value: null,
51 serializable: true
52 },
53
54 strokeSizeLabel: {
55 value: null,
56 serializable: true
57 },
58
59 _strokeSize: {
60 value: null,
61 serializable: true
62 },
63
64 _useWebGL: {
65 value: null,
66 serializable: true
67 },
68
69 _materialsContainer: {
70 value: null,
71 serializable: true
72 },
73
74 _strokeMaterial: {
75 value: null,
76 serializable: true
77 },
78
14 _stroke: { 79 _stroke: {
15 enumerable: false, 80 enumerable: false,
16 value: { colorMode: 'rgb', color: { r: 255, g: 255, b: 255, a: 1, css: 'rgb(255,255,255)', mode: 'rgb', wasSetByCode: true, type: 'change' }, webGlColor: [1, 1, 1, 1] } 81 value: { colorMode: 'rgb', color: { r: 255, g: 255, b: 255, a: 1, css: 'rgb(255,255,255)', mode: 'rgb', wasSetByCode: true, type: 'change' }, webGlColor: [1, 1, 1, 1] }
diff --git a/js/components/tools-properties/line-properties.reel/line-properties.js b/js/components/tools-properties/line-properties.reel/line-properties.js
index ce8c0494..8c845432 100755
--- a/js/components/tools-properties/line-properties.reel/line-properties.js
+++ b/js/components/tools-properties/line-properties.reel/line-properties.js
@@ -9,7 +9,10 @@ var Montage = require("montage/core/core").Montage,
9 9
10exports.LineProperties = Montage.create(ToolProperties, { 10exports.LineProperties = Montage.create(ToolProperties, {
11 11
12 base: { value: null }, 12 base: {
13 value: null,
14 serializable: true
15 },
13 16
14 _subPrepare: { 17 _subPrepare: {
15 value: function() { 18 value: function() {
diff --git a/js/components/tools-properties/object3d-properties.reel/object3d-properties.js b/js/components/tools-properties/object3d-properties.reel/object3d-properties.js
index d7f0976c..33ef3394 100755
--- a/js/components/tools-properties/object3d-properties.reel/object3d-properties.js
+++ b/js/components/tools-properties/object3d-properties.reel/object3d-properties.js
@@ -10,8 +10,15 @@ var defaultEventManager = require("montage/core/event/event-manager").defaultEve
10var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties; 10var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties;
11 11
12exports.Object3DProperties = Montage.create(ToolProperties, { 12exports.Object3DProperties = Montage.create(ToolProperties, {
13 rotateLocally: { value: null, enumerable: false }, 13 rotateLocally: {
14 rotateGlobally: { value: null, enumerable: false }, 14 value: null,
15 serializable: true
16 },
17
18 rotateGlobally: {
19 value: null,
20 serializable: true
21 },
15 22
16 _subPrepare: { 23 _subPrepare: {
17 value: function () { 24 value: function () {
diff --git a/js/components/tools-properties/oval-properties.reel/oval-properties.js b/js/components/tools-properties/oval-properties.reel/oval-properties.js
index 3edd9214..d371193f 100755
--- a/js/components/tools-properties/oval-properties.reel/oval-properties.js
+++ b/js/components/tools-properties/oval-properties.reel/oval-properties.js
@@ -8,8 +8,15 @@ var Montage = require("montage/core/core").Montage,
8 ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties; 8 ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties;
9 9
10exports.OvalProperties = Montage.create(ToolProperties, { 10exports.OvalProper