diff options
author | hwc487 | 2012-02-28 12:58:09 -0800 |
---|---|---|
committer | hwc487 | 2012-02-28 12:58:09 -0800 |
commit | 347fc28227d822e9fea3fa823fae79cf14ea041c (patch) | |
tree | 180e7ee1ad092397b05c0452e75d456fa0a3abb7 /js/panels/Timeline/Layer.reel/Layer.js | |
parent | ed16298e4323b733f6dc957c307dc07036fa3569 (diff) | |
parent | 7c9291a5bab4abd849547f8878f6fb962fc88250 (diff) | |
download | ninja-347fc28227d822e9fea3fa823fae79cf14ea041c.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into integration
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index f62c0b90..e75b4d0f 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -107,6 +107,140 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
107 | } | 107 | } |
108 | }, | 108 | }, |
109 | 109 | ||
110 | /* Position and Transform hottext values */ | ||
111 | _dtextPositionX : { | ||
112 | value:null, | ||
113 | serializable: true, | ||
114 | }, | ||
115 | |||
116 | dtextPositionX:{ | ||
117 | serializable: true, | ||
118 | get:function(){ | ||
119 | return this._dtextPositionX; | ||
120 | }, | ||
121 | set:function(value){ | ||
122 | if (this._dtextPositionX !== value) { | ||
123 | this._dtextPositionX = value; | ||
124 | this.needsDraw = true; | ||
125 | } | ||
126 | |||
127 | } | ||
128 | }, | ||
129 | |||
130 | _dtextPositionY : { | ||
131 | value:null, | ||
132 | serializable: true, | ||
133 | }, | ||
134 | |||
135 | dtextPositionY:{ | ||
136 | serializable: true, | ||
137 | get:function(){ | ||
138 | return this._dtextPositionY; | ||
139 | }, | ||
140 | set:function(value){ | ||
141 | if (this._dtextPositionY !== value) { | ||
142 | this._dtextPositionY = value; | ||
143 | this.needsDraw = true; | ||
144 | } | ||
145 | |||
146 | } | ||
147 | }, | ||
148 | |||
149 | _dtextScaleX : { | ||
150 | value:null, | ||
151 | serializable: true, | ||
152 | }, | ||
153 | |||
154 | dtextScaleX:{ | ||
155 | serializable: true, | ||
156 | get:function(){ | ||
157 | return this._dtextScaleX; | ||
158 | }, | ||
159 | set:function(value){ | ||
160 | if (this._dtextScaleX !== value) { | ||
161 | this._dtextScaleX = value; | ||
162 | this.needsDraw = true; | ||
163 | } | ||
164 | |||
165 | } | ||
166 | }, | ||
167 | |||
168 | _dtextScaleY : { | ||
169 | value:null, | ||
170 | serializable: true, | ||
171 | }, | ||
172 | |||
173 | dtextScaleY:{ | ||
174 | serializable: true, | ||
175 | get:function(){ | ||
176 | return this._dtextScaleY; | ||
177 | }, | ||
178 | set:function(value){ | ||
179 | if (this._dtextScaleY !== value) { | ||
180 | this._dtextScaleY = value; | ||
181 | this.needsDraw = true; | ||
182 | } | ||
183 | |||
184 | } | ||
185 | }, | ||
186 | |||
187 | _dtextSkewX : { | ||
188 | value:null, | ||
189 | serializable: true, | ||
190 | }, | ||
191 | |||
192 | dtextSkewX:{ | ||
193 | serializable: true, | ||
194 | get:function(){ | ||
195 | return this._dtextSkewX; | ||
196 | }, | ||
197 | set:function(value){ | ||
198 | if (this._dtextSkewX !== value) { | ||
199 | this._dtextSkewX = value; | ||
200 | this.needsDraw = true; | ||
201 | } | ||
202 | |||
203 | } | ||
204 | }, | ||
205 | |||
206 | _dtextSkewY : { | ||
207 | value:null, | ||
208 | serializable: true, | ||
209 | }, | ||
210 | |||
211 | dtextSkewY:{ | ||
212 | serializable: true, | ||
213 | get:function(){ | ||
214 | return this._dtextSkewY; | ||
215 | }, | ||
216 | set:function(value){ | ||
217 | if (this._dtextSkewY !== value) { | ||
218 | this._dtextSkewY = value; | ||
219 | this.needsDraw = true; | ||
220 | } | ||
221 | |||
222 | } | ||
223 | }, | ||
224 | |||
225 | _dtextRotate : { | ||
226 | value:null, | ||
227 | serializable: true, | ||
228 | }, | ||
229 | |||
230 | dtextRotate:{ | ||
231 | serializable: true, | ||
232 | get:function(){ | ||
233 | return this._dtextRotate; | ||
234 | }, | ||
235 | set:function(value){ | ||
236 | if (this._dtextRotate !== value) { | ||
237 | this._dtextRotate = value; | ||
238 | this.needsDraw = true; | ||
239 | } | ||
240 | |||
241 | } | ||
242 | }, | ||
243 | |||
110 | /* isSelected: whether or not the layer is currently selected. */ | 244 | /* isSelected: whether or not the layer is currently selected. */ |
111 | _isSelected:{ | 245 | _isSelected:{ |
112 | value: false, | 246 | value: false, |