-
Notifications
You must be signed in to change notification settings - Fork 4
/
styleSettings.py
153 lines (103 loc) · 2.66 KB
/
styleSettings.py
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# -*- coding: utf-8 -*-
'''
Created on 17 Mar 2013
@author:
'''
import wrappers
class DefaultSettings:
inner_radius = 30
outer_radius = 32
shadow_offset = 7
shadow_blur = 15
border_thickness = 2
border_color= "#000000"
bevel_size = 6
highlight_amount = 0.1
lowlight_amount = 0.3
color="#3030c0"
class EngraveSettingsOuter:
inner_radius = 14
outer_radius = 16
shadow_offset = 0
shadow_blur = 15
border_thickness = 1
border_color= "#000000"
bevel_size = 4
highlight_amount = -0.3
lowlight_amount = -0.3
color="#6f6f6f"
class EngraveSettingsInner:
inner_radius = 1
outer_radius = 2
shadow_offset = 0
shadow_blur = 15
border_thickness = 0
border_color= "#000000"
bevel_size = 2
highlight_amount = -0.1
lowlight_amount = -0.1
color="#4f4f4f"
class KnobSettings:
inner_radius = 10
outer_radius = 12
#inner_radius = 15
#outer_radius = 18
shadow_offset = 5
shadow_blur = 4
border_thickness = 1
border_color= "#000000"
bevel_size = 2
highlight_amount = 0.1
lowlight_amount = 0.3
color="#c0c0c0"
class BarSettings:
inner_radius = 10
outer_radius = 0
shadow_offset = 0
shadow_blur = 0
border_thickness = 0
border_color= "#000000"
bevel_size = 0
highlight_amount = 0.1
lowlight_amount = 0.3
# color="#c0c0c0"
color= wrappers.style.page.background_color
class HighlightBarSettings(BarSettings):
#color = wrappers.style.divhovercommandImage.background_color
color = "#FF3300"
class HighlightBarSettingsPressed(BarSettings):
#color = wrappers.style.divhovercommandImage.background_color
color = "#22FF53"
class BarSettingsOLD:
inner_radius = 12
outer_radius = 14
shadow_offset = 4
shadow_blur = 4
border_thickness = 1
border_color= "#000000"
bevel_size = 4
highlight_amount = 0.1
lowlight_amount = 0.3
color="#c0c0c0"
class HighlightBarSettingsOLD(BarSettings):
inner_radius = 12
outer_radius = 14
shadow_offset = 2
shadow_blur = 2
border_thickness = 1
border_color= "#c0c0c0"
bevel_size = 4
highlight_amount = 0.2
lowlight_amount = 0.3
color="#c0c0f0"
class LEDSettings:
inner_radius = 10
outer_radius = 12
shadow_offset = 6
shadow_blur = 8
border_thickness = 1
border_color= "#000000"
bevel_size = 3
highlight_amount = 0.5
lowlight_amount = 0.3
color="#10a010"