aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties
diff options
context:
space:
mode:
authorhwc4872012-06-13 14:04:09 -0700
committerhwc4872012-06-13 14:04:09 -0700
commit3e481dd581e0305dd8b572ed0d17e86622223464 (patch)
treeaca2b28aa72857a52e047fb94090c34ab8dd1c2c /js/components/tools-properties
parenta7aa51e6b91623772eef54b827616432838b560e (diff)
parent682f4917d6badd105998c3dd84d031c38b51f017 (diff)
downloadninja-3e481dd581e0305dd8b572ed0d17e86622223464.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
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/fill-properties.reel/fill-properties.js25
-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.js33
-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
17 files changed, 407 insertions, 72 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/fill-properties.reel/fill-properties.js b/js/components/tools-properties/fill-properties.reel/fill-properties.js
index 7331b375..ef1699af 100755
--- a/js/components/tools-properties/fill-properties.reel/fill-properties.js
+++ b/js/components/tools-properties/fill-properties.reel/fill-properties.js
@@ -10,6 +10,31 @@ var Montage = require("montage/core/core").Montage,
10 10
11var FillProperties = exports.FillProperties = Montage.create(ToolProperties, { 11var FillProperties = exports.FillProperties = Montage.create(ToolProperties, {
12 12
13 useFillColor: {
14 value: null,
15 serializable: true
16 },
17
18 _fillColorCtrl: {
19 value: null,
20 serializable: true
21 },
22
23 useWebGL: {
24 value: null,
25 serializable: true
26 },
27
28 _materialsContainer: {
29 value: null,
30 serializable: true
31 },
32
33 fillMaterial: {
34 value: null,
35 serializable: true
36 },
37
13 addedColorChips: { value: false }, 38 addedColorChips: { value: false },
14 39
15 _fill: { 40 _fill: {
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..25823d11 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 useStrokeColor: {
15 value: null,
16 serializable: true
17 },
18
19 _strokeColorCtrl: {
20 value: null,
21 serializable: true
22 },
23
24 borderWidth: {
25 value: null,
26 serializable: true
27 },
28
29 useBorderWidth: {
30 value: null,
31 serializable: true
32 },
33
34 useBorderStyle: {
35 value: null,
36 serializable: true
37 },
38
39 borderStyle: {
40 value: null,
41 serializable: true
42 },
43
44 useStrokeSize: {
45 value: null,
46 serializable: true
47 },
48
49 strokeSize: {
50 value: null,
51 serializable: true
52 },
53
54 _useWebGL: {
55 value: null,
56 serializable: true
57 },
58
59 useWebGL: {
60 value: null,
61 serializable: true
62 },
63
64 _materialsContainer: {
65 value: null,
66 serializable: true
67 },
68
69 _strokeMaterial: {
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 b