aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html
diff options
context:
space:
mode:
authorEric Guzman2012-06-11 13:28:42 -0700
committerEric Guzman2012-06-11 13:28:42 -0700
commit3a4727ffc350216a434a7c6977b6a23653b77780 (patch)
treec5dff306f8803c36a16163ba5df1e7f492e762b5 /js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html
parentd6b46ba496c9c8974ae39bb476aea35bcd1ddaf1 (diff)
parent337efc667372326ae2f9984d89a47bb151016774 (diff)
downloadninja-3a4727ffc350216a434a7c6977b6a23653b77780.tar.gz
Merge branch 'binding' of github.com:dhg637/ninja-internal into binding
Diffstat (limited to 'js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html')
-rwxr-xr-xjs/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html116
1 files changed, 52 insertions, 64 deletions
<
diff --git a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html
index 3ac0b261..5620eed8 100755
--- a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html
+++ b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html
@@ -11,12 +11,21 @@
11 11
12 <script type="text/montage-serialization"> 12 <script type="text/montage-serialization">
13 { 13 {
14 "borderWidthCh": { 14 "useStrokeColor": {
15 "prototype": "montage/ui/checkbox.reel", 15 "prototype": "montage/ui/checkbox.reel",
16 "properties": { 16 "properties": {
17 "element": {"#": "useBorderWidthCh"}, 17 "element": {"#": "useStrokeColor"},
18 "identifier": "useBorderWidth", 18 "identifier": "useStrokeColor",
19 "checked": true 19 "checked": true
20 }
21 },
22
23 "useBorderWidth": {
24 "prototype": "montage/ui/checkbox.reel",
25 "properties": {
26 "element": {"#": "useBorderWidth"},
27 "identifier": "useBorderWidth",
28 "checked": false
20 }, 29 },
21 "listeners": [ 30 "listeners": [
22 { 31 {
@@ -27,31 +36,24 @@
27 ] 36 ]
28 }, 37 },
29 38
30 "borderWidthLabel": { 39 "borderWidth": {
31 "prototype": "montage/ui/dynamic-text.reel",
32 "properties": {
33 "element": {"#": "borderWidthLabel"},
34 "value": "Border:"
35 }
36 },
37
38 "borderWidthHT": {
39 "prototype": "js/components/hottextunit.reel[HotTextUnit]", 40 "prototype": "js/components/hottextunit.reel[HotTextUnit]",
40 "properties": { 41 "properties": {
41 "element": {"#": "borderWidth"}, 42 "element": {"#": "borderWidth"},
42 "minValue": 1, 43 "minValue": 1,
43 "maxValue": 100, 44 "maxValue": 100,
44 "value": 1, 45 "value": 1,
45 "acceptableUnits" : ["px", "pt"] 46 "acceptableUnits" : ["px", "pt"],
47 "enabled": false
46 } 48 }
47 }, 49 },
48 50
49 "borderStyleCh": { 51 "useBorderStyle": {
50 "prototype": "montage/ui/checkbox.reel", 52 "prototype": "montage/ui/checkbox.reel",
51 "properties": { 53 "properties": {
52 "element": {"#": "useBorderStyleCh"}, 54 "element": {"#": "useBorderStyle"},
53 "identifier": "useBorderStyle", 55 "identifier": "useBorderStyle",
54 "checked": true 56 "checked": false
55 }, 57 },
56 "listeners": [ 58 "listeners": [
57 { 59 {
@@ -62,20 +64,12 @@
62 ] 64 ]
63 }, 65 },
64 66
65 "borderStyleLabel": { 67 "useStrokeSize": {
66 "prototype": "montage/ui/dynamic-text.reel",
67 "properties": {
68 "element": {"#": "borderStyleLabel"},
69 "value": "Style:"
70 }
71 },
72
73 "strokeSizeCh": {
74 "prototype": "montage/ui/checkbox.reel", 68 "prototype": "montage/ui/checkbox.reel",
75 "properties": { 69 "properties": {
76 "element": {"#": "useStrokeSizeCh"}, 70 "element": {"#": "useStrokeSize"},
77 "identifier": "useStrokeSize", 71 "identifier": "useStrokeSize",
78 "checked": true 72 "checked": false
79 }, 73 },
80 "listeners": [ 74 "listeners": [
81 { 75 {
@@ -86,15 +80,7 @@
86 ] 80 ]
87 }, 81 },
88 82
89 "strokeSizeLabel": { 83 "strokeSize": {
90 "prototype": "montage/ui/dynamic-text.reel",
91 "properties": {
92 "element": {"#": "strokeSizeLabel"},
93 "value": "Stroke:"
94 }
95 },
96
97 "strokeSizeHT": {
98 "prototype": "js/components/hottextunit.reel[HotTextUnit]", 84 "prototype": "js/components/hottextunit.reel[HotTextUnit]",
99 "properties": { 85 "properties": {
100 "element": {"#": "strokeSize"}, 86 "element": {"#": "strokeSize"},
@@ -102,16 +88,17 @@
102 "maxValue": 100, 88 "maxValue": 100,
103 "value": 1, 89 "value": 1,
104 "decimalPlace": 10, 90 "decimalPlace": 10,
105 "acceptableUnits" : ["px", "pt"] 91 "acceptableUnits" : ["px", "pt"],
92 "enabled": false
106 } 93 }
107 }, 94 },
108 95
109 "webGlCh": { 96 "useWebGL": {
110 "prototype": "montage/ui/checkbox.reel", 97 "prototype": "montage/ui/checkbox.reel",
111 "properties": { 98 "properties": {
112 "element": {"#": "useWebGLCHIB"}, 99 "element": {"#": "useWebGL"},
113 "identifier": "useWebGl", 100 "identifier": "useWebGL",
114 "checked": true 101 "checked": false
115 }, 102 },
116 "listeners": [ 103 "listeners": [
117 { 104 {
@@ -122,10 +109,10 @@
122 ] 109 ]
123 }, 110 },
124 111
125 "_strokeMaterialCB": { 112 "strokeMaterial": {
126 "prototype": "js/components/combobox.reel", 113 "prototype": "js/components/combobox.reel",
127 "properties": { 114 "properties": {
128 "element": {"#": "strokeMaterialIBCB"}, 115 "element": {"#": "strokeMaterial"},
129 "labelField": "_name", 116 "labelField": "_name",
130 "dataField": "_name" 117 "dataField": "_name"
131 } 118 }
@@ -136,23 +123,21 @@
136 "properties": { 123 "properties": {
137 "element": {"#": "inkBottleProperties"}, 124 "element": {"#": "inkBottleProperties"},
138 125
126 "useStrokeColor": {"@": "useStrokeColor"},
139 "_strokeColorCtrl": {"#": "strokeColorCtrl"}, 127 "_strokeColorCtrl": {"#": "strokeColorCtrl"},
140 128
141 "useBorderWidth": {"@": "borderWidthCh"}, 129 "useBorderWidth": {"@": "useBorderWidth"},
142 "borderWidthLabel": {"@": "borderWidthLabel"}, 130 "borderWidth": {"@": "borderWidth"},
143 "_borderWidth": {"@": "borderWidthHT"},
144 131
145 "useBorderStyle": {"@": "borderStyleCh"}, 132 "useBorderStyle": {"@": "useBorderStyle"},