summaryrefslogtreecommitdiff
path: root/EDK/MiniSetup/Legacy/Legacy.sdl
blob: f83ca131c9e07f245c1dae881f72a8e9b52ec522 (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
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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
TOKEN
	Name  = "TSE_STYLE_LEGACY_SUPPORT"
	Value  = "0"
	Help  = "Main switch to enable Legacy Style in TSE"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	Master = Yes
End

TOKEN
	Name  = "SETUP_STYLE_LEGACY"
	Value  = "1"
	Help  = "Condition to support Legacy Style Sources"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "TSE_STYLE_SOURCES_SUPPORT"
	Value  = "1"
	Help  = "Don't Edit."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "SETUP_STYLE_FULL_SCREEN"
	Value  = "1"
	Help  = "Condition to support full screen layout"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "STYLE_FULL_MAX_ROWS"
	Value  = "31"
	Help  = "Maximum rows in full screen mode"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "STYLE_FULL_MAX_COLS"
	Value  = "100"
	Help  = "Maximum columns in full screen mode"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "STYLE_STD_MAX_ROWS"
	Value  = "24"
	Help  = "Maximum rows in standard mode"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "STYLE_STD_MAX_COLS"
	Value  = "80"
	Help  = "Maximum columns in Standard mode"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PAGE_BGCOLOR"
	Value  = "EFI_BACKGROUND_BLUE"
	Help  = "Background Color of the main area (Main, Help, and Navigation Frames) in a page."
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "PAGE_FGCOLOR"
	Value  = "EFI_WHITE"
	Help  = "Foreground and Border Color of main area in a page (Default EFI_BLUE)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "TITLE_BGCOLOR"
	Value  = "PAGE_BGCOLOR"
	Help  = "Background Color of the Title bar frame."
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "TITLE_FGCOLOR"
	Value  = "PAGE_FGCOLOR"
	Help  = "Foreground Color of the Title bar frame"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "MENU_BGCOLOR"
	Value  = "PAGE_BGCOLOR"
	Help  = "Background color of the Menu bar frame"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "MENU_FGCOLOR"
	Value  = "PAGE_FGCOLOR"
	Help  = "Foreground Color of the Menu bar frame"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "HELP_FGCOLOR"
	Value  = "EFI_YELLOW"
	Help  = "Foreground Color of the Help Frame (Default PAGE_FGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "HELPTITLE_FGCOLOR"
	Value  = "PAGE_FGCOLOR"
	Help  = "Foreground Color of the Help Title Frame"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "NAV_FGCOLOR"
	Value  = "PAGE_FGCOLOR"
	Help  = "Foreground Color of the Navigation Frame"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "SCROLLBAR_BGCOLOR"
	Value  = "PAGE_BGCOLOR"
	Help  = "Background color of the Scroll bar (Default PAGE_BGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "SCROLLBAR_FGCOLOR"
	Value  = "PAGE_FGCOLOR"
	Help  = "Foreground Color of the Scroll bar (Default PAGE_FGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "SCROLLBAR_UPARROW_BGCOLOR"
	Value  = "PAGE_BGCOLOR"
	Help  = "Background color of the Scroll bar Up-Arrow (Default PAGE_BGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "SCROLLBAR_UPARROW_FGCOLOR"
	Value  = "PAGE_FGCOLOR"
	Help  = "Foreground Color of the Scroll bar Up-Arrow (Default PAGE_FGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "SCROLLBAR_DOWNARROW_BGCOLOR"
	Value  = "PAGE_BGCOLOR"
	Help  = "Background color of the Scroll bar Down-Arrow (Default PAGE_BGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "SCROLLBAR_DOWNARROW_FGCOLOR"
	Value  = "PAGE_FGCOLOR"
	Help  = "Foreground Color of the Scroll bar Down-Arrow (Default PAGE_FGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "POPUP_BGCOLOR"
	Value  = "EFI_BACKGROUND_RED"
	Help  = "Background Color of Popup Windows, and Message Boxes (Default EFI_BACKGROUND_BLUE)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "POPUP_FGCOLOR"
	Value  = "EFI_WHITE"
	Help  = "Foreground Color of Popup Windows, and Message Boxes (Default EFI_WHITE)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "FOCUS_COLOR"
	Value  = "EFI_YELLOW"
	Help  = "Focused label and control text color (Default EFI_WHITE)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "LABEL_FOCUS_COLOR"
	Value  = "EFI_WHITE"
	Help  = "Focused label text color (Default same as FOCUS_COLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "CONTROL_FOCUS_COLOR"
	Value  = "EFI_WHITE"
	Help  = "Focused control text color (Default same as FOCUS_COLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "CONTROL_FOCUS_BGCOLOR"
	Value  = "EFI_BACKGROUND_RED"
	Help  = "Focused control background color (Default same as PAGE_BGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "NON_FOCUS_COLOR"
	Value  = "EFI_WHITE"
	Help  = "Non Focused label and control text color (Default PAGE_FGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "LABEL_NON_FOCUS_COLOR"
	Value  = "NON_FOCUS_COLOR"
	Help  = "Non Focused label text color (Default same as NON_FOCUS_COLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "CONTROL_NON_FOCUS_COLOR"
	Value  = "EFI_YELLOW"
	Help  = "Non Focused control text color (Default same as NON_FOCUS_COLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "PAGE_LINK_COLOR"
	Value  = "NON_FOCUS_COLOR"
	Help  = "Submenu text color (Default PAGE_FGCOLOR)"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "EDIT_BGCOLOR"
	Value  = "EFI_BACKGROUND_BLUE"
	Help  = "Background color of focused edit controls"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "EDIT_FGCOLOR"
	Value  = "EFI_WHITE"
	Help  = "Foreground color of focused edit controls"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "TEXT_COLOR"
	Value  = "EFI_LIGHTGRAY"
	Help  = "Foreround color of text controls"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "MEMO_COLOR"
	Value  = "TEXT_COLOR"
	Help  = "Foreground color of Memo controls"
	TokenType = Expression
	TargetH = Yes
	Range  = "0x0-0x0f"
End

TOKEN
	Name  = "FULL_STYLE_CONTROL_LEFT_MARGIN"
	Value  = "30"
	Help  = "Control column left margin in full screen mode"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "FULL_STYLE_CONTROL_LEFT_PAD"
	Value  = "2"
	Help  = "Control left padding in full screen mode"
	TokenType = Integer
	TargetH = Yes

End

TOKEN
	Name  = "STYLE_CONTROL_LEFT_MARGIN"
	Value  = "24"
	Help  = "Control column left margin"
	TokenType = Integer
	TargetH = Yes

End

TOKEN
	Name  = "STYLE_CONTROL_LEFT_PAD"
	Value  = "2"
	Help  = "Control left padding"
	TokenType = Integer
	TargetH = Yes

End

TOKEN
	Name  = "FULL_STYLE_LABEL_LEFT_MARGIN"
	Value  = "2"
	Help  = "Label column left margin in full screen mode"
	TokenType = Expression
	TargetH = Yes

End

TOKEN
	Name  = "STYLE_LABEL_LEFT_MARGIN"
	Value  = "2"
	Help  = "Label column left margin in normal screen mode"
	TokenType = Expression
	TargetH = Yes

End

TOKEN
	Name  = "STYLE_SCROLLBAR_ROLLOVER"
	Value  = "1"
	Help  = "Support rollover when the scroll limit has been reached"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "STYLE_PAGE_FIRSTITEM_FOCUS"
	Value  = "0"
	Help  = "Reset focus to the first item when navigating to a new page. (Default 0 => Set focus to previously selected item)"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "STYLE_SUBPAGE_FIRSTITEM_FOCUS"
	Value  = "0"
	Help  = "Reset focus to the first item when navigating back from submenu. (Default 0 => Set focus to previously selected item)"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN	
	Name  = "STYLE_HOTKEY_FAILSAFE"
	Value = "SCAN_F6"
	Help  = " Hot Key to load fail safe values"
	TokenType = Expression
	TargetH = Yes
End

TOKEN	
	Name  = "STYLE_SHADOW_SUPPORT"
	Value = "1"
	Help  = " To enable/disable shadow support"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN	
	Name  = "STYLE_SPACEKEY_INCREMENT"
	Value = "1"
	Help  = "  < need to add help >"
	TokenType = Integer
	TargetH = Yes
End

PATH
	Name  = "TSE_STYLE_DIR"
End

MODULE
	Help  = "Includes Legacy.mak to Project"
	File  = "Legacy.mak"
End

ELINK
	Name  = "$(BUILD_DIR)\TSEStyleLegacy.lib"
	Parent  = "$(TSE_STYLE_DIR)\TSEStyleLegacy$(ARCH).lib"
	InvokeOrder = ReplaceParent
End