diff options
author | Pushkar Joshi | 2012-03-13 11:23:32 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-03-13 11:23:32 -0700 |
commit | 76f2021618c0a6a99a1b855233e353e84ca99467 (patch) | |
tree | 494ee3268c80a79fae97ae39cd4c1e7e9ea4b7ef /js/components/tools-properties/brush-properties.reel/brush-properties.html | |
parent | 730c42e005b1ebd96448e3bc2dd700ffd8909cb5 (diff) | |
download | ninja-76f2021618c0a6a99a1b855233e353e84ca99467.tar.gz |
Add a smoothing amount parameter, and hide options based on checkboxes
Diffstat (limited to 'js/components/tools-properties/brush-properties.reel/brush-properties.html')
-rwxr-xr-x | js/components/tools-properties/brush-properties.reel/brush-properties.html | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.html b/js/components/tools-properties/brush-properties.reel/brush-properties.html index 608111bd..cbe4c242 100755 --- a/js/components/tools-properties/brush-properties.reel/brush-properties.html +++ b/js/components/tools-properties/brush-properties.reel/brush-properties.html | |||
@@ -33,7 +33,8 @@ | |||
33 | "maxValue": 100, | 33 | "maxValue": 100, |
34 | "value": 100, | 34 | "value": 100, |
35 | "decimalPlace": 10, | 35 | "decimalPlace": 10, |
36 | "acceptableUnits" : ["px", "pt"] | 36 | "acceptableUnits" : ["%"], |
37 | "units" : "%" | ||
37 | } | 38 | } |
38 | }, | 39 | }, |
39 | 40 | ||
@@ -46,6 +47,20 @@ | |||
46 | "maxValue": 90, | 47 | "maxValue": 90, |
47 | "value": 0, | 48 | "value": 0, |
48 | "decimalPlace": 10, | 49 | "decimalPlace": 10, |
50 | "acceptableUnits" : ["deg."], | ||
51 | "units" : "deg." | ||
52 | } | ||
53 | }, | ||
54 | |||
55 | "smoothingAmountHT": { | ||
56 | "module": "js/components/hottextunit.reel", | ||
57 | "name": "HotTextUnit", | ||
58 | "properties": { | ||
59 | "element": {"#": "smoothingAmount"}, | ||
60 | "minValue": 0, | ||
61 | "maxValue": 100, | ||
62 | "value": 0, | ||
63 | "decimalPlace": 10, | ||
49 | "acceptableUnits" : ["px", "pt"] | 64 | "acceptableUnits" : ["px", "pt"] |
50 | } | 65 | } |
51 | }, | 66 | }, |
@@ -58,8 +73,10 @@ | |||
58 | "_strokeSize": {"@": "strokeSizeHT"}, | 73 | "_strokeSize": {"@": "strokeSizeHT"}, |
59 | "_strokeHardness": {"@": "strokeHardnessHT"}, | 74 | "_strokeHardness": {"@": "strokeHardnessHT"}, |
60 | "_doSmoothing": {"#": "doSmoothing"}, | 75 | "_doSmoothing": {"#": "doSmoothing"}, |
76 | "_smoothingAmount": {"@": "smoothingAmountHT"}, | ||
61 | "_useCalligraphic":{"#": "useCalligraphic"}, | 77 | "_useCalligraphic":{"#": "useCalligraphic"}, |
62 | "_strokeAngle": {"@": "strokeAngleHT"} | 78 | "_strokeAngle": {"@": "strokeAngleHT"}, |
79 | "_angleLabel": {"#": "angleLabel"} | ||
63 | } | 80 | } |
64 | } | 81 | } |
65 | } | 82 | } |
@@ -75,8 +92,9 @@ | |||
75 | <label class="label"> Hardness:</label> | 92 | <label class="label"> Hardness:</label> |
76 | <div id="strokeHardness" class="label"></div> | 93 | <div id="strokeHardness" class="label"></div> |
77 | <label class="label"><input id="doSmoothing" type="checkbox" name="doSmoothingControl" class="checkBoxAlign"/>Smoothing</label> | 94 | <label class="label"><input id="doSmoothing" type="checkbox" name="doSmoothingControl" class="checkBoxAlign"/>Smoothing</label> |
95 | <div id="smoothingAmount" class="label"></div> | ||
78 | <label class="label"><input id="useCalligraphic" type="checkbox" name="useCalligraphicControl" class="checkBoxAlign"/>Calligraphic</label> | 96 | <label class="label"><input id="useCalligraphic" type="checkbox" name="useCalligraphicControl" class="checkBoxAlign"/>Calligraphic</label> |
79 | <label class="label"> Angle:</label> | 97 | <label class="label" id="angleLabel"> Angle:</label> |
80 | <div id="strokeAngle" class="label"></div> | 98 | <div id="strokeAngle" class="label"></div> |
81 | 99 | ||
82 | </div> | 100 | </div> |