--
cgit v1.2.3
From 5689e3e2deda1b1f7ba32f6007ddab20f6c1fe64 Mon Sep 17 00:00:00 2001
From: Jon Reid
Date: Fri, 2 Mar 2012 18:17:14 -0800
Subject: Timeline: Serialization of all Collapser components
---
js/panels/Timeline/Layer.reel/Layer.html | 129 ++++++++++++++++++++++++++-----
1 file changed, 109 insertions(+), 20 deletions(-)
(limited to 'js/panels/Timeline/Layer.reel/Layer.html')
diff --git a/js/panels/Timeline/Layer.reel/Layer.html b/js/panels/Timeline/Layer.reel/Layer.html
index 14315f8d..79b522ee 100644
--- a/js/panels/Timeline/Layer.reel/Layer.html
+++ b/js/panels/Timeline/Layer.reel/Layer.html
@@ -17,7 +17,12 @@
"element": {"#": "layer"},
"styleRepetition" : {"@":"repetition1"},
"dynamicLayerName" : {"@":"dtext1"},
- "slotStyle" : {"@":"slot1"}
+ "slotStyle" : {"@":"slot1"},
+ "mainCollapser" : {"@" : "mainCollapser"},
+ "positionCollapser" : {"@" : "positionCollapser"},
+ "transformCollapser" : {"@" : "transformCollapser"},
+ "styleCollapser" : {"@" : "styleCollapser"},
+ "clickerMain" : {"#" : "clicker-main"}
}
},
"dtext1" : {
@@ -225,6 +230,90 @@
"oneway": false
}
}
+ },
+
+ "mainCollapser" : {
+ "module" : "js/panels/timeline/Collapser.js",
+ "name" : "Collapser",
+ "properties" : {
+ "element" : {"#" : "content-main"},
+ "myContent" : {"#" : "content-main"},
+ "contentHeight" : 60,
+ "isLabelClickable" : true,
+ "clicker" : {"#" : "clicker-main"},
+ "isCollapsed" : true,
+ "isAnimated" : true
+ },
+ "bindings" : {
+ "isToggling" : {
+ "boundObject" : {"@" : "owner" },
+ "boundObjectPropertyPath" : "isMainCollapsed",
+ "oneway" : false
+ }
+ }
+ },
+
+ "positionCollapser" : {
+ "module" : "js/panels/timeline/Collapser.js",
+ "name" : "Collapser",
+ "properties" : {
+ "element" : {"#" : "content-position"},
+ "myContent" : {"#":"content-position"},
+ "contentHeight" : 60,
+ "isLabelClickable" : true,
+ "clicker" : {"#" : "clicker-position"},
+ "isCollapsed" : true,
+ "isAnimated" : true
+ },
+ "bindings" : {
+ "isToggling" : {
+ "boundObject" : {"@" : "owner" },
+ "boundObjectPropertyPath" : "isPositionCollapsed",
+ "oneway" : false
+ }
+ }
+ },
+
+ "transformCollapser" : {
+ "module" : "js/panels/timeline/Collapser.js",
+ "name" : "Collapser",
+ "properties" : {
+ "element" : {"#" : "content-transform"},
+ "myContent" : {"#":"content-transform"},
+ "contentHeight" : 60,
+ "isLabelClickable" : true,
+ "clicker" : {"#" : "clicker-transform"},
+ "isCollapsed" : true,
+ "isAnimated" : true
+ },
+ "bindings" : {
+ "isToggling" : {
+ "boundObject" : {"@" : "owner" },
+ "boundObjectPropertyPath" : "isTransformCollapsed",
+ "oneway" : false
+ }
+ }
+ },
+
+ "styleCollapser" : {
+ "module" : "js/panels/timeline/Collapser.js",
+ "name" : "Collapser",
+ "properties" : {
+ "element" : {"#" : "content-style"},
+ "myContent" : {"#":"content-style"},
+ "contentHeight" : 60,
+ "isLabelClickable" : true,
+ "clicker" : {"#" : "clicker-style"},
+ "isCollapsed" : true,
+ "isAnimated" : true
+ },
+ "bindings" : {
+ "isToggling" : {
+ "boundObject" : {"@" : "owner" },
+ "boundObjectPropertyPath" : "isStyleCollapsed",
+ "oneway" : false
+ }
+ }
}
@@ -233,68 +322,68 @@
-