aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel/Layer.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-02-28 14:19:25 -0800
committerPushkar Joshi2012-02-28 14:19:25 -0800
commit16d6a90579cdafede931a9c818689fad2e622d8b (patch)
treee87f5d4a131d3574ef06cff1c46373d5b1046956 /js/panels/Timeline/Layer.reel/Layer.js
parent03ca7a5ed13c25faaa9100bb666e062fd15335e6 (diff)
parent63307c9abf120985d979a40a53a0598d3f0d5c5a (diff)
downloadninja-16d6a90579cdafede931a9c818689fad2e622d8b.tar.gz
Merge branch 'pentool' into brushtool
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.js134
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,