-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsn.txt
320 lines (285 loc) · 9.6 KB
/
jsn.txt
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
/// JSN: Trying to do a minimalistic, modern, and Windows-y theme that is informative while being easy on the eyes.
// Author: Jacob
// URL: https://github.com/Flygenring/sdio-theme
// Modified: 2019-03-27
THEME_NAME = "JSN"
/// Font
FONT_NAME = "Segoe UI"
FONT_SIZE = 12
/// Checkboxes on left panel
CHKBOX_TEXT_COLOR = 0x000000
CHKBOX_TEXT_COLOR_H = 0xEF7900
CHKBOX_SIZE = 18
BUTTON_BITMAP_CHECKED = "jsn\checkbox_checked.webp"
BUTTON_BITMAP_CHECKED_H = "jsn\checkbox_checked_hover.webp"
BUTTON_BITMAP_UNCHECKED = "jsn\checkbox_unchecked.webp"
BUTTON_BITMAP_UNCHECKED_H = "jsn\checkbox_unchecked_hover.webp"
/// Driver list item icons
ITEM_CHECKBOX_SIZE = 25
// ITEM_CHECKBOX_OFS_X = 0
// ITEM_CHECKBOX_OFS_Y = 0
ITEM_EXPAND_UP = "jsn\expand_up.webp"
ITEM_EXPAND_UP_H = "jsn\expand_up_hover.webp"
ITEM_EXPAND_DOWN = "jsn\expand_down.webp"
ITEM_EXPAND_DOWN_H = "jsn\expand_down_hover.webp"
ITEM_BITMAP_CHECKED = "jsn\checkbox_item_checked.webp"
ITEM_BITMAP_CHECKED_H = "jsn\checkbox_item_checked_hover.webp"
ITEM_BITMAP_UNCHECKED = "jsn\checkbox_item_unchecked.webp"
ITEM_BITMAP_UNCHECKED_H = "jsn\checkbox_item_unchecked_hover.webp"
/// Application images
MAINWND_BITMAP_FILENAME = "" // Main window background image ("jsn\background.webp")
MAINWND_BITMAP_ANCHOR = center
MAINWND_BITMAP_FILL = hstr_vstr
DRVLIST_BITMAP_FILENAME = "" // Driver list background ("jsn\semi.webp")
DRVITEM_BITMAP_FILENAME = "" // Driver list item background
DRVITEM_BITMAP_FILENAME_H = "" // Driver list item background hover
PANEL_BITMAP_FILENAME = "" // Default panel background ("jsn\semi.webp")
PANEL2_BITMAP_FILENAME = "" // Panel "install options"
PANEL8_BITMAP_FILENAME = "" // Panel "SDIO revision"
PANEL9_BITMAP_FILENAME = "" // Button "install"
PANEL9_BITMAP_FILENAME_H = "" // Button "install" hover
PANEL10_BITMAP_FILENAME = "" // Button "select all"
PANEL10_BITMAP_FILENAME_H = "" // Button "select all" hover
PANEL11_BITMAP_FILENAME = "" // Button "select none"
PANEL11_BITMAP_FILENAME_H = "" // Button "select none" hover
PANEL13_BITMAP_FILENAME = "" // Application logo resource ("RES_211")
// Main window
MAINWND_TEXT_COLOR = 0x000000
MAINWND_WX = 1024
MAINWND_WY = 729
MAINWND_MINX = 900
MAINWND_MINY = 520
MAINWND_INSIDE_COLOR = 0xE6E6E6
// Progress bar (active)
PROGR_OUTLINE_ROUND = 0
// Panel, generic
PANEL_OUTLINE_ROUND = 0
PANEL_OUTLINE_WIDTH = 0
// Panel elements, generic (deafult: 21)
PNLITEM_WY = 22
// Panel, sysinfo
PANEL1_OFSX = 612
PANEL1_OFSY = 4
PANEL1_WX = -2
PANEL1_WY = 26
PANEL1_INSIDE_COLOR = 0xFFFFFF
PANEL1_OUTLINE_COLOR = 0xFFFFFF
PANEL1_OUTLINE_WIDTH = 3
// Panel, install
PANEL2_OFSX = 194
PANEL2_OFSY = 0
PANEL2_WX = 430
PANEL2_WY = 28
PANEL2_INSIDE_COLOR = 0xFFFFFF
PANEL2_OUTLINE_WIDTH = 0
// Panel, lang_theme
PANEL3_OFSX = 0
PANEL3_OFSY = 0
PANEL3_WX = 195
PANEL3_WY = 22
PANEL3_INSIDE_COLOR = 0xFF987654
// Panel, actions
PANEL4_OFSY = 120
PANEL4_OFSX = 4
PANEL4_INSIDE_COLOR = 0xFF000000
// Panel, filters (found)
PANEL5_OFSY = 225
PANEL5_OFSX = 4
// Panel, filters (not found)
PANEL6_OFSY = 385
PANEL6_OFSX = 4
// Panel, filters (special)
PANEL7_OFSY = 617
// Panel, revision
PANEL8_OFSX = 97
PANEL8_OFSY = 0
PANEL8_WX = 195
PANEL8_WY = 2200
PANEL8_INSIDE_COLOR = 0x987654
PANEL8_INSIDE_COLOR = 0xE6E6E6
PANEL8_OUTLINE_COLOR = 0xE6E6E6
PANEL8_OUTLINE_WIDTH = 6
// Panel, install button
PANEL9_OFSX = 197
PANEL9_OFSY = 3
PANEL9_WY = 70
PANEL9_WX = 130
PANEL9_INSIDE_COLOR = 0x79EF00
PANEL9_INSIDE_COLOR_H = 0xFFCC99
PANEL9_OUTLINE_COLOR = 0xEF7900
PANEL9_OUTLINE_COLOR_H = 0xEF7900
PANEL9_OUTLINE_WIDTH = -1
PANEL9_OUTLINE_ROUND = 3
PANEL9_OUTLINE_ROUND_H = 3
// Panel, selectall button
PANEL10_OFSX = 325
PANEL10_OFSY = 3
PANEL10_WY = 32
PANEL10_WX = 110
PANEL10_INSIDE_COLOR = 0xE6E6E6
// Panel, selectnone button
PANEL11_OFSX = 325
PANEL11_OFSY = 41
PANEL11_WY = 32
PANEL11_WX = 110
PANEL11_INSIDE_COLOR = 0xE6E6E6
// Panel, options
PANEL12_OFSX = 438
PANEL12_OFSY = 3
PANEL12_WX = 185
PANEL12_WY = 27
PANEL12_INSIDE_COLOR = 0xFFFFFF
// Panel, logo
PANEL13_OFSX = 0
PANEL13_OFSY = 0
PANEL13_WX = 0
PANEL13_WY = 0
PANEL13_INSIDE_COLOR = 0xFF000000
PANEL13_OUTLINE_COLOR = 0xFF000000
PANEL13_OUTLINE_WIDTH = 0
// Buttons on left panel
BUTTON_INSIDE_COLOR = 0xFF000000
BUTTON_INSIDE_COLOR_H = 0xFFCC99
BUTTON_OUTLINE_WIDTH = 1
BUTTON_OUTLINE_WIDTH_H = 1
BUTTON_OUTLINE_ROUND = 3
BUTTON_OUTLINE_COLOR = 0xEAAF73
BUTTON_OUTLINE_COLOR_H = 0xEF7900
// Driver list
DRVLIST_OFSX = 194
DRVLIST_OFSY = 84
DRVLIST_WX = -2
DRVLIST_WY = -2
DRVLIST_INSIDE_COLOR = 0xFFFFFF
DRVLIST_OUTLINE_COLOR = 0xFFFFFF
DRVLIST_OUTLINE_WIDTH = 5
DRVLIST_OUTLINE_ROUND = 3
/// Driver items
DRVITEM_WX = -3
DRVITEM_WY = 40
DRVITEM_OFSX = 7
DRVITEM_OFSY = 0
DRVITEM_DIST_Y0 = 49 // Item row height
DRVITEM_DIST_Y1 = 43 // Subitem row height
DRVITEM_DIST_Y2 = 0 // Padding between items
DRVITEM_LINE_INTEND = 30 // Indentation of subitems
DRVITEM_LINE_COLOR = 0xCCCCCC
DRVITEM_LINE_WIDTH = 2
/// Driver item content
// ITEM_ICON_OFS_X
// ITEM_ICON_OFS_Y
// ITEM_ICON_SIZE
// ITEM_TEXT_OFS_X
// ITEM_TEXT_OFS_Y
ITEM_TEXT_DIST_Y = 17
/// Driver item (generic style)
DRVITEM_OUTLINE_ROUND = 0
DRVITEM_INSIDE_COLOR = 0xFFFFFF
DRVITEM_INSIDE_COLOR_H = 0xE5E5E5
DRVITEM_OUTLINE_COLOR = 0xCCCCCC
DRVITEM_OUTLINE_COLOR_H = 0xCCCCCC
DRVITEM_OUTLINE_WIDTH = -1
// DRVITEM_TEXT1_COLOR
// DRVITEM_TEXT2_COLOR
/// SUCCESS: Driver installed
DRVITEM_INSIDE_COLOR_D1 = 0x79EF00
DRVITEM_INSIDE_COLOR_D1_H = 0x99FF00
DRVITEM_TEXT1_COLOR_D1 = 0x000000
DRVITEM_TEXT2_COLOR_D1 = 0x000000
DRVITEM_OUTLINE_COLOR_D1 = 0x00CC00
DRVITEM_OUTLINE_COLOR_D1_H = 0x00CC00
/// WARN: Updates banner (click here to start the download)
DRVITEM_INSIDE_COLOR_IU = 0x79EFEF
DRVITEM_INSIDE_COLOR_IU_H = 0x99FFFF
DRVITEM_TEXT1_COLOR_IU = 0x000000
DRVITEM_TEXT2_COLOR_IU = 0x000000
DRVITEM_OUTLINE_COLOR_IU = 0x00CCCC
DRVITEM_OUTLINE_COLOR_IU_H = 0x00CCCC
// Driver installed (reboot required)
DRVITEM_INSIDE_COLOR_D2 = DRVITEM_INSIDE_COLOR_IU
DRVITEM_INSIDE_COLOR_D2_H = DRVITEM_INSIDE_COLOR_IU_H
DRVITEM_TEXT1_COLOR_D2 = DRVITEM_TEXT1_COLOR_IU
DRVITEM_TEXT2_COLOR_D2 = DRVITEM_TEXT2_COLOR_IU
DRVITEM_OUTLINE_COLOR_D2 = DRVITEM_OUTLINE_COLOR_IU
DRVITEM_OUTLINE_COLOR_D2_H = DRVITEM_OUTLINE_COLOR_IU_H
/// ERROR: Driver installation error
DRVITEM_INSIDE_COLOR_DE = 0x3030B9
DRVITEM_INSIDE_COLOR_DE_H = 0x3333CC
DRVITEM_TEXT1_COLOR_DE = 0xFFFFFF
DRVITEM_TEXT2_COLOR_DE = 0xFFFFFF
DRVITEM_OUTLINE_COLOR_DE = 0x0000CC
DRVITEM_OUTLINE_COLOR_DE_H = 0x0000CC
// Virus alert
DRVITEM_INSIDE_COLOR_VR = DRVITEM_INSIDE_COLOR_DE
DRVITEM_INSIDE_COLOR_VR_H = DRVITEM_INSIDE_COLOR_DE_H
DRVITEM_TEXT1_COLOR_VR = DRVITEM_TEXT1_COLOR_DE
DRVITEM_TEXT2_COLOR_VR = DRVITEM_TEXT2_COLOR_DE
DRVITEM_OUTLINE_COLOR_VR = DRVITEM_OUTLINE_COLOR_DE
DRVITEM_OUTLINE_COLOR_VR_H = DRVITEM_OUTLINE_COLOR_DE_H
/// INFO: (indexing, snapshot, installation)
DRVITEM_INSIDE_COLOR_IF = 0xEFB979
DRVITEM_INSIDE_COLOR_IF_H = 0xFFCC99
DRVITEM_TEXT1_COLOR_IF = 0xFFFFFF
DRVITEM_TEXT2_COLOR_IF = 0xFFFFFF
DRVITEM_OUTLINE_COLOR_IF = 0xEF7900
DRVITEM_OUTLINE_COLOR_IF_H = 0xEF7900
// Driver installing
DRVITEM_INSIDE_COLOR_D0 = DRVITEM_INSIDE_COLOR_IF
DRVITEM_INSIDE_COLOR_D0_H = DRVITEM_INSIDE_COLOR_IF_H
DRVITEM_TEXT1_COLOR_D0 = DRVITEM_TEXT1_COLOR_IF
DRVITEM_TEXT2_COLOR_D0 = DRVITEM_TEXT2_COLOR_IF
DRVITEM_OUTLINE_COLOR_D0 = DRVITEM_OUTLINE_COLOR_IF
DRVITEM_OUTLINE_COLOR_D0_H = DRVITEM_OUTLINE_COLOR_IF_H
/// Packname
DRVITEM_INSIDE_COLOR_PN = 0xFF987654
DRVITEM_TEXT_COLOR_PN = 0x987654
DRVITEM_TEXT2_COLOR_PN = 0x000000
/// Driver suitability hinting
// Success
DRVITEM_TEXT2_COLOR_BN = 0x000000 // BETTER_NEW
DRVITEM_OUTLINE_COLOR_BN = 0x00CC00
DRVITEM_TEXT2_COLOR_SN = DRVITEM_TEXT2_COLOR_BN // SAME_NEW
DRVITEM_OUTLINE_COLOR_SN = DRVITEM_OUTLINE_COLOR_BN
DRVITEM_TEXT2_COLOR_BC = DRVITEM_TEXT2_COLOR_BN // BETTER_CUR
DRVITEM_OUTLINE_COLOR_BC = DRVITEM_OUTLINE_COLOR_BN
DRVITEM_TEXT2_COLOR_BO = DRVITEM_TEXT2_COLOR_BN // BETTER_OLD
DRVITEM_OUTLINE_COLOR_BO = DRVITEM_OUTLINE_COLOR_BN
// Info
DRVITEM_TEXT1_COLOR_SC = 0x666666 // SAME_CUR
DRVITEM_TEXT2_COLOR_SC = DRVITEM_TEXT2_COLOR_SC
DRVITEM_TEXT1_COLOR_DP = DRVITEM_TEXT2_COLOR_SC // DUP
DRVITEM_TEXT2_COLOR_DP = DRVITEM_TEXT2_COLOR_SC
// Warn
DRVITEM_TEXT2_COLOR_MS = DRVITEM_TEXT2_COLOR // MISSING
DRVITEM_OUTLINE_COLOR_MS = 0x00E5E5
DRVITEM_OUTLINE_COLOR_MS_H = DRVITEM_OUTLINE_COLOR_MS
DRVITEM_TEXT2_COLOR_WN = DRVITEM_TEXT2_COLOR_MS // WORSE_NEW
DRVITEM_OUTLINE_COLOR_WN = DRVITEM_OUTLINE_COLOR_MS
DRVITEM_OUTLINE_COLOR_WN_H = DRVITEM_OUTLINE_COLOR_MS
// Error
DRVITEM_TEXT2_COLOR_WC = 0x0000E5 // WORSE_CUR
DRVITEM_OUTLINE_COLOR_WC = 0x0000E5
DRVITEM_OUTLINE_COLOR_WC_H = DRVITEM_OUTLINE_COLOR_WC
DRVITEM_TEXT2_COLOR_SO = DRVITEM_TEXT2_COLOR_WC // SAME_OLD
DRVITEM_OUTLINE_COLOR_SO = DRVITEM_OUTLINE_COLOR_WC
DRVITEM_OUTLINE_COLOR_SO_H = DRVITEM_OUTLINE_COLOR_WC
DRVITEM_TEXT2_COLOR_WO = DRVITEM_TEXT2_COLOR_WC // WORSE_OLD
DRVITEM_OUTLINE_COLOR_WO = DRVITEM_OUTLINE_COLOR_WC
DRVITEM_OUTLINE_COLOR_WO_H = DRVITEM_OUTLINE_COLOR_WC
DRVITEM_TEXT2_COLOR_IN = DRVITEM_TEXT2_COLOR_WC // INVALID
DRVITEM_OUTLINE_COLOR_IN = DRVITEM_OUTLINE_COLOR_WC
DRVITEM_OUTLINE_COLOR_IN_H = DRVITEM_OUTLINE_COLOR_WC
/// Special
// NOT-FOUND, MISSING
DRVITEM_INSIDE_COLOR_NM = 0x9999FF
DRVITEM_INSIDE_COLOR_NM_H = 0x6666EF
DRVITEM_TEXT1_COLOR_NM = 0xFFFFFF
DRVITEM_TEXT2_COLOR_NM = 0xFFFFFF
// NOT-FOUND, INSTALLED_UNKNOWN
DRVITEM_INSIDE_COLOR_NU = 0xFFE5CC
DRVITEM_INSIDE_COLOR_NU_H = 0xFFCC99
DRVITEM_TEXT2_COLOR_NU = 0x666666
// NOT-FOUND, INSTALLED_STANDARD
DRVITEM_INSIDE_COLOR_NS = 0xE5E5E5
DRVITEM_INSIDE_COLOR_NS_H = 0xCCCCCC
DRVITEM_TEXT2_COLOR_NS = 0x666666