aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html32
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js1249
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/css/TimelinePanel.css30
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/scss/TimelinePanel.scss32
4 files changed, 724 insertions, 619 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html
index f6fae9b8..57285704 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html
@@ -1,9 +1,33 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<!-- <copyright> 2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/> 3Copyright (c) 2012, Motorola Mobility, Inc
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> 4All Rights Reserved.
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. 5BSD License.
6 </copyright> --> 6
7Redistribution and use in source and binary forms, with or without
8modification, are permitted provided that the following conditions are met:
9
10 - Redistributions of source code must retain the above copyright notice,
11 this list of conditions and the following disclaimer.
12 - Redistributions in binary form must reproduce the above copyright
13 notice, this list of conditions and the following disclaimer in the
14 documentation and/or other materials provided with the distribution.
15 - Neither the name of Motorola Mobility nor the names of its contributors
16 may be used to endorse or promote products derived from this software
17 without specific prior written permission.
18
19THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29POSSIBILITY OF SUCH DAMAGE.
30</copyright> -->
7<html lang="en"> 31<html lang="en">
8 <head> 32 <head>
9 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 33 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 7deaf0d1..93b4d67e 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -1,8 +1,32 @@
1/* <copyright> 1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/> 2Copyright (c) 2012, Motorola Mobility, Inc
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> 3All Rights Reserved.
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. 4BSD License.
5 </copyright> */ 5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8
9 - Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11 - Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
13 documentation and/or other materials provided with the distribution.
14 - Neither the name of Motorola Mobility nor the names of its contributors
15 may be used to endorse or promote products derived from this software
16 without specific prior written permission.
17
18THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28POSSIBILITY OF SUCH DAMAGE.
29</copyright> */
6 30
7var Montage = require("montage/core/core").Montage, 31var Montage = require("montage/core/core").Montage,
8 Component = require("montage/ui/component").Component, 32 Component = require("montage/ui/component").Component,
@@ -11,103 +35,244 @@ var Montage = require("montage/core/core").Montage,
11 35
12var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { 36var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
13 37
38 /* === BEGIN: Models === */
39 _user_layers: {
40 value: null
41 },
14 user_layers: { 42 user_layers: {
15 value: null, 43 serializable: true,
16 serializable: true 44 get: function() {
45 return this._user_layers;
46 },
47 set: function(newVal) {
48 this._user_layers = newVal;
49 }
17 }, 50 },
18 51
52 _track_container: {
53 value: null
54 },
19 track_container: { 55 track_container: {
20 value: null, 56 serializable: true,
21 serializable: true 57 get: function() {
58 return this._track_container;
59 },
60 set: function(newVal) {
61 this._track_container = newVal;
62 }
22 }, 63 },
23 64
65 _timeline_leftpane: {
66 value: null
67 },
24 timeline_leftpane: { 68 timeline_leftpane: {
25 value: null, 69 serializable: true,
26 serializable: true 70 get: function() {
71 return this._timeline_leftpane;
72 },
73 set: function(newVal) {
74 this._timeline_leftpane = newVal;
75 }
27 }, 76 },
28 77
78 _layer_tracks: {
79 value: null
80 },
29 layer_tracks: { 81 layer_tracks: {
30 value: null, 82 serializable: true,
31 serializable: true 83 get: function() {
84 return this._layer_tracks;
85 },
86 set: function(newVal) {
87 this._layer_tracks = newVal;
88 }
32 }, 89 },
33 90
91 _master_track: {
92 value: null
93 },
34 master_track: { 94 master_track: {
35 value: null, 95 serializable: true,
36 serializable: true 96 get: function() {
97 return this._master_track;
98 },
99 set: function(newVal) {
100 this._master_track = newVal;
101 }
37 }, 102 },
38 103
104 _time_markers: {
105 value: null
106 },
39 time_markers: { 107 time_markers: {
40 value: null, 108 serializable: true,
41 serializable: true 109 get: function() {
110 return this._time_markers;
111 },
112 set: function(newVal) {
113 this._time_markers = newVal;
114 }
42 }, 115 },
43 116
117 _playhead: {
118 value: null
119 },
44 playhead: { 120 playhead: {
45 value: null, 121 serializable: true,
46 serializable: true 122 get: function() {
123 return this._playhead;
124 },
125 set: function(newVal) {
126 this._playhead = newVal;
127 }
47 }, 128 },
48 129
130 _playheadmarker: {
131 value: null
132 },
49 playheadmarker: { 133 playheadmarker: {
50 value: null, 134 serializable: true,
51 serializable: true 135 get: function() {
136 return this._playheadmarker;
137 },
138 set: function(newVal) {
139 this._playheadmarker = newVal;
140 }