diff options
Diffstat (limited to 'js/panels/properties.reel/sections/three-d-view.reel')
-rwxr-xr-x | js/panels/properties.reel/sections/three-d-view.reel/three-d-view.html | 348 | ||||
-rwxr-xr-x | js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js | 265 |
2 files changed, 613 insertions, 0 deletions
diff --git a/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.html b/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.html new file mode 100755 index 00000000..18a7369e --- /dev/null +++ b/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.html | |||
@@ -0,0 +1,348 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html lang="en"> | ||
8 | <head> | ||
9 | <script type="text/montage-serialization"> | ||
10 | { | ||
11 | "owner": { | ||
12 | "module": "js/panels/properties.reel/sections/three-d-view.reel", | ||
13 | "name": "ThreeD", | ||
14 | "properties": { | ||
15 | "element": {"#": "section"}, | ||
16 | "x3DControl": {"@": "threeDPosX"}, | ||
17 | "y3DControl": {"@": "threeDPosY"}, | ||
18 | "z3DControl": {"@": "threeDPosZ"}, | ||
19 | "x3DLabel": {"#": "lblthreeDX"}, | ||
20 | "y3DLabel": {"#": "lblthreeDY"}, | ||
21 | "z3DLabel": {"#": "lblthreeDZ"}, | ||
22 | "xAngleControl": {"@": "threeDRotX"}, | ||
23 | "yAngleControl": {"@": "threeDRotY"}, | ||
24 | "zAngleControl": {"@": "threeDRotZ"}, | ||
25 | "axisModeGroupControl": {"@": "axisModeGroup"} | ||
26 | } | ||
27 | }, | ||
28 | |||
29 | "threeDPosX": { | ||
30 | "module": "js/components/hottextunit.reel", | ||
31 | "name": "HotTextUnit", | ||
32 | "properties": { | ||
33 | "element": {"#": "threeDPosX"}, | ||
34 | "identifier": "x3D", | ||
35 | "maxValue": 10000, | ||
36 | "minValue": -10000 | ||
37 | }, | ||
38 | "bindings": { | ||
39 | "value": { | ||
40 | "boundObject": {"@": "owner"}, | ||
41 | "boundObjectPropertyPath": "x3D", | ||
42 | "oneway": false | ||
43 | } | ||
44 | }, | ||
45 | "listeners": [ | ||
46 | { | ||
47 | "type": "change", | ||
48 | "listener": {"@": "owner"}, | ||
49 | "capture": false | ||
50 | }, | ||
51 | { | ||
52 | "type": "changing", | ||
53 | "listener": {"@": "owner"}, | ||
54 | "capture": false | ||
55 | } | ||
56 | ] | ||
57 | }, | ||
58 | "threeDPosY": { | ||
59 | "module": "js/components/hottextunit.reel", | ||
60 | "name": "HotTextUnit", | ||
61 | "properties": { | ||
62 | "element": {"#": "threeDPosY"}, | ||
63 | "identifier": "y3D", | ||
64 | "maxValue": 10000, | ||
65 | "minValue": -10000 | ||
66 | }, | ||
67 | "bindings": { | ||
68 | "value": { | ||
69 | "boundObject": {"@": "owner"}, | ||
70 | "boundObjectPropertyPath": "y3D", | ||
71 | "oneway": false | ||
72 | } | ||
73 | }, | ||
74 | "listeners": [ | ||
75 | { | ||
76 | "type": "change", | ||
77 | "listener": {"@": "owner"}, | ||
78 | "capture": false | ||
79 | }, | ||
80 | { | ||
81 | "type": "changing", | ||
82 | "listener": {"@": "owner"}, | ||
83 | "capture": false | ||
84 | } | ||
85 | ] | ||
86 | }, | ||
87 | "threeDPosZ": { | ||
88 | "module": "js/components/hottextunit.reel", | ||
89 | "name": "HotTextUnit", | ||
90 | "properties": { | ||
91 | "element": {"#": "threeDPosZ"}, | ||
92 | "identifier": "z3D", | ||
93 | "maxValue": 10000, | ||
94 | "minValue": -10000 | ||
95 | }, | ||
96 | "bindings": { | ||
97 | "value": { | ||
98 | "boundObject": {"@": "owner"}, | ||
99 | "boundObjectPropertyPath": "z3D", | ||
100 | "oneway": false | ||
101 | } | ||
102 | }, | ||
103 | "listeners": [ | ||
104 | { | ||
105 | "type": "change", | ||
106 | "listener": {"@": "owner"}, | ||
107 | "capture": false | ||
108 | }, | ||
109 | { | ||
110 | "type": "changing", | ||
111 | "listener": {"@": "owner"}, | ||
112 | "capture": false | ||
113 | } | ||
114 | ] | ||
115 | }, | ||
116 | "threeDRotX": { | ||
117 | "module": "js/components/hottextunit.reel", | ||
118 | "name": "HotTextUnit", | ||
119 | "properties": { | ||
120 | "element": {"#": "threeDRotX"}, | ||
121 | "identifier": "xAngle", | ||
122 | "minValue": -360, | ||
123 | "maxValue": 360, | ||
124 | "acceptableUnits": ["\u00B0"], | ||
125 | "units": "\u00B0" | ||
126 | }, | ||
127 | "bindings": { | ||
128 | "value": { | ||
129 | "boundObject": {"@": "owner"}, | ||
130 | "boundObjectPropertyPath": "xAngle", | ||
131 | "oneway": false | ||
132 | } | ||
133 | }, | ||
134 | "listeners": [ | ||
135 | { | ||
136 | "type": "change", | ||
137 | "listener": {"@": "owner"}, | ||
138 | "capture": false | ||
139 | }, | ||
140 | { | ||
141 | "type": "changing", | ||
142 | "listener": {"@": "owner"}, | ||
143 | "capture": false | ||
144 | } | ||
145 | ] | ||
146 | }, | ||
147 | "threeDRotY": { | ||
148 | "module": "js/components/hottextunit.reel", | ||
149 | "name": "HotTextUnit", | ||
150 | "properties": { | ||
151 | "element": {"#": "threeDRotY"}, | ||
152 | "identifier": "yAngle", | ||
153 | "minValue": -360, | ||
154 | "maxValue": 360, | ||
155 | "acceptableUnits": ["\u00B0"], | ||
156 | "units": "\u00B0" | ||
157 | }, | ||
158 | "bindings": { | ||
159 | "value": { | ||
160 | "boundObject": {"@": "owner"}, | ||
161 | "boundObjectPropertyPath": "yAngle", | ||
162 | "oneway": false | ||
163 | } | ||
164 | }, | ||
165 | "listeners": [ | ||
166 | { | ||
167 | "type": "change", | ||
168 | "listener": {"@": "owner"}, | ||
169 | "capture": false | ||
170 | }, | ||
171 | { | ||
172 | "type": "changing", | ||
173 | "listener": {"@": "owner"}, | ||
174 | "capture": false | ||
175 | } | ||
176 | ] | ||
177 | }, | ||
178 | "threeDRotZ": { | ||
179 | "module": "js/components/hottextunit.reel", | ||
180 | "name": "HotTextUnit", | ||
181 | "properties": { | ||
182 | "element": {"#": "threeDRotZ"}, | ||
183 | "identifier": "zAngle", | ||
184 | "minValue": -360, | ||
185 | "maxValue": 360, | ||
186 | "acceptableUnits": ["\u00B0"], | ||
187 | "units": "\u00B0" | ||
188 | }, | ||
189 | "bindings": { | ||
190 | "value": { | ||
191 | "boundObject": {"@": "owner"}, | ||
192 | "boundObjectPropertyPath": "zAngle", | ||
193 | "oneway": false | ||
194 | } | ||
195 | }, | ||
196 | "listeners": [ | ||
197 | { | ||
198 | "type": "change", | ||
199 | "listener": {"@": "owner"}, | ||
200 | "capture": false | ||
201 | }, | ||
202 | { | ||
203 | "type": "changing", | ||
204 | "listener": {"@": "owner"}, | ||
205 | "capture": false | ||
206 |