diff options
54 files changed, 1315 insertions, 489 deletions
diff --git a/css/ninja.css b/css/ninja.css index cd7a35ab..db2497c8 100755 --- a/css/ninja.css +++ b/css/ninja.css | |||
@@ -118,9 +118,9 @@ body { position: absolute; margin: 0px; width: 100%; height: 100%; background-co | |||
118 | 118 | ||
119 | #sceneBar { height: 70px; background-color: #474747; } | 119 | #sceneBar { height: 70px; background-color: #474747; } |
120 | 120 | ||
121 | #mainContainer .rulerTop { display: none; background: gray url("../images/temp/ruler-top.png"); height: 15px; margin-bottom: 0px; border-right: 11px solid black; } | 121 | #mainContainer .rulerTop { display: none; background: gray url("../images/temp/ruler-top.png"); height: 15px; margin-bottom: 0px; } |
122 | 122 | ||
123 | .rulerLeft { display: none; background: gray url("../images/temp/ruler-left.png"); width: 16px; border-bottom: 11px solid black; } | 123 | .rulerLeft { display: none; background: gray url("../images/temp/ruler-left.png"); width: 16px; } |
124 | 124 | ||
125 | #stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; } | 125 | #stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; } |
126 | 126 | ||
@@ -863,6 +863,8 @@ input[type="radio"]:disabled { opacity: .3; background: #282828; border-width: 1 | |||
863 | 863 | ||
864 | .InkBottleTool { background-image: url("../images/tools/Tool-FillColor.png"); } | 864 | .InkBottleTool { background-image: url("../images/tools/Tool-FillColor.png"); } |
865 | 865 | ||
866 | .bindingTool { background-image: url("../images/tools/binding.png"); } | ||
867 | |||
866 | .toolsList .colortoolbar { padding-left: 1px; padding-top: 4px; } | 868 | .toolsList .colortoolbar { padding-left: 1px; padding-top: 4px; } |
867 | 869 | ||
868 | .toolsList .colortoolbar button { width: 27px; height: 27px; background: black; border: 1px solid #000; padding: 0; margin: 0px; } | 870 | .toolsList .colortoolbar button { width: 27px; height: 27px; background: black; border: 1px solid #000; padding: 0; margin: 0px; } |
@@ -987,4 +989,10 @@ input[type="radio"]:disabled { opacity: .3; background: #282828; border-width: 1 | |||
987 | 989 | ||
988 | .montage-invisible { display: none; } | 990 | .montage-invisible { display: none; } |
989 | 991 | ||
992 | body .panel.ws-binding { display: none; -webkit-box-flex-group: 2; } | ||
993 | |||
994 | body.ws-binding .rightPanelContent .panel { display: none; } | ||
995 | |||
996 | body.ws-binding .rightPanelContent .panel.ws-binding { display: -webkit-box; } | ||
997 | |||
990 | /*77*/ | 998 | /*77*/ |
diff --git a/images/cursors/binding.png b/images/cursors/binding.png new file mode 100644 index 00000000..16e84574 --- /dev/null +++ b/images/cursors/binding.png | |||
Binary files differ | |||
diff --git a/images/tools/binding.png b/images/tools/binding.png new file mode 100644 index 00000000..33545ee1 --- /dev/null +++ b/images/tools/binding.png | |||
Binary files differ | |||
diff --git a/js/components/layout/documents-tab.reel/documents-tab.html b/js/components/layout/documents-tab.reel/documents-tab.html index 4aed23d9..cf3dbbf5 100755 --- a/js/components/layout/documents-tab.reel/documents-tab.html +++ b/js/components/layout/documents-tab.reel/documents-tab.html | |||
@@ -33,17 +33,17 @@ | |||
33 | }, | 33 | }, |
34 | "name": { | 34 | "name": { |
35 | "boundObject": {"@": "repetition1"}, | 35 | "boundObject": {"@": "repetition1"}, |
36 | "boundObjectPropertyPath": "objectAtCurrentIteration.name", | 36 | "boundObjectPropertyPath": "objectAtCurrentIteration.model.file.name", |
37 | "oneway": true | 37 | "oneway": true |
38 | }, | 38 | }, |
39 | "saveFlag": { | 39 | "saveFlag": { |
40 | "boundObject": {"@": "repetition1"}, | 40 | "boundObject": {"@": "repetition1"}, |
41 | "boundObjectPropertyPath": "objectAtCurrentIteration.needsSave", | 41 | "boundObjectPropertyPath": "objectAtCurrentIteration.model.needsSave", |
42 | "oneway": true | 42 | "oneway": true |
43 | }, | 43 | }, |
44 | "active": { | 44 | "active": { |
45 | "boundObject": {"@": "repetition1"}, | 45 | "boundObject": {"@": "repetition1"}, |
46 | "boundObjectPropertyPath": "objectAtCurrentIteration.isActive", | 46 | "boundObjectPropertyPath": "objectAtCurrentIteration.model.isActive", |
47 | "oneway": true | 47 | "oneway": true |
48 | } | 48 | } |
49 | } | 49 | } |
diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html index 9aa05e5d..25aac8fb 100755 --- a/js/components/layout/tools-list.reel/tools-list.html +++ b/js/components/layout/tools-list.reel/tools-list.html | |||
@@ -112,6 +112,9 @@ | |||
112 | "ZoomTool1": { | 112 | "ZoomTool1": { |
113 | "prototype": "js/tools/ZoomTool" | 113 | "prototype": "js/tools/ZoomTool" |
114 | }, | 114 | }, |
115 | "BindingTool1": { | ||
116 | "prototype": "js/tools/BindingTool" | ||
117 | }, | ||
115 | 118 | ||
116 | "disable": { | 119 | "disable": { |
117 | "prototype": "montage/ui/condition.reel", | 120 | "prototype": "montage/ui/condition.reel", |
@@ -151,6 +154,7 @@ | |||
151 | "RotateStageTool3D": {"@": "RotateStageTool3D1"}, | 154 | "RotateStageTool3D": {"@": "RotateStageTool3D1"}, |
152 | "PanTool": {"@": "PanTool1"}, | 155 | "PanTool": {"@": "PanTool1"}, |
153 | "ZoomTool": {"@": "ZoomTool1"}, | 156 | "ZoomTool": {"@": "ZoomTool1"}, |
157 | "bindingTool": {"@": "BindingTool1"}, | ||
154 | "components": [ | 158 | "components": [ |
155 | {"@": "repetition1"} | 159 | {"@": "repetition1"} |
156 | ] | 160 | ] |
diff --git a/js/components/layout/tools-properties.reel/tools-properties.html b/js/components/layout/tools-properties.reel/tools-properties.html index 10309ec4..9061cd12 100755 --- a/js/components/layout/tools-properties.reel/tools-properties.html +++ b/js/components/layout/tools-properties.reel/tools-properties.html | |||
@@ -120,6 +120,12 @@ | |||
120 | "element": {"#": "zoomProperties"} | 120 | "element": {"#": "zoomProperties"} |
121 | } | 121 | } |
122 | }, | 122 | }, |
123 | "bindingProperties1": { | ||
124 | "prototype": "js/components/tools-properties/binding-properties.reel", | ||
125 | "properties": { | ||
126 | "element": {"#": "bindingProperties"} | ||
127 | } | ||
128 | }, | ||
123 | 129 | ||
124 | "disable": { | 130 | "disable": { |
125 | "prototype": "montage/ui/condition.reel", | 131 | "prototype": "montage/ui/condition.reel", |
@@ -155,7 +161,8 @@ | |||
155 | "eraserProperties": {"@": "eraserProperties1"}, | 161 | "eraserProperties": {"@": "eraserProperties1"}, |
156 | "rotateStageProperties": {"@": "rotateStageProperties1"}, | 162 | "rotateStageProperties": {"@": "rotateStageProperties1"}, |
157 | "panProperties": {"@": "panProperties1"}, | 163 | "panProperties": {"@": "panProperties1"}, |
158 | "zoomProperties": {"@": "zoomProperties1"} | 164 | "zoomProperties": {"@": "zoomProperties1"}, |
165 | "bindingProperties": {"@": "bindingProperties1"} | ||
159 | }, | 166 |