diff options
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 1126 |
1 files changed, 556 insertions, 570 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 5df5775f..93b4d67e 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -35,103 +35,244 @@ var Montage = require("montage/core/core").Montage, | |||
35 | 35 | ||
36 | var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | 36 | var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { |
37 | 37 | ||
38 | /* === BEGIN: Models === */ | ||
39 | _user_layers: { | ||
40 | value: null | ||
41 | }, | ||
38 | user_layers: { | 42 | user_layers: { |
39 | value: null, | 43 | serializable: true, |
40 | serializable: true | 44 | get: function() { |
45 | return this._user_layers; | ||
46 | }, | ||
47 | set: function(newVal) { | ||
48 | this._user_layers = newVal; | ||
49 | } | ||
41 | }, | 50 | }, |
42 | 51 | ||
52 | _track_container: { | ||
53 | value: null | ||
54 | }, | ||
43 | track_container: { | 55 | track_container: { |
44 | value: null, | 56 | serializable: true, |
45 | serializable: true | 57 | get: function() { |
58 | return this._track_container; | ||
59 | }, | ||
60 | set: function(newVal) { | ||
61 | this._track_container = newVal; | ||
62 | } | ||
46 | }, | 63 | }, |
47 | 64 | ||
65 | _timeline_leftpane: { | ||
66 | value: null | ||
67 | }, | ||
48 | timeline_leftpane: { | 68 | timeline_leftpane: { |
49 | value: null, | 69 | serializable: true, |
50 | serializable: true | 70 | get: function() { |
71 | return this._timeline_leftpane; | ||
72 | }, | ||
73 | set: function(newVal) { | ||
74 | this._timeline_leftpane = newVal; | ||
75 | } | ||
51 | }, | 76 | }, |
52 | 77 | ||
78 | _layer_tracks: { | ||
79 | value: null | ||
80 | }, | ||
53 | layer_tracks: { | 81 | layer_tracks: { |
54 | value: null, | 82 | serializable: true, |
55 | serializable: true | 83 | get: function() { |
84 | return this._layer_tracks; | ||
85 | }, | ||
86 | set: function(newVal) { | ||
87 | this._layer_tracks = newVal; | ||
88 | } | ||
56 | }, | 89 | }, |
57 | 90 | ||
91 | _master_track: { | ||
92 | value: null | ||
93 | }, | ||
58 | master_track: { | 94 | master_track: { |
59 | value: null, | 95 | serializable: true, |
60 | serializable: true | 96 | get: function() { |
97 | return this._master_track; | ||
98 | }, | ||
99 | set: function(newVal) { | ||
100 | this._master_track = newVal; | ||
101 | } | ||
61 | }, | 102 | }, |
62 | 103 | ||
104 | _time_markers: { | ||
105 | value: null | ||
106 | }, | ||
63 | time_markers: { | 107 | time_markers: { |
64 | value: null, | 108 | serializable: true, |
65 | serializable: true | 109 | get: function() { |
110 | return this._time_markers; | ||
111 | }, | ||
112 | set: function(newVal) { | ||
113 | this._time_markers = newVal; | ||
114 | } | ||
66 | }, | 115 | }, |
67 | 116 | ||
117 | _playhead: { | ||
118 | value: null | ||
119 | }, | ||
68 | playhead: { | 120 | playhead: { |
69 | value: null, | 121 | serializable: true, |
70 | serializable: true | 122 | get: function() { |
123 | return this._playhead; | ||
124 | }, | ||
125 | set: function(newVal) { | ||
126 | this._playhead = newVal; | ||
127 | } | ||
71 | }, | 128 | }, |
72 | 129 | ||
130 | _playheadmarker: { | ||
131 | value: null | ||
132 | }, | ||
73 | playheadmarker: { | 133 | playheadmarker: { |
74 | value: null, | 134 | serializable: true, |
75 | serializable: true | 135 | get: function() { |
136 | return this._playheadmarker; | ||
137 | }, | ||
138 | set: function(newVal) { | ||
139 | this._playheadmarker = newVal; | ||
140 | } | ||
76 | }, | 141 | }, |
77 | 142 | ||
143 | _timetext: { | ||
144 | value: null | ||
145 | }, | ||
78 | timetext: { | 146 | timetext: { |
79 | value: null, | 147 | serializable: true, |
80 | serializable: true | 148 | get: function() { |
149 | return this._timetext; | ||
150 | }, | ||
151 | set: function(newVal) { | ||
152 | this._timetext = newVal; | ||
153 | } | ||
81 | }, | 154 | }, |
82 | 155 | ||
156 | _timebar: { | ||
157 | value: null | ||
158 | }, | ||
83 | timebar: { | 159 | timebar: { |
84 | value: null, | 160 | serializable: true, |
85 | serializable: true | 161 | get: function() { |
162 | return this._timebar; | ||
163 | }, | ||
164 | set: function(newVal) { | ||
165 | this._timebar = newVal; | ||
166 | } | ||
86 | }, | 167 | }, |
87 | 168 | ||
169 | _container_tracks: { | ||
170 | value: null | ||
171 | }, | ||
88 | container_tracks: { | 172 | container_tracks: { |
89 | value: null, | 173 | serializable: true, |
90 | serializable: true | 174 | get: function() { |
175 | return this._container_tracks; | ||
176 | }, | ||
177 | set: function(newVal) { | ||
178 | this._container_tracks = newVal; | ||
179 | } | ||
91 | }, | 180 | }, |
92 | 181 | ||
182 | _end_hottext: { | ||
183 | value: null | ||
184 | }, | ||
93 | end_hottext: { | 185 | end_hottext: { |
94 | value: null, | 186 | serializable: true, |
95 | serializable: true | 187 | get: function() { |
188 | return this._end_hottext; | ||
189 | }, | ||
190 | set: function(newVal) { | ||
191 | this._end_hottext = newVal; | ||
192 | } | ||
96 | }, | 193 | }, |
97 | 194 | ||
195 | _container_layers: { | ||
196 | value: null | ||
197 | }, | ||
98 | container_layers: { | 198 | container_layers: { |
99 | value: null, | 199 | serializable: true, |
100 | serializable: true | 200 | get: function() { |
201 | return this._container_layers; | ||
202 | }, | ||
203 | set: function(newVal) { | ||
204 | this._container_layers = newVal; | ||
205 | } | ||
101 | }, | 206 | }, |
102 | 207 | ||
208 | _timeline_disabler: { | ||
209 | value: null | ||
210 | }, | ||
103 | timeline_disabler: { | 211 | timeline_disabler: { |
104 | value: null, | 212 | serializable: true, |
105 | serializable: true | 213 | get: function() { |
214 | return this._timeline_disabler; | ||
215 | }, | ||
216 | set: function(newVal) { | ||
217 | this._timeline_disabler = newVal; | ||
218 | } | ||
106 | }, | 219 | }, |
107 | 220 | ||