diff options
author | Nivesh Rajbhandari | 2012-02-07 10:58:14 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-07 10:58:14 -0800 |
commit | 486842239c71e7964f38a09aacda4970f2a82e1a (patch) | |
tree | 20a6688d296b1ef09bf32add9dfdef586bfe4207 /js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html | |
parent | 789eaf5a92c903f27462c69a8890fbec695ab14e (diff) | |
download | ninja-486842239c71e7964f38a09aacda4970f2a82e1a.tar.gz |
Updated tools and PI to get/set materials by binding to appModel's materials property. This requires us to add FlatMaterial to the list of materials in the MaterialsLibrary.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html')
-rw-r--r-- | js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html index b98a7b4c..1602e793 100644 --- a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html +++ b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html | |||
@@ -36,6 +36,16 @@ | |||
36 | } | 36 | } |
37 | }, | 37 | }, |
38 | 38 | ||
39 | "_strokeMaterialCB": { | ||
40 | "module": "js/components/combobox.reel", | ||
41 | "name": "Combobox", | ||
42 | "properties": { | ||
43 | "element": {"#": "strokeMaterialIBCB"}, | ||
44 | "labelField": "_name", | ||
45 | "dataField": "_name" | ||
46 | } | ||
47 | }, | ||
48 | |||
39 | "owner": { | 49 | "owner": { |
40 | "module": "js/components/tools-properties/ink-bottle-properties.reel", | 50 | "module": "js/components/tools-properties/ink-bottle-properties.reel", |
41 | "name": "InkBottleProperties", | 51 | "name": "InkBottleProperties", |
@@ -49,7 +59,7 @@ | |||
49 | 59 | ||
50 | "_useWebGL": {"#": "useWebGLCHIB"}, | 60 | "_useWebGL": {"#": "useWebGLCHIB"}, |
51 | "_materialsContainer": {"#": "materialsContainerIB"}, | 61 | "_materialsContainer": {"#": "materialsContainerIB"}, |
52 | "_strokeMaterial": {"#": "strokeMaterialIBCB"} | 62 | "_strokeMaterial": {"@": "_strokeMaterialCB"} |
53 | } | 63 | } |
54 | } | 64 | } |
55 | } | 65 | } |