-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbinary.ccfg
141 lines (117 loc) · 3.49 KB
/
binary.ccfg
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
// Monochromatic, 1-bit Theme.
// Great for displays that can only turn pixels ON or OFF.
SECTION Binary
// Params
LET c1 #E44332 // First color (pixel = OFF)
LET c2 #FFFFFF // Second color (pixel = ON)
LET pad 15 // Padding
LET lin 3 // General line / border width
LET out 4 // Outline width (around buttons)
LET gap 12 // Cell gap
LET win 20 // Window padding (from window edge to cell edge, without window border)
// Groups
LET beacons beacon_on beacon_crit_on
LET buttons button_idle button_disabled button_focused button_pressed
LET lined_cells stripes placeholder
LET simple_cells \
filler \
placeholder \
stripes \
label \
button_idle \
button_focused \
button_pressed \
button_disabled \
beacon_on \
beacon_off \
beacon_crit_on \
beacon_crit_off \
gauge \
gauge_bar \
gauge_cursor
// Group settings
FOR_EACH simple_cells cell
% cell border_size $ lin
% cell pad - $ pad $ lin
% cell back_color $ c1
% cell border_color $ c2
% cell text_color $ c2
% cell outline_size 0
% cell margin 0
FOR_END
FOR_EACH lined_cells cell
% cell pad 0
% cell line_color $ c2
FOR_END
FOR_EACH buttons cell
% cell corner_type square square cut square
% cell corner_size 10
% cell outline_hitbox TRUE
FOR_END
FOR_EACH beacons cell
% cell pad - $ pad * $ lin 4
% cell margin $ lin
% cell outline_size $ lin
% cell outline_color $ c2
% cell border_size * $ lin 3
% cell border_color $ c1
% cell back_color $ c2
% cell text_color $ c1
% cell text_bold TRUE
FOR_END
// Individual settings
grid gap $ gap
grid pad $ pad
window border_size * $ lin 2
window back_color $ c1
window border_color $ c2
window pad $ win
popup pad $ win
window_focused enable_style FALSE
window_disabled enable_style FALSE
window_locked enable_style FALSE
popup enable_style FALSE
filler draw FALSE
placeholder line_size $ lin
stripes line_size * $ lin 2
stripes line_gap * $ lin 3
button_idle border_size 0
button_idle pad $ pad
button_idle back_color $ c2
button_idle text_color $ c1
button_idle text_bold TRUE
button_idle outline_size + $ lin $ out
button_idle outline_color $ c1
button_idle outline_shape FALSE
button_focused margin ! $ lin
button_focused pad $ pad
button_focused outline_size $ out
button_focused outline_color $ c2
button_focused border_size $ lin
button_focused border_color $ c1
button_focused back_color $ c2
button_focused text_color $ c1
button_focused text_bold TRUE
button_focused outline_hitbox TRUE
button_pressed pad + $ pad $ lin
button_pressed margin ! $ lin
button_pressed outline_size $ out
button_pressed outline_color $ c2
button_pressed back_color $ c1
button_pressed text_color $ c2
button_pressed outline_hitbox TRUE
button_pressed border_size 0
button_disabled outline_size + $ lin $ out
button_disabled outline_color $ c1
button_disabled outline_shape FALSE
beacon_crit_off margin $ lin
beacon_crit_off border_size * $ lin 2
beacon_crit_off pad - $ pad * $ lin 2
beacon_crit_off outline_size $ lin
beacon_crit_off outline_color $ c1
gauge pad * $ lin 3
gauge_bar pad * $ lin -4
gauge_bar border_size 0
gauge_bar back_color $ c2
gauge_cursor pad - $ pad / $ lin 2
gauge_cursor min_size 0