diff options
author | Jose Antonio Marquez | 2012-02-08 13:14:29 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-08 13:14:29 -0800 |
commit | 9b45b897949bf934c8bf2c90ee2ff78f8713cb12 (patch) | |
tree | e7c276a3934c823cab894f46ee7dc5d3eda9ca83 /js/components/tools-properties/shape-properties.reel/shape-properties.html | |
parent | aa01c1210f3a4d9fd55a771b9de2c58ee3fa4bb6 (diff) | |
parent | 10cdeb52403f16d5d4be43a516e8cdfbc866a2a2 (diff) | |
download | ninja-9b45b897949bf934c8bf2c90ee2ff78f8713cb12.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into Color
Conflicts:
js/controllers/elements/shapes-controller.js
js/data/pi/pi-data.js
js/panels/properties/content.reel/content.js
Diffstat (limited to 'js/components/tools-properties/shape-properties.reel/shape-properties.html')
-rw-r--r-- | js/components/tools-properties/shape-properties.reel/shape-properties.html | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/js/components/tools-properties/shape-properties.reel/shape-properties.html b/js/components/tools-properties/shape-properties.reel/shape-properties.html index 52502d47..64840b17 100644 --- a/js/components/tools-properties/shape-properties.reel/shape-properties.html +++ b/js/components/tools-properties/shape-properties.reel/shape-properties.html | |||
@@ -53,6 +53,26 @@ | |||
53 | } | 53 | } |
54 | }, | 54 | }, |
55 | 55 | ||
56 | "_strokeMaterial1": { | ||
57 | "module": "js/components/combobox.reel", | ||
58 | "name": "Combobox", | ||
59 | "properties": { | ||
60 | "element": {"#": "strokeMaterialCB"}, | ||
61 | "labelField": "_name", | ||
62 | "dataField": "_name" | ||
63 | } | ||
64 | }, | ||
65 | |||
66 | "_fillMaterial1": { | ||
67 | "module": "js/components/combobox.reel", | ||
68 | "name": "Combobox", | ||
69 | "properties": { | ||
70 | "element": {"#": "fillMaterialCB"}, | ||
71 | "labelField": "_name", | ||
72 | "dataField": "_name" | ||
73 | } | ||
74 | }, | ||
75 | |||
56 | "toolbutton1": { | 76 | "toolbutton1": { |
57 | "module": "js/components/layout/subtool-button.reel", | 77 | "module": "js/components/layout/subtool-button.reel", |
58 | "name": "SubToolButton", | 78 | "name": "SubToolButton", |
@@ -89,10 +109,9 @@ | |||
89 | "name": "ShapeProperties", | 109 | "name": "ShapeProperties", |
90 | "properties": { | 110 | "properties": { |
91 | "element": {"#": "shapeProperties"}, | 111 | "element": {"#": "shapeProperties"}, |
92 | "_strokeStyle": {"#": "strokeStyleCB"}, | 112 | "_strokeMaterial": {"@": "_strokeMaterial1"}, |
93 | "_strokeMaterial": {"#": "strokeMaterialCB"}, | ||
94 | "_fillIcon": {"#": "fillIcon"}, | 113 | "_fillIcon": {"#": "fillIcon"}, |
95 | "_fillMaterial": {"#": "fillMaterialCB"}, | 114 | "_fillMaterial": {"@": "_fillMaterial1"}, |
96 | 115 | ||
97 | "_useWebGL": {"#": "useWebGLCH"}, | 116 | "_useWebGL": {"#": "useWebGLCH"}, |
98 | "_materialLabel": {"#": "materialLabel"}, | 117 | "_materialLabel": {"#": "materialLabel"}, |
@@ -125,14 +144,6 @@ | |||
125 | <label class="label">Stroke:</label> | 144 | <label class="label">Stroke:</label> |
126 | <div id="strokeControl" class="label"></div> | 145 | <div id="strokeControl" class="label"></div> |
127 | 146 | ||
128 | <label class="label">Style:</label> | ||
129 | <select id="strokeStyleCB" class="selectBox"> | ||
130 | <option value="0">Hairline</option> | ||
131 | <option value="1" selected>Solid</option> | ||
132 | <option value="2">Dashed</option> | ||
133 | <option value="3">Dotted</option> | ||
134 | </select> | ||
135 | |||
136 | <div id="customProperties"> | 147 | <div id="customProperties"> |
137 | <div id="ovalProperties" class="label"></div> | 148 | <div id="ovalProperties" class="label"></div> |
138 | <div id="rectProperties" class="label"></div> | 149 | <div id="rectProperties" class="label"></div> |
@@ -142,7 +153,7 @@ | |||
142 | <label class="label subOption optionLabel"><input id="useWebGLCH" type="checkbox" name="useWebGLControl" class="checkBoxAlign"/>Use WebGL</label> | 153 | <label class="label subOption optionLabel"><input id="useWebGLCH" type="checkbox" name="useWebGLControl" class="checkBoxAlign"/>Use WebGL</label> |
143 | 154 | ||
144 | <label id="materialLabel" class="label">Material:</label> | 155 | <label id="materialLabel" class="label">Material:</label> |
145 | <div id="strokeIcon" class="pencilToolUp"></div> | 156 | <div id="strokeIcon" class="pencilToolUp" style="float: left;"></div> |
146 | 157 | ||
147 | <select class="selectBox" id="strokeMaterialCB"> | 158 | <select class="selectBox" id="strokeMaterialCB"> |
148 | </select> | 159 | </select> |