diff options
| author | pepperpepperpepper <pepper@scannerjammer.com> | 2015-09-30 00:56:49 -0700 |
|---|---|---|
| committer | pepperpepperpepper <pepper@scannerjammer.com> | 2015-09-30 00:56:49 -0700 |
| commit | 5521785e6c52dd4603699d057d62a5797844fd13 (patch) | |
| tree | 3516ba416147ebd00104f3f5fc666371432af0ae /ricky/imgrid/options.py | |
| parent | 20a896ed6a8d54c3e59baa33ce3fce7a26343c20 (diff) | |
huge rename
Diffstat (limited to 'ricky/imgrid/options.py')
| -rwxr-xr-x | ricky/imgrid/options.py | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/ricky/imgrid/options.py b/ricky/imgrid/options.py new file mode 100755 index 0000000..8ada475 --- /dev/null +++ b/ricky/imgrid/options.py @@ -0,0 +1,64 @@ +from ricky.param.options import Options +format_options = Options.from_dict( + { 'weight': 20, 'value': 'png' }, + { 'weight': 0, 'value': 'gif' }, + { 'weight': 0, 'value': 'jpg' }, +) +transition_options = Options.from_dict( + { "value" : "background", "weight": 1 }, + { "value" : "dither", "weight": 1 }, + { "value" : "random", "weight": 1 }, + { "value" : "tile", "weight": 1 }, + { "value" : "edge", "weight": 1 }, +) +skycolor_colors = \ + bgcolor_colors = planebgcolor_colors = Options.from_dict( + { "value" : "white", "weight" : 1 }, + { "value" : "silver", "weight" : 1 }, + { "value" : None, "weight" : 10 }, +) + +linecolor_colors = Options.from_dict( + { "value" : "black", "weight" : 1 }, + { "value" : "white", "weight" : 1 }, + { "value" : "silver", "weight" : 1 }, +) +swing_options = tilt_options = roll_options = Options.from_dict( + {"value": "", "weight": 2}, + {"value": 30, "weight": 1}, + {"value": -30, "weight": 1}, +) +width_options = height_options = Options.from_dict( + { "value" : 400, "weight" : 1 }, + { "value" : 600, "weight" : 1 }, +) +linethickness_options = Options.from_dict( + {"value":1, "weight": 2}, + {"value":2, "weight": 1}, +) +opacity_options = Options.from_dict( + {"value":1, "weight": 2}, + {"value":0.5, "weight": 1}, +) +spacing_options = Options.from_dict( + {"value":10, "weight": 1}, + {"value":15, "weight": 1}, +) +vlines_options = hlines_options = Options.from_dict( + {"value":"", "weight": 2}, + {"value":"true", "weight": 1}, +) +shadow_options = Options.from_dict( + {"value":"", "weight": 1}, + {"value":"true", "weight": 1}, +) +zoom_options = Options.from_dict( + {"value": 0, "weight": 3}, + {"value": 1.2, "weight": 1}, + {"value": -1.2, "weight": 1}, +) +trim_options = Options.from_dict( + {"value":"", "weight": 1}, + {"value":"true", "weight": 1}, +) + |
