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
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
|
///////////////////////////////////////////////////////////
// Object Control Panel scheme resource file
//
// sections:
// Colors - all the colors used by the scheme
// BaseSettings - contains settings for app to use to draw controls
// Fonts - list of all the fonts used by app
// Borders - description of all the borders
//
// hit ctrl-alt-shift-R in the app to reload this file
//
///////////////////////////////////////////////////////////
Scheme
{
//////////////////////// COLORS ///////////////////////////
// color details
// this is a list of all the colors used by the scheme
Colors
{
// base colors
"BaseText" "48 192 192 255" // used in text windows, lists
"BrightBaseText" "155 255 255 255" // brightest text
"DimBaseText" "150 159 142 255" // dim base text
"LabelDimText" "160 170 149 255" // slight modification on above, used for info text
// could be just removed and use DimBaseText?
"ControlText" "48 192 192 255" // used in all text controls
"BrightControlText" "64 224 224 255" // use for selected controls
"DisabledText1" "32 128 128 255" // disabled text
"DisabledText2" "30 30 30 255" // overlay color for disabled text (to give that inset look)
// background colors
"ControlBG" "76 88 68 255" // background color of controls
"ControlDarkBG" "90 106 80 255" // darker background color; used for background of scrollbars
"WindowBG" "62 70 55 255" // background color of text edit panes (chat, text entries, etc.)
"SelectionBG" "149 136 49 255" // background color of any selected text or menu item
// title colors
"TitleText" "255 255 255 255"
"TitleDimText" "120 132 114 255"
"TitleBG" "76 88 68 0"
"TitleDimBG" "76 88 68 0"
// border colors
"BorderBright" "136 145 128 255" // the lit side of a control
"BorderDark" "45 49 40 255" // the dark/unlit side of a control
"BorderSelection" "0 0 0 255" // the additional border color for displaying the default/selected button
}
///////////////////// BASE SETTINGS ////////////////////////
//
// default settings for all panels
// controls use these to determine their settings
BaseSettings
{
"FgColor" "ControlText"
"BgColor" "ControlBG"
"LabelBgColor" "ControlBG"
"SubPanelBgColor" "ControlBG"
"DisabledFgColor1" "DisabledText1"
"DisabledFgColor2" "DisabledText2" // set this to the BgColor if you don't want it to draw
"TitleBarFgColor" "TitleText"
"TitleBarDisabledFgColor" "TitleDimText"
"TitleBarBgColor" "TitleBG"
"TitleBarDisabledBgColor" "TitleDimBG"
// "TitleBarIcon" "resource/icon_steam"
// "TitleBarDisabledIcon" "resource/icon_steam_disabled"
"TitleBarIcon" "resource/icon_hlicon1"
"TitleBarDisabledIcon" "resource/icon_hlicon2"
"TitleButtonFgColor" "BorderBright"
"TitleButtonBgColor" "ControlBG"
"TitleButtonDisabledFgColor" "TitleDimText"
"TitleButtonDisabledBgColor" "TitleDimBG"
"TextCursorColor" "BaseText" // color of the blinking text cursor in text entries
"URLTextColor" "BrightBaseText" // color that URL's show up in chat window
Menu
{
"FgColor" "DimBaseText"
"BgColor" "ControlBG"
"ArmedFgColor" "BrightBaseText"
"ArmedBgColor" "SelectionBG"
"DividerColor" "BorderDark"
"TextInset" "6"
}
MenuButton // the little arrow on the side of boxes that triggers drop down menus
{
"ButtonArrowColor" "DimBaseText" // color of arrows
"ButtonBgColor" "WindowBG" // bg color of button. same as background color of text edit panes
"ArmedArrowColor" "BrightBaseText" // color of arrow when mouse is over button
"ArmedBgColor" "DimBaseText" // bg color of button when mouse is over button
}
Slider
{
"SliderFgColor" "ControlText" // handle with which the slider is grabbed
"SliderBgColor" "ControlDarkBG" // area behind handle
"SliderTickColor" "ControlText" // slider tick's color
"SliderTickLabelColor" "ControlText" // color of labels at the ends of the slider tick
}
ScrollBarSlider
{
"BgColor" "ControlBG" // this isn't really used
"ScrollBarSliderFgColor" "ControlBG" // handle with which the slider is grabbed
"ScrollBarSliderBgColor" "ControlDarkBG" // area behind handle
"ButtonFgColor" "DimBaseText" // color of arrows
}
// text edit windows
"WindowFgColor" "BaseText" // off-white
"WindowBgColor" "WindowBG"
"WindowDisabledFgColor" "DimBaseText"
"WindowDisabledBgColor" "66 80 60 255" // background of chat conversation
"SelectionFgColor" "255 255 255 255" // fg color of selected text
"SelectionBgColor" "SelectionBG"
"ListSelectionFgColor" "255 255 255 255" //
"ListBgColor" "62 70 55 255" // background of server browser control, etc
"BuddyListBgColor" "62 70 55 255" // background of buddy list pane
// App-specific stuff
"ChatBgColor" "WindowBgColor"
// status selection
"StatusSelectFgColor" "BrightBaseText"
"StatusSelectFgColor2" "BrightControlText" // this is the color of the friends status
// checkboxes
"CheckButtonBorder1" "BorderDark" // the left checkbutton border
"CheckButtonBorder2" "BorderBright" // the right checkbutton border
"CheckButtonCheck" "0 0 0 255" // color of the check itself
"CheckBgColor" "158 168 150 255"
// buttons (default fg/bg colors are used if these are not set)
// "ButtonArmedFgColor"
// "ButtonArmedBgColor"
// "ButtonDepressedFgColor" "BrightControlText"
// "ButtonDepressedBgColor"
// buddy buttons
BuddyButton
{
"FgColor1" "ControlText"
"FgColor2" "117 134 102 255"
"ArmedFgColor1" "BrightBaseText"
"ArmedFgColor2" "BrightBaseText"
"ArmedBgColor" "SelectionBG"
}
Chat
{
"TextColor" "BrightControlText"
"SelfTextColor" "BaseText"
"SeperatorTextColor" "DimBaseText"
}
"SectionTextColor" "BrightControlText" // text color for IN-GAME, ONLINE, OFFLINE sections of buddy list
"SectionDividerColor" "BorderDark" // color of line that runs under section name in buddy list
// TF2 HUD
"HudStatusBgColor" "0 0 0 64"
"HudStatusSelectedBgColor" "0 0 0 192"
}
//
//////////////////////// FONTS /////////////////////////////
//
// describes all the fonts
Fonts
{
// fonts are used in order that they are listed
// fonts listed later in the order will only be used if they fulfill a range not already filled
// if a font fails to load then the subsequent fonts will replace
"Default"
{
"1"
{
"name" "Impact"
"tall" "32"
"weight" "900"
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
}
}
"DefaultUnderline"
{
"1"
{
"name" "Impact"
"tall" "32"
"weight" "900"
"underline" "1"
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
}
}
"DefaultSmall"
{
"1"
{
"name" "Impact"
"tall" "24"
"weight" "900"
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
}
}
"DefaultVerySmall"
{
"1"
{
"name" "Impact"
"tall" "18"
"weight" "900"
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
}
}
"DefaultLarge"
{
"1"
{
"name" "Impact"
"tall" "48"
"weight" "0"
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
}
}
// this is the symbol font
"Marlett"
{
"1"
{
"name" "Marlett"
"tall" "14"
"weight" "0"
"symbol" "1"
"range" "0x0000 0x007F" // Basic Latin
}
}
}
//
//////////////////// BORDERS //////////////////////////////
//
// describes all the border types
Borders
{
BaseBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}
TitleButtonBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Top
{
"4"
{
"color" "BorderBright"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}
TitleButtonDisabledBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BgColor"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BgColor"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BgColor"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BgColor"
"offset" "0 0"
}
}
}
TitleButtonDepressedBorder
{
"inset" "1 1 1 1"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}
ScrollBarButtonBorder
{
"inset" "2 2 0 0"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}
ButtonBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
Top
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}
TabBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}
TabActiveBorder
{
"inset" "0 0 1 0"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "ControlBG"
"offset" "6 2"
}
}
}
ToolTipBorder
{
"inset" "0 0 1 0"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}
// this is the border used for default buttons (the button that gets pressed when you hit enter)
ButtonKeyFocusBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Top
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderBright"
"offset" "1 0"
}
}
Right
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Bottom
{
"1"
{
"color" "BorderSelection"
"offset" "0 0"
}
"2"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}
ButtonDepressedBorder
{
"inset" "2 1 1 1"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}
ComboBoxBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "BorderDark"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderBright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
}
MenuBorder
{
"inset" "1 1 1 1"
Left
{
"1"
{
"color" "BorderBright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "BorderDark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "BorderBright"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "BorderDark"
"offset" "0 0"
}
}
}
}
}
|