summaryrefslogtreecommitdiff
path: root/Pb_Api/ImGrid/options.py
blob: 387a489913627a3f5c6ceb24fe011ac32197b12c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from Pb_Api.Param.Options import Pb_Api_Param_Options
format_options = Pb_Api_Param_Options.from_dict(
  { 'weight': 20, 'value': 'png' },
  { 'weight': 0, 'value': 'gif' },
  { 'weight': 0, 'value': 'jpg' },
)
transition_options = Pb_Api_Param_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 = Pb_Api_Param_Options.from_dict(
  { "value" : "white", "weight" : 1 }, 
  { "value" : "silver", "weight" : 1 }, 
  { "value" : None, "weight" : 10 }, 
)

linecolor_colors = Pb_Api_Param_Options.from_dict(
  { "value" : "black", "weight" : 1 }, 
  { "value" : "white", "weight" : 1 }, 
  { "value" : "silver", "weight" : 1 }, 
)
swing_options = tilt_options = roll_options = Pb_Api_Param_Options.from_dict(
   {"value": "",  "weight": 2},
   {"value": 30,   "weight": 1},
   {"value": -30,   "weight": 1},
)
width_options = height_options = Pb_Api_Param_Options.from_dict(
   { "value" : 400, "weight" : 1 }, 
   { "value" : 600, "weight" : 1 }, 
)
linethickness_options = Pb_Api_Param_Options.from_dict(
   {"value":1,  "weight": 2},
   {"value":2,  "weight": 1},
)
opacity_options = Pb_Api_Param_Options.from_dict( 
   {"value":1,  "weight": 2},
   {"value":0.5,  "weight": 1},
)
spacing_options = Pb_Api_Param_Options.from_dict(
   {"value":10,  "weight": 1},
   {"value":15,  "weight": 1},
)
vlines_options = hlines_options = Pb_Api_Param_Options.from_dict(
   {"value":"",  "weight": 2},
   {"value":"true",   "weight": 1},
)
shadow_options = Pb_Api_Param_Options.from_dict(
   {"value":"",  "weight": 1},
   {"value":"true",   "weight": 1},
)
zoom_options = Pb_Api_Param_Options.from_dict(
    {"value": 0,  "weight": 3},
    {"value": 1.2,  "weight": 1},
    {"value": -1.2,  "weight": 1},
)
trim_options = Pb_Api_Param_Options.from_dict(
   {"value":"",  "weight": 1},
   {"value":"true",   "weight": 1},
)