aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel
diff options
context:
space:
mode:
authorEric Guzman2012-02-13 10:30:26 -0800
committerEric Guzman2012-02-13 10:30:26 -0800
commit672e6f61647b1b8a5f6f5831284fa44bcb7be883 (patch)
tree0c15656f1f82f194bfcab68634a88f68fd3d42cb /js/panels/Timeline/TimelinePanel.reel
parent586c3f7bbea04e62638e5ed8cdce9933e88c0b67 (diff)
parente142611e22718b1f1d1696902ad9161ec5f33f98 (diff)
downloadninja-672e6f61647b1b8a5f6f5831284fa44bcb7be883.tar.gz
Merge branch 'refs/heads/master' into PresetsPanel
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.css6
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html242
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js1027
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/css/TimelinePanel.css251
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/images/pause.pngbin0 -> 1076 bytes
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/images/play.pngbin0 -> 1190 bytes
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/images/play_next.pngbin0 -> 1185 bytes
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/images/play_prev.pngbin0 -> 1199 bytes
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/images/plus.pngbin0 -> 1133 bytes
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/images/timetick.jpgbin0 -> 737 bytes
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/images/trash.pngbin0 -> 1154 bytes
11 files changed, 1286 insertions, 240 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.css b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.css
deleted file mode 100644
index 7f1b0f7f..00000000
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.css
+++ /dev/null
@@ -1,6 +0,0 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html
index 6849898b..29bf6eb3 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html
@@ -1,32 +1,236 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
6 </copyright> -->
7<html lang="en"> 2<html lang="en">
8 <head> 3 <head>
9 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
10 <link rel="stylesheet" type="text/css" href="TimelinePanel.css"> 5 <link rel="stylesheet" type="text/css" href="css/TimelinePanel.css">
6
7
11 <script type="text/montage-serialization"> 8 <script type="text/montage-serialization">
12 { 9 {
13 "owner": { 10 "owner": {
14 "module": "js/panels/Timeline/TimelinePanel.reel", 11 "module": "js/panels/Timeline/TimelinePanel.reel",
15 "name": "TimelinePanel", 12 "name": "TimelinePanel",
16 "properties": { 13 "properties": {
17 "element": {"#": "timeline_panel"} 14 "element": {"#": "timeline_panel"},
18 } 15 "user_layers": {"#": "user_layers"},
19 } 16 "track_container": {"#": "right_inside"},
20 17 "timeline_leftpane" : {"#" : "timeline_leftpane"},
21 } 18 "layer_tracks": {"#": "layer_tracks"},
22 </script> 19 "master_track": {"#": "master_track"},
20 "newlayer_button": {"#": "newlayer_button"},
21 "deletelayer_button": {"#": "deletelayer_button"},
22 "time_markers" : {"#": "timeline_markers"},
23 "layerRepetition" : {"@": "repetition1"},
24 "trackRepetition" : {"@" : "repetition2"},
25 "playhead": {"#": "playhead"},
26 "playheadmarker": {"#": "playhead_marker"},
27 "timetext" : {"#": "time_text"}
28 }
29 },
23 30
31 "timelineResize" : {
32 "module": "js/panels/Resizer",
33 "name": "Resizer",
34 "properties": {
35 "element": {"#": "layer_resizer"},
36 "panel" : {"#" : "timeline_leftpane"},
37 "isVertical" : false,
38 "isInversed" : false,
39 "isPanel" : false
40 }
41 },
42
43
44 "repetition1": {
45 "module": "montage/ui/repetition.reel",
46 "name": "Repetition",
47 "properties": {
48 "element": {"#": "container-layers"},
49 "isSelectionEnabled" : true
50 },
51 "bindings": {
52 "objects": {
53 "boundObject": {"@": "owner"},
54 "boundObjectPropertyPath": "arrLayers",
55 "oneway": false
56 }
57 }
58 },
59 "layer" : {
60 "module" : "js/panels/Timeline/Layer.reel",
61 "name" : "Layer",
62 "properties" : {
63 "element": {"#": "container-layer"}
64 },
65 "bindings" : {
66 "layerName" : {
67 "boundObject" : {"@" : "repetition1"},
68 "boundObjectPropertyPath" : "objectAtCurrentIteration.layerName",
69 "oneway" : false
70 },
71 "layerID" : {
72 "boundObject" : {"@" : "repetition1"},
73 "boundObjectPropertyPath" : "objectAtCurrentIteration.layerID",
74 "oneway" : false
75 },
76 "arrLayerStyles" : {
77 "boundObject" : {"@" : "repetition1"},
78 "boundObjectPropertyPath" : "objectAtCurrentIteration.arrLayerStyles",
79 "oneway" : false
80 },
81 "isMainCollapsed" : {
82 "boundObject" : {"@" : "repetition1"},
83 "boundObjectPropertyPath" : "objectAtCurrentIteration.isMainCollapsed",
84 "oneway" : false
85 },
86 "isPositionCollapsed" : {
87 "boundObject" : {"@" : "repetition1"},
88 "boundObjectPropertyPath" : "objectAtCurrentIteration.isPositionCollapsed",
89 "oneway" : false
90 },
91 "isTransformCollapsed" : {
92 "boundObject" : {"@" : "repetition1"},
93 "boundObjectPropertyPath" : "objectAtCurrentIteration.isTransformCollapsed",
94 "oneway" : false
95 },
96 "isSelected" : {
97 "boundObject" : {"@" : "repetition1"},
98 "boundObjectPropertyPath" : "objectAtCurrentIteration.isSelected",
99 "oneway" : false
100 },
101 "isActive" : {
102 "boundObject" : {"@" : "repetition1"},
103 "boundObjectPropertyPath" : "objectAtCurrentIteration.isActive",
104 "oneway" : false
105 },
106 "isStyleCollapsed" : {
107 "boundObject" : {"@" : "repetition1"},
108 "boundObjectPropertyPath" : "objectAtCurrentIteration.isStyleCollapsed",
109 "oneway" : false
110 }
111 }
112 },
113
114 "repetition2" : {
115 "module": "montage/ui/repetition.reel",
116 "name": "Repetition",
117 "properties": {
118 "element": {"#": "container-tracks"},
119 "isSelectionEnabled" : false
120 },
121 "bindings": {
122 "objects": {
123 "boundObject": {"@": "owner"},
124 "boundObjectPropertyPath": "arrTracks",
125 "oneway": false
126 }
127 }
128 },
129 "track" : {
130 "module" : "js/panels/Timeline/TimelineTrack.reel",
131 "name" : "TimelineTrack",
132 "properties" : {
133 "element": {"#": "container-track"}
134 },
135 "bindings" : {
136 "trackID" : {
137 "boundObject" : {"@" : "repetition2"},
138 "boundObjectPropertyPath" : "objectAtCurrentIteration.trackID",
139 "oneway" : false
140 },
141 "tweens" : {
142 "boundObject" : {"@" : "repetition2"},
143 "boundObjectPropertyPath" : "objectAtCurrentIteration.tweens",
144 "oneway" : false
145 },
146 "isMainCollapsed" : {
147 "boundObject" : {"@" : "repetition2"},
148 "boundObjectPropertyPath" : "objectAtCurrentIteration.isMainCollapsed",
149 "oneway" : false
150 },
151 "isPositionCollapsed" : {
152 "boundObject" : {"@" : "repetition2"},
153 "boundObjectPropertyPath" : "objectAtCurrentIteration.isPositionCollapsed",
154 "oneway" : false
155 },
156 "isTransformCollapsed" : {
157 "boundObject" : {"@" : "repetition2"},
158 "boundObjectPropertyPath" : "objectAtCurrentIteration.isTransformCollapsed",
159 "oneway" : false