aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/Layer.reel')
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.html23
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.js163
-rw-r--r--js/panels/Timeline/Layer.reel/css/Layer.css23
-rw-r--r--js/panels/Timeline/Layer.reel/scss/Layer.scss23
4 files changed, 118 insertions, 114 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.html b/js/panels/Timeline/Layer.reel/Layer.html
index 3c471952..34686a8a 100644
--- a/js/panels/Timeline/Layer.reel/Layer.html
+++ b/js/panels/Timeline/Layer.reel/Layer.html
@@ -1,25 +1,26 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<!-- <copyright> 2<!-- <copyright>
3Copyright (c) 2012, Motorola Mobility, Inc 3Copyright (c) 2012, Motorola Mobility LLC.
4All Rights Reserved. 4All Rights Reserved.
5BSD License.
6 5
7Redistribution and use in source and binary forms, with or without 6Redistribution and use in source and binary forms, with or without
8modification, are permitted provided that the following conditions are met: 7modification, are permitted provided that the following conditions are met:
9 8
10 - Redistributions of source code must retain the above copyright notice, 9* Redistributions of source code must retain the above copyright notice,
11 this list of conditions and the following disclaimer. 10 this list of conditions and the following disclaimer.
12 - Redistributions in binary form must reproduce the above copyright 11
13 notice, this list of conditions and the following disclaimer in the 12* Redistributions in binary form must reproduce the above copyright notice,
14 documentation and/or other materials provided with the distribution. 13 this list of conditions and the following disclaimer in the documentation
15 - Neither the name of Motorola Mobility nor the names of its contributors 14 and/or other materials provided with the distribution.
16 may be used to endorse or promote products derived from this software 15
17 without specific prior written permission. 16* Neither the name of Motorola Mobility LLC nor the names of its
17 contributors may be used to endorse or promote products derived from this
18 software without specific prior written permission.
18 19
19THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 23ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js
index 3be766c4..d40da863 100644
--- a/js/panels/Timeline/Layer.reel/Layer.js
+++ b/js/panels/Timeline/Layer.reel/Layer.js
@@ -1,24 +1,25 @@
1/* <copyright> 1/* <copyright>
2Copyright (c) 2012, Motorola Mobility, Inc 2Copyright (c) 2012, Motorola Mobility LLC.
3All Rights Reserved. 3All Rights Reserved.
4BSD License.
5 4
6Redistribution and use in source and binary forms, with or without 5Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met: 6modification, are permitted provided that the following conditions are met:
8 7
9 - Redistributions of source code must retain the above copyright notice, 8* Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer. 9 this list of conditions and the following disclaimer.
11 - Redistributions in binary form must reproduce the above copyright 10
12 notice, this list of conditions and the following disclaimer in the 11* Redistributions in binary form must reproduce the above copyright notice,
13 documentation and/or other materials provided with the distribution. 12 this list of conditions and the following disclaimer in the documentation
14 - Neither the name of Motorola Mobility nor the names of its contributors 13 and/or other materials provided with the distribution.
15 may be used to endorse or promote products derived from this software 14
16 without specific prior written permission. 15* Neither the name of Motorola Mobility LLC nor the names of its
16 contributors may be used to endorse or promote products derived from this
17 software without specific prior written permission.
17 18
18THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 22ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
@@ -69,9 +70,9 @@ var Layer = exports.Layer = Montage.create(Component, {
69 value: null, 70 value: null,
70 serializable: true 71 serializable: true
71 }, 72 },
72 73
73 /* Begin: Models */ 74 /* Begin: Models */
74 75
75 /* Main collapser model: the main collapser for the layer */ 76 /* Main collapser model: the main collapser for the layer */
76 _mainCollapser : { 77 _mainCollapser : {
77 value: false 78 value: false
@@ -85,7 +86,7 @@ var Layer = exports.Layer = Montage.create(Component, {
85 }, 86 },
86 serializable: true 87 serializable: true
87 }, 88 },
88 89
89 /* Style models: the array of styles, and the repetition that uses them */ 90 /* Style models: the array of styles, and the repetition that uses them */
90 _arrLayerStyles : { 91 _arrLayerStyles : {
91 value: [] 92 value: []
@@ -148,7 +149,7 @@ var Layer = exports.Layer = Montage.create(Component, {
148 _layerName:{ 149 _layerName:{
149 value: "" 150 value: ""
150 }, 151 },
151 152
152 layerName:{ 153 layerName:{
153 serializable: true, 154 serializable: true,
154 get:function(){ 155 get:function(){
@@ -190,7 +191,7 @@ var Layer = exports.Layer = Montage.create(Component, {
190 _layerTag:{ 191 _layerTag:{
191 value: "tag" 192 value: "tag"
192 }, 193 },
193 194
194 layerTag:{ 195 layerTag:{
195 serializable: true, 196 serializable: true,
196 get:function(){ 197 get:function(){
@@ -213,11 +214,11 @@ var Layer = exports.Layer = Montage.create(Component, {
213 this._docUUID = newVal; 214 this._docUUID = newVal;
214 } 215 }
215 }, 216 },
216 217
217 _stageElement: { 218 _stageElement: {
218 value: null 219 value: null
219 }, 220 },
220 221
221 stageElement: { 222 stageElement: {
222 get: function() { 223 get: function() {
223 return this._stageElement; 224 return this._stageElement;
@@ -227,8 +228,8 @@ var Layer = exports.Layer = Montage.create(Component, {
227 this.layerData.stageElement = newVal; 228 this.layerData.stageElement = newVal;
228 } 229 }
229 }, 230 },
230 231
231 232
232 _elementsList : { 233 _elementsList : {
233 value: [] 234 value: []
234 }, 235 },
@@ -241,7 +242,7 @@ var Layer = exports.Layer = Montage.create(Component, {
241 this._elementsList = newVal; 242 this._elementsList = newVal;
242 } 243 }
243 }, 244 },
244 245
245 /* Position and Size hottext values */ 246 /* Position and Size hottext values */
246 _dtextPositionX : { 247 _dtextPositionX : {
247 value:null 248 value:null
@@ -259,7 +260,7 @@ var Layer = exports.Layer = Montage.create(Component, {
259 } 260 }
260 } 261 }
261 }, 262 },
262 263
263 _dtextPositionY : { 264 _dtextPositionY : {
264 value:null 265 value:null
265 }, 266 },
@@ -274,10 +275,10 @@ var Layer = exports.Layer = Montage.create(Component, {
274 this._dtextPositionY = value; 275 this._dtextPositionY = value;
275 this.layerData.dtextPositionY = value; 276 this.layerData.dtextPositionY = value;
276 } 277 }
277 278
278 } 279 }
279 }, 280 },
280 281
281 _dtextScaleX : { 282 _dtextScaleX : {
282 value:null 283 value:null
283 }, 284 },
@@ -292,10 +293,10 @@ var Layer = exports.Layer = Montage.create(Component, {
292 this._dtextScaleX = value; 293 this._dtextScaleX = value;
293 this.layerData.dtextScaleX = value; 294 this.layerData.dtextScaleX = value;
294 } 295 }
295 296
296 } 297 }
297 }, 298 },
298 299
299 _dtextScaleY : { 300 _dtextScaleY : {
300 value:null 301 value:null
301 }, 302 },
@@ -310,10 +311,10 @@ var Layer = exports.Layer = Montage.create(Component, {
310 this._dtextScaleY = value; 311 this._dtextScaleY = value;
311 this.layerData.dtextScaleY = value; 312 this.layerData.dtextScaleY = value;
312 } 313 }
313 314
314 } 315 }
315 }, 316 },
316 317