From d48f086ad64badf07b5f82bf6e0216074eac7a25 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Wed, 16 May 2012 18:25:03 -0700 Subject: Initial Binding Hud Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 js/stage/binding-view.reel/binding-view.html (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html new file mode 100755 index 00000000..e3495542 --- /dev/null +++ b/js/stage/binding-view.reel/binding-view.html @@ -0,0 +1,55 @@ + + + + + + + + + + + + + +
+
+
+ +
+
+
+ + + -- cgit v1.2.3 From 95bef3bbd77c6c3bd01b5222986f2dd35a7218b4 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Sat, 19 May 2012 14:48:35 -0700 Subject: Changes to binding view Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 36 ++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index e3495542..43fa0112 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -14,10 +14,11 @@ "owner": { "prototype": "js/stage/binding-view.reel", "properties": { - "element": {"#": "bindingView"} + "element": {"#": "bindingView"}, + "hudRepeater": {"@": "hudRepeater"} } }, - "repeater": { + "hudRepeater": { "prototype": "montage/ui/repetition.reel", "properties": { "element": {"#": "hudRepetition"} @@ -35,6 +36,37 @@ "properties": { "element": {"#" : "hud"} } + }, + "nonVisualRepeater": { + "prototype": "montage/ui/repetition.reel", + "properties": { + "element": {"#": "nonVisualRepeater"} + }, + "bindings": { + "objects": { + "boundObject": {"@": "owner"}, + "boundObjectPropertyPath": "nonVisualComponents", + "oneway": true + } + } + }, + "nonVisualComponent": { + "prototype": "js/stage/binding-view.reel/non-visual-component.reel", + "properties": { + "element": {"#": "nonVisualComponent"} + }, + "bindings": { + "objectName": { + "boundObject": {"@": "hudRepetition"}, + "boundObjectPropertyPath": "objectAtCurrentIteration.objectName", + "oneway": true + }, + "objectImage": { + "boundObject": {"@": "undoList"}, + "boundObjectPropertyPath": "objectAtCurrentIteration.objectImage", + "oneway": true + } + } } } -- cgit v1.2.3 From 3ed95247e9ea4b0a7833401ed6809647b7c4acbf Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Wed, 23 May 2012 14:26:46 -0700 Subject: Binding Visual Tool Initial setup Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 43fa0112..152345d4 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -21,7 +21,7 @@ "hudRepeater": { "prototype": "montage/ui/repetition.reel", "properties": { - "element": {"#": "hudRepetition"} + "element": {"#": "hudRepeater"} }, "bindings": { "objects": { @@ -57,12 +57,12 @@ }, "bindings": { "objectName": { - "boundObject": {"@": "hudRepetition"}, + "boundObject": {"@": "hudRepeater"}, "boundObjectPropertyPath": "objectAtCurrentIteration.objectName", "oneway": true }, "objectImage": { - "boundObject": {"@": "undoList"}, + "boundObject": {"@": "hudRepeater"}, "boundObjectPropertyPath": "objectAtCurrentIteration.objectImage", "oneway": true } @@ -76,11 +76,14 @@
-
+
+
+
+
-- cgit v1.2.3 From e8c4e98c24092a360eb2f637983fd104fbb67f66 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Fri, 25 May 2012 11:22:05 -0700 Subject: Setup up Binding View Draw Cycle Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 31 +++++++++------------------- 1 file changed, 10 insertions(+), 21 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 152345d4..b77f8e27 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -24,17 +24,16 @@ "element": {"#": "hudRepeater"} }, "bindings": { - "objects": { - "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "bindables", - "oneway": true - } + "objects": {"<-": "@owner.bindables"} } }, "hud": { "prototype": "js/stage/binding-view.reel/binding-hud.reel", "properties": { "element": {"#" : "hud"} + }, + "bindings": { + "name": { } }, "nonVisualRepeater": { @@ -43,11 +42,7 @@ "element": {"#": "nonVisualRepeater"} }, "bindings": { - "objects": { - "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "nonVisualComponents", - "oneway": true - } + "objects": {"<-": "@owner.nonVisualComponents"} } }, "nonVisualComponent": { @@ -56,16 +51,8 @@ "element": {"#": "nonVisualComponent"} }, "bindings": { - "objectName": { - "boundObject": {"@": "hudRepeater"}, - "boundObjectPropertyPath": "objectAtCurrentIteration.objectName", - "oneway": true - }, - "objectImage": { - "boundObject": {"@": "hudRepeater"}, - "boundObjectPropertyPath": "objectAtCurrentIteration.objectImage", - "oneway": true - } + "objectName": {"<-": "@hudRepeater.objectAtCurrentIteration.objectName"}, + "objectImage": {"<-": "@hudRepeater.objectAtCurrentIteration.objectImage"} } } } @@ -82,7 +69,9 @@
-
+
+ +
-- cgit v1.2.3 From a581fb3c544ee2faeafbb75f7a3f5719f53cf323 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Wed, 30 May 2012 15:30:38 -0700 Subject: Visual Bindings Initial generate from Array. Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index b77f8e27..39704e25 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -33,7 +33,10 @@ "element": {"#" : "hud"} }, "bindings": { - "name": { + "title": {"<-": "@hudRepeater.objectAtCurrentIteration.title"}, + "properties": {"<-": "@hudRepeater.objectAtCurrentIteration.properties"}, + "x": {"<-": "@hudRepeater.objectAtCurrentIteration.x"}, + "y": {"<-": "@hudRepeater.objectAtCurrentIteration.y"} } }, "nonVisualRepeater": { -- cgit v1.2.3 From 9e187e40d9982654081e52be656e00b3ca4d36b5 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Fri, 1 Jun 2012 13:13:10 -0700 Subject: Binding View Canvas Initial Development Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 39704e25..0f01e9ff 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -15,7 +15,8 @@ "prototype": "js/stage/binding-view.reel", "properties": { "element": {"#": "bindingView"}, - "hudRepeater": {"@": "hudRepeater"} + "hudRepeater": {"@": "hudRepeater"}, + "bindingViewCanvas": {"#": "bindingViewCanvas"} } }, "hudRepeater": { @@ -76,6 +77,7 @@ + -- cgit v1.2.3 From cd089f6692934a68bda7c303928a7c78dd13ac07 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Tue, 5 Jun 2012 12:55:34 -0700 Subject: Changes for binding View Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 0f01e9ff..4eea3cc4 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -16,7 +16,7 @@ "properties": { "element": {"#": "bindingView"}, "hudRepeater": {"@": "hudRepeater"}, - "bindingViewCanvas": {"#": "bindingViewCanvas"} + "canvas": {"#": "bindingViewCanvas"} } }, "hudRepeater": { @@ -34,10 +34,7 @@ "element": {"#" : "hud"} }, "bindings": { - "title": {"<-": "@hudRepeater.objectAtCurrentIteration.title"}, - "properties": {"<-": "@hudRepeater.objectAtCurrentIteration.properties"}, - "x": {"<-": "@hudRepeater.objectAtCurrentIteration.x"}, - "y": {"<-": "@hudRepeater.objectAtCurrentIteration.y"} + "bindingArgs": {"<-": "@hudRepeater.objectAtCurrentIteration"} } }, "nonVisualRepeater": { @@ -67,7 +64,7 @@
-
+
-- cgit v1.2.3 From cd8f5e98dd1ba97d81a7f1f2362f9ce481577957 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Mon, 11 Jun 2012 10:44:59 -0700 Subject: Binding-View : Deselect Works Now, Rendering multiple Huds Available Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 4eea3cc4..90ef2286 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -37,6 +37,17 @@ "bindingArgs": {"<-": "@hudRepeater.objectAtCurrentIteration"} } }, + "translateComposer": { + "prototype": "montage/ui/composer/translate-composer", + "properties": { + "component": {"@": "owner"} + }, + "bindings": { + "element": {"<-": "@owner._element"}, + "translateX": {"->": "@owner.translateX"}, + "translateY": {"->": "@owner.translateY"} + } + }, "nonVisualRepeater": { "prototype": "montage/ui/repetition.reel", "properties": { -- cgit v1.2.3 From 311fa07b85407386ed07237530cb464a432526c5 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 12 Jun 2012 12:59:22 -0700 Subject: Binding View - Use same icon component as objects panel --- js/stage/binding-view.reel/binding-view.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 90ef2286..a9e859e4 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -57,14 +57,14 @@ "objects": {"<-": "@owner.nonVisualComponents"} } }, - "nonVisualComponent": { - "prototype": "js/stage/binding-view.reel/non-visual-component.reel", + "objectIcon": { + "prototype": "js/panels/objects/object.reel", "properties": { "element": {"#": "nonVisualComponent"} }, "bindings": { - "objectName": {"<-": "@hudRepeater.objectAtCurrentIteration.objectName"}, - "objectImage": {"<-": "@hudRepeater.objectAtCurrentIteration.objectImage"} + "sourceObject": {"<-": "@nonVisualRepeater.objectAtCurrentIteration"}, + "identifier": {"<-": "@nonVisualRepeater.objectAtCurrentIteration.identifier"} } } } -- cgit v1.2.3 From cfa2d42f6ca65eb3ce1bea92db5f4af87dd68bb5 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Wed, 13 Jun 2012 11:36:01 -0700 Subject: Binding-View: Translate huds Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 90ef2286..4eea3cc4 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -37,17 +37,6 @@ "bindingArgs": {"<-": "@hudRepeater.objectAtCurrentIteration"} } }, - "translateComposer": { - "prototype": "montage/ui/composer/translate-composer", - "properties": { - "component": {"@": "owner"} - }, - "bindings": { - "element": {"<-": "@owner._element"}, - "translateX": {"->": "@owner.translateX"}, - "translateY": {"->": "@owner.translateY"} - } - }, "nonVisualRepeater": { "prototype": "montage/ui/repetition.reel", "properties": { -- cgit v1.2.3 From 60e9ea67e0f6d0cf167b6d5068e2e01db5f67966 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Thu, 14 Jun 2012 15:00:18 -0700 Subject: Binding-Huds draw to component Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 8abddbee..c7520132 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -35,7 +35,13 @@ }, "bindings": { "bindingArgs": {"<-": "@hudRepeater.objectAtCurrentIteration"} - } + }, + "listeners": [ + { + "type": "resizeMove", + "listener": {"@": "owner"} + } + ] }, "nonVisualRepeater": { "prototype": "montage/ui/repetition.reel", -- cgit v1.2.3 From d6c427432bd0040b084b854407e9ed59a6707b54 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 15 Jun 2012 15:00:06 -0700 Subject: Objects Tray - Add objects tray to binding view --- js/stage/binding-view.reel/binding-view.html | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index c7520132..5fb7affd 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -43,23 +43,10 @@ } ] }, - "nonVisualRepeater": { - "prototype": "montage/ui/repetition.reel", - "properties": { - "element": {"#": "nonVisualRepeater"} - }, - "bindings": { - "objects": {"<-": "@owner.nonVisualComponents"} - } - }, - "objectIcon": { - "prototype": "js/panels/objects/object.reel", + "objectsTray" : { + "prototype": "js/stage/objects-tray.reel", "properties": { - "element": {"#": "nonVisualComponent"} - }, - "bindings": { - "sourceObject": {"<-": "@nonVisualRepeater.objectAtCurrentIteration"}, - "identifier": {"<-": "@nonVisualRepeater.objectAtCurrentIteration.identifier"} + "element": {"#": "objects-tray" } } } } @@ -75,11 +62,11 @@
-
-
-
+
+
+
-- cgit v1.2.3 From d7456b5d8f5231b7cb6df31081474cfcd5900a84 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Fri, 15 Jun 2012 16:07:20 -0700 Subject: Put Objects in front of Huds Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 5fb7affd..9a127618 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -15,8 +15,7 @@ "prototype": "js/stage/binding-view.reel", "properties": { "element": {"#": "bindingView"}, - "hudRepeater": {"@": "hudRepeater"}, - "canvas": {"#": "bindingViewCanvas"} + "hudRepeater": {"@": "hudRepeater"} } }, "hudRepeater": { @@ -66,8 +65,6 @@
- - -- cgit v1.2.3 From c144c6921d42fe96c18045b1c2a9822a467b1253 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 15 Jun 2012 18:34:22 -0700 Subject: Objects Tray - Moved to stage object from binding view --- js/stage/binding-view.reel/binding-view.html | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 9a127618..e0c42194 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -41,12 +41,6 @@ "listener": {"@": "owner"} } ] - }, - "objectsTray" : { - "prototype": "js/stage/objects-tray.reel", - "properties": { - "element": {"#": "objects-tray" } - } } } @@ -56,15 +50,13 @@
+
-
-
-
-- cgit v1.2.3 From f5e70ca6204f78c395458d39f14ddaf45308edf7 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Mon, 18 Jun 2012 13:22:08 -0700 Subject: Binding View - validate over huds Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 9a127618..5532d61a 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -15,7 +15,8 @@ "prototype": "js/stage/binding-view.reel", "properties": { "element": {"#": "bindingView"}, - "hudRepeater": {"@": "hudRepeater"} + "hudRepeater": {"@": "hudRepeater"}, + "objectsTray": {"@": "objectsTray"} } }, "hudRepeater": { -- cgit v1.2.3 From e04903ed2d2e6754119550cb071e03878bb1b14b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 18 Jun 2012 19:08:05 -0700 Subject: Objects Tray - Move back to binding view --- js/stage/binding-view.reel/binding-view.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index e0c42194..91c9e397 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -27,6 +27,12 @@ "objects": {"<-": "@owner.bindables"} } }, + "objectsTray" : { + "prototype": "js/stage/objects-tray.reel", + "properties": { + "element": {"#": "objects-tray" } + } + }, "hud": { "prototype": "js/stage/binding-view.reel/binding-hud.reel", "properties": { @@ -57,6 +63,10 @@ +
+
+
+ -- cgit v1.2.3 From 20ea3997661b068fc6628ffa573e1b2d47e3a800 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Tue, 19 Jun 2012 22:51:04 -0700 Subject: Binding View - Mouse Over Element Pop up Hud Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 01bc3ff7..9eb338d8 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -25,7 +25,7 @@ "element": {"#": "hudRepeater"} }, "bindings": { - "objects": {"<-": "@owner.bindables"} + "objects": {"<-": "@owner.boundComponents"} } }, "objectsTray" : { @@ -40,7 +40,7 @@ "element": {"#" : "hud"} }, "bindings": { - "bindingArgs": {"<-": "@hudRepeater.objectAtCurrentIteration"} + "userComponent": {"<-": "@hudRepeater.objectAtCurrentIteration"} }, "listeners": [ { -- cgit v1.2.3