/ platform / resource / TrackerScheme.res
TrackerScheme.res
  1  //
  2  // TRACKER SCHEME RESOURCE FILE
  3  //
  4  // sections:
  5  //		colors			- all the colors used by the scheme
  6  //		basesettings	- contains settings for app to use to draw controls
  7  //		fonts			- list of all the fonts used by app
  8  //		borders			- description of all the borders
  9  //
 10  // notes:
 11  // 		hit ctrl-alt-shift-R in the app to reload this file
 12  //
 13  Scheme
 14  {
 15  	//////////////////////// COLORS ///////////////////////////
 16  	Colors
 17  	{
 18  		// base colors
 19  		"BaseText"			"216 222 211 255"	// used in text windows, lists
 20  		"BrightBaseText"	"255 255 255 255"	// brightest text
 21  		"SelectedText"		"255 255 255 255"	// selected text
 22  		"DimBaseText"		"160 170 149 255"	// dim base text
 23  		"LabelDimText"		"160 170 149 255"	// used for info text
 24  		"ControlText"		"216 222 211 255"	// used in all text controls
 25  		"BrightControlText"	"196 181 80 255"	// use for selected controls
 26  		"DisabledText1"		"117 128 111 255"	// disabled text
 27  		"DisabledText2"		"40 46 34 255"		// overlay color for disabled text (to give that inset look)
 28  		"DimListText"		"117 134 102 255"	// offline friends, unsubscribed games, etc.
 29  
 30  		// background colors
 31  		"ControlBG"			"76 88 68 255"		// background color of controls
 32  		"ControlDarkBG"		"90 106 80 255"		// darker background color; used for background of scrollbars
 33  		"WindowBG"			"62 70 55 255"		// background color of text edit panes (chat, text entries, etc.)
 34  		"SelectionBG"		"149 136 49 255"	// background color of any selected text or menu item
 35  		"SelectionBG2"		"40 46 34 255"		// selection background in window w/o focus
 36  		"ListBG"			"62 70 55 255"		// background of server browser, buddy list, etc.
 37  
 38  		// titlebar colors
 39  		"TitleText"			"255 255 255 255"
 40  		"TitleDimText"		"136 145 128 255"
 41  		"TitleBG"			"76 88 68 0"
 42  		"TitleDimBG"		"76 88 68 0"
 43  		
 44  		// slider tick colors
 45  		"SliderTickColor"	"127 140 127 255"
 46  		"SliderTrackColor"	"31 31 31 255"
 47  
 48  		// border colors
 49  		"BorderBright"		"136 145 128 255"	// the lit side of a control
 50  		"BorderDark"		"40 46 34 255"		// the dark/unlit side of a control
 51  		"BorderSelection"	"0 0 0 255"			// the additional border color for displaying the default/selected button
 52  	}
 53  
 54  	///////////////////// BASE SETTINGS ////////////////////////
 55  	// default settings for all panels
 56  	// controls use these to determine their settings
 57  	BaseSettings
 58  	{
 59  		"FgColor"			"ControlText"
 60  		"BgColor"			"ControlBG"
 61  		"LabelBgColor"		"ControlBG"
 62  		"SubPanelBgColor"	"ControlBG"
 63  
 64  		"DisabledFgColor1"		"DisabledText1" 
 65  		"DisabledFgColor2"		"DisabledText2"			// set this to the BgColor if you don't want it to draw
 66  
 67  		"TitleBarFgColor"			"TitleText"
 68  		"TitleBarDisabledFgColor"	"TitleDimText"
 69  		"TitleBarBgColor"			"TitleBG"
 70  		"TitleBarDisabledBgColor"	"TitleDimBG"
 71  
 72  		"TitleBarIcon"				"resource/icon_steam"
 73  		"TitleBarDisabledIcon"		"resource/icon_steam_disabled"
 74  
 75  		"TitleButtonFgColor"			"BorderBright"
 76  		"TitleButtonBgColor"			"ControlBG"
 77  		"TitleButtonDisabledFgColor"	"TitleDimText"
 78  		"TitleButtonDisabledBgColor"	"TitleDimBG"
 79  
 80  		"TextCursorColor"			"BaseText"			// color of the blinking text cursor in text entries
 81  		"URLTextColor"				"BrightBaseText"	// color that URL's show up in chat window
 82  
 83  		Menu
 84  		{
 85  			"FgColor"			"DimBaseText"
 86  			"BgColor"			"ControlBG"
 87  			"ArmedFgColor"		"BrightBaseText"
 88  			"ArmedBgColor"		"SelectionBG"
 89  			"DividerColor"		"BorderDark"
 90  
 91  			"TextInset"			"6"
 92  		}
 93  
 94  		MenuButton	  // the little arrow on the side of boxes that triggers drop down menus
 95  		{
 96  			"ButtonArrowColor"	"DimBaseText"		// color of arrows
 97  		   	"ButtonBgColor"		"WindowBG"			// bg color of button. same as background color of text edit panes 
 98  			"ArmedArrowColor"	"BrightBaseText"	// color of arrow when mouse is over button
 99  			"ArmedBgColor"		"DimBaseText"		// bg color of button when mouse is over button
100  		}
101  
102  		Slider
103  		{
104  			"SliderFgColor"		"ControlBG"			// handle with which the slider is grabbed
105  			"SliderBgColor"		"ControlDarkBG"		// area behind handle
106  		}
107  
108  		ScrollBarSlider
109  		{
110  			"BgColor"					"ControlBG"		// this isn't really used
111  			"ScrollBarSliderFgColor"	"ControlBG"		// handle with which the slider is grabbed
112  			"ScrollBarSliderBgColor"	"ControlDarkBG"	// area behind handle
113  			"ButtonFgColor"				"DimBaseText"	// color of arrows
114  		}
115  
116  
117  		// text edit windows
118  		"WindowFgColor"				"BaseText"		// off-white
119  		"WindowBgColor"				"WindowBG"		// redundant. can we get rid of WindowBgColor and just use WindowBG?
120  		"WindowDisabledFgColor"		"DimBaseText"
121  		"WindowDisabledBgColor"		"ListBG"		// background of chat conversation
122  		"SelectionFgColor"			"SelectedText"	// fg color of selected text
123  		"SelectionBgColor"			"SelectionBG"
124  		"ListSelectionFgColor"		"SelectedText"
125  		"ListBgColor"				"ListBG"		// background of server browser control, etc
126  		"BuddyListBgColor"			"ListBG"		// background of buddy list pane
127  		
128  		// App-specific stuff
129  		"ChatBgColor"				"WindowBG"
130  
131  		// status selection
132  		"StatusSelectFgColor"		"BrightBaseText"
133  		"StatusSelectFgColor2"		"BrightControlText"	// this is the color of the friends status
134  
135  		// checkboxes
136  		"CheckButtonBorder1"   		"BorderDark"		// the left checkbutton border
137  		"CheckButtonBorder2"   		"BorderBright"		// the right checkbutton border
138  		"CheckButtonCheck"			"BrightControlText"	// color of the check itself
139  		"CheckBgColor"				"ListBG"
140  
141  		// buttons (default fg/bg colors are used if these are not set)
142  //		"ButtonArmedFgColor"
143  //		"ButtonArmedBgColor"
144  //		"ButtonDepressedFgColor"	"BrightControlText"
145  //		"ButtonDepressedBgColor"
146  
147  		// buddy buttons
148  		BuddyButton
149  		{
150  			"FgColor1"				"ControlText"
151  			"FgColor2"				"DimListText"
152  			"ArmedFgColor1"			"BrightBaseText"
153  			"ArmedFgColor2"			"BrightBaseText"
154  			"ArmedBgColor"			"SelectionBG"
155  		}
156  
157  		Chat
158  		{
159  			"TextColor"				"BrightControlText"
160  			"SelfTextColor"			"BaseText"
161  			"SeperatorTextColor"	"DimBaseText"
162  		}
163  
164  		InGameDesktop
165  		{
166  			"MenuColor"			"200 200 200 255"
167  			"ArmedMenuColor"	"255 255 255 255"
168  			"DepressedMenuColor" "192 186 80 255"
169  			"WidescreenBarColor" "0 0 0 0"
170  			"MenuItemVisibilityRate" "0.03"  // time it takes for one menu item to appear
171  			"MenuItemHeight"	"28"
172  			"GameMenuInset"		"32"
173  		}
174  
175  		"SectionTextColor"		"BrightControlText"	// text color for IN-GAME, ONLINE, OFFLINE sections of buddy list
176  		"SectionDividerColor"	"BorderDark"		// color of line that runs under section name in buddy list
177  	}
178  
179  	//
180  	//////////////////////// FONTS /////////////////////////////
181  	//
182  	// describes all the fonts
183  	Fonts
184  	{
185  		// fonts are used in order that they are listed
186  		// fonts listed later in the order will only be used if they fulfill a range not already filled
187  		// if a font fails to load then the subsequent fonts will replace
188  		"Default"
189  		{
190  			"1"
191  			{
192  				"name"		"Tahoma"
193  				"tall"		"16"
194  				"weight"	"0"
195  			}
196  		}
197  		"DefaultBold"
198  		{
199  			"1"
200  			{
201  				"name"		"Tahoma"
202  				"tall"		"16"
203  				"weight"	"500"
204  			}
205  		}
206  		"DefaultUnderline"
207  		{
208  			"1"
209  			{
210  				"name"		"Tahoma"
211  				"tall"		"16"
212  				"weight"	"0"
213  				"underline" "1"
214  			}
215  		}
216  		"DefaultSmall"
217  		{
218  			"1"
219  			{
220  				"name"		"Tahoma"
221  				"tall"		"13"
222  				"weight"	"0"
223  			}
224  		}
225  		"DefaultSmallBold"
226  		{
227  			"1"
228  			{
229  				"name"		"Tahoma"
230  				"tall"		"12"
231  				"weight"	"600"
232  			}
233  		}
234  		"DefaultVerySmall"
235  		{
236  			"1"
237  			{
238  				"name"		"Tahoma"
239  				"tall"		"12"
240  				"weight"	"0"
241  			}
242  		}
243  		"MenuLarge"
244  		{
245  			"1"
246  			{
247  				"name"		"Verdana"
248  				"tall"		"18"
249  				"weight"	"1000"
250  				"antialias" "0"
251  			}
252  		}
253  		"UiHeadline"
254  		{
255  			"1"
256  			{
257  				"name"		"Verdana"
258  				"tall"		"16"
259  				"weight"	"1000"
260  				"antialias" "0"
261  			}
262  		}
263  
264  		// this is the symbol font
265  		"Marlett"
266  		{
267  			"1"
268  			{
269  				"name"		"Marlett"
270  				"tall"		"14"
271  				"weight"	"0"
272  				"symbol"	"1"
273  			}
274  		}
275  		
276  		"EngineFont"
277  		{
278  			"1"
279  			{
280  				"name"		"Verdana"
281  				"tall"		"12"
282  				"weight"	"600"
283  				"yres"	"480 599"
284  				"dropshadow"	"1"
285  			}
286  			"2"
287  			{
288  				"name"		"Verdana"
289  				"tall"		"13"
290  				"weight"	"600"
291  				"yres"	"600 767"
292  				"dropshadow"	"1"
293  			}
294  			"3"
295  			{
296  				"name"		"Verdana"
297  				"tall"		"14"
298  				"weight"	"600"
299  				"yres"	"768 1023"
300  				"dropshadow"	"1"
301  			}
302  			"4"
303  			{
304  				"name"		"Verdana"
305  				"tall"		"20"
306  				"weight"	"600"
307  				"yres"	"1024 1199"
308  				"dropshadow"	"1"
309  			}
310  			"5"
311  			{
312  				"name"		"Verdana"
313  				"tall"		"24"
314  				"weight"	"600"
315  				"yres"	"1200 6000"
316  				"dropshadow"	"1"
317  			}
318  		}	
319  		
320  		"CreditsFont"
321  		{
322  			"1"
323  			{
324  				"name"		"Trebuchet MS"
325  				"tall"		"18"
326  				"weight"	"600"
327  				"antialias"	"1"
328  			}
329  		}
330  
331  		"Legacy_CreditsFont" // Added to accomodate 3rd party server plugins, etc. This version should not scale.
332  		{
333  			"1"
334  			{
335  				"name"		"Trebuchet MS"
336  				"tall"		"20"
337  				"weight"	"700"
338  				"antialias"	"1"
339  				"yres"	"1 10000"
340  			}
341  		}
342  
343  		"GameConsole_Mono"
344  		{
345  			"1"
346  			{
347  				"name"		"Courier"
348  				"tall"		"14"
349  				"weight"	"500"
350  			}
351  		}
352  	}
353  
354  	//
355  	//////////////////// BORDERS //////////////////////////////
356  	//
357  	// describes all the border types
358  	Borders
359  	{
360  		// references to other borders
361  		BaseBorder		"InsetBorder"
362  		ComboBoxBorder	"InsetBorder"
363  		BrowserBorder	"InsetBorder"
364  		ButtonBorder	"RaisedBorder"
365  		FrameBorder		"RaisedBorder"
366  		TabBorder		"RaisedBorder"
367  		MenuBorder		"RaisedBorder"
368  		
369  		// standard borders
370  		InsetBorder
371  		{
372  			"inset" "0 0 1 1"
373  			Left
374  			{
375  				"1"
376  				{
377  					"color" "BorderDark"
378  					"offset" "0 1"
379  				}
380  			}
381  
382  			Right
383  			{
384  				"1"
385  				{
386  					"color" "BorderBright"
387  					"offset" "1 0"
388  				}
389  			}
390  
391  			Top
392  			{
393  				"1"
394  				{
395  					"color" "BorderDark"
396  					"offset" "0 0"
397  				}
398  			}
399  
400  			Bottom
401  			{
402  				"1"
403  				{
404  					"color" "BorderBright"
405  					"offset" "0 0"
406  				}
407  			}
408  		}
409  
410  		RaisedBorder
411  		{
412  			"inset" "0 0 1 1"
413  			Left
414  			{
415  				"1"
416  				{
417  					"color" "BorderBright"
418  					"offset" "0 1"
419  				}
420  			}
421  
422  			Right
423  			{
424  				"1"
425  				{
426  					"color" "BorderDark"
427  					"offset" "0 0"
428  				}
429  			}
430  
431  			Top
432  			{
433  				"1"
434  				{
435  					"color" "BorderBright"
436  					"offset" "0 1"
437  				}
438  			}
439  
440  			Bottom
441  			{
442  				"1"
443  				{
444  					"color" "BorderDark"
445  					"offset" "0 0"
446  				}
447  			}
448  		}
449  
450  		// special border types
451  		TitleButtonBorder
452  		{
453  			"inset" "0 0 1 1"
454  			Left
455  			{
456  				"1"
457  				{
458  					"color" "BorderBright"
459  					"offset" "0 1"
460  				}
461  			}
462  
463  			Right
464  			{
465  				"1"
466  				{
467  					"color" "BorderDark"
468  					"offset" "1 0"
469  				}
470  			}
471  
472  			Top
473  			{
474  				"4"
475  				{
476  					"color" "BorderBright"
477  					"offset" "0 0"
478  				}
479  			}
480  
481  			Bottom
482  			{
483  				"1"
484  				{
485  					"color" "BorderDark"
486  					"offset" "0 0"
487  				}
488  			}
489  		}
490  
491  		TitleButtonDisabledBorder
492  		{
493  			"inset" "0 0 1 1"
494  			Left
495  			{
496  				"1"
497  				{
498  					"color" "BgColor"
499  					"offset" "0 1"
500  				}
501  			}
502  
503  			Right
504  			{
505  				"1"
506  				{
507  					"color" "BgColor"
508  					"offset" "1 0"
509  				}
510  			}
511  			Top
512  			{
513  				"1"
514  				{
515  					"color" "BgColor"
516  					"offset" "0 0"
517  				}
518  			}
519  
520  			Bottom
521  			{
522  				"1"
523  				{
524  					"color" "BgColor"
525  					"offset" "0 0"
526  				}
527  			}
528  		}
529  
530  		TitleButtonDepressedBorder
531  		{
532  			"inset" "1 1 1 1"
533  			Left
534  			{
535  				"1"
536  				{
537  					"color" "BorderDark"
538  					"offset" "0 1"
539  				}
540  			}
541  
542  			Right
543  			{
544  				"1"
545  				{
546  					"color" "BorderBright"
547  					"offset" "1 0"
548  				}
549  			}
550  
551  			Top
552  			{
553  				"1"
554  				{
555  					"color" "BorderDark"
556  					"offset" "0 0"
557  				}
558  			}
559  
560  			Bottom
561  			{
562  				"1"
563  				{
564  					"color" "BorderBright"
565  					"offset" "0 0"
566  				}
567  			}
568  		}
569  
570  		ScrollBarButtonBorder
571  		{
572  			"inset" "1 0 0 0"
573  			Left
574  			{
575  				"1"
576  				{
577  					"color" "BorderBright"
578  					"offset" "0 1"
579  				}
580  			}
581  
582  			Right
583  			{
584  				"1"
585  				{
586  					"color" "BorderDark"
587  					"offset" "1 0"
588  				}
589  			}
590  
591  			Top
592  			{
593  				"1"
594  				{
595  					"color" "BorderBright"
596  					"offset" "0 0"
597  				}
598  			}
599  
600  			Bottom
601  			{
602  				"1"
603  				{
604  					"color" "BorderDark"
605  					"offset" "0 0"
606  				}
607  			}
608  		}
609  
610  		ScrollBarButtonDepressedBorder
611  		{
612  			"inset" "2 2 0 0"
613  			Left
614  			{
615  				"1"
616  				{
617  					"color" "BorderDark"
618  					"offset" "0 1"
619  				}
620  			}
621  
622  			Right
623  			{
624  				"1"
625  				{
626  					"color" "BorderBright"
627  					"offset" "1 0"
628  				}
629  			}
630  
631  			Top
632  			{
633  				"1"
634  				{
635  					"color" "BorderDark"
636  					"offset" "0 0"
637  				}
638  			}
639  
640  			Bottom
641  			{
642  				"1"
643  				{
644  					"color" "BorderBright"
645  					"offset" "0 0"
646  				}
647  			}
648  		}
649  		
650  		TabActiveBorder
651  		{
652  			"inset" "0 0 1 0"
653  			Left
654  			{
655  				"1"
656  				{
657  					"color" "BorderBright"
658  					"offset" "0 0"
659  				}
660  			}
661  
662  			Right
663  			{
664  				"1"
665  				{
666  					"color" "BorderDark"
667  					"offset" "1 0"
668  				}
669  			}
670  
671  			Top
672  			{
673  				"1"
674  				{
675  					"color" "BorderBright"
676  					"offset" "0 0"
677  				}
678  			}
679  
680  			Bottom
681  			{
682  				"1"
683  				{
684  					"color" "ControlBG"
685  					"offset" "6 2"
686  				}
687  			}
688  		}
689  
690  
691  		ToolTipBorder
692  		{
693  			"inset" "0 0 1 0"
694  			Left
695  			{
696  				"1"
697  				{
698  					"color" "BorderDark"
699  					"offset" "0 0"
700  				}
701  			}
702  
703  			Right
704  			{
705  				"1"
706  				{
707  					"color" "BorderDark"
708  					"offset" "1 0"
709  				}
710  			}
711  
712  			Top
713  			{
714  				"1"
715  				{
716  					"color" "BorderDark"
717  					"offset" "0 0"
718  				}
719  			}
720  
721  			Bottom
722  			{
723  				"1"
724  				{
725  					"color" "BorderDark"
726  					"offset" "0 0"
727  				}
728  			}
729  		}
730  
731  		// this is the border used for default buttons (the button that gets pressed when you hit enter)
732  		ButtonKeyFocusBorder
733  		{
734  			"inset" "0 0 1 1"
735  			Left
736  			{
737  				"1"
738  				{
739  					"color" "BorderSelection"
740  					"offset" "0 0"
741  				}
742  				"2"
743  				{
744  					"color" "BorderBright"
745  					"offset" "0 1"
746  				}
747  			}
748  			Top
749  			{
750  				"1"
751  				{
752  					"color" "BorderSelection"
753  					"offset" "0 0"
754  				}
755  				"2"
756  				{
757  					"color" "BorderBright"
758  					"offset" "1 0"
759  				}
760  			}
761  			Right
762  			{
763  				"1"
764  				{
765  					"color" "BorderSelection"
766  					"offset" "0 0"
767  				}
768  				"2"
769  				{
770  					"color" "BorderDark"
771  					"offset" "1 0"
772  				}
773  			}
774  			Bottom
775  			{
776  				"1"
777  				{
778  					"color" "BorderSelection"
779  					"offset" "0 0"
780  				}
781  				"2"
782  				{
783  					"color" "BorderDark"
784  					"offset" "1 1"
785  				}
786  			}
787  		}
788  
789  		ButtonDepressedBorder
790  		{
791  			"inset" "2 1 1 1"
792  			Left
793  			{
794  				"1"
795  				{
796  					"color" "BorderDark"
797  					"offset" "0 1"
798  				}
799  			}
800  
801  			Right
802  			{
803  				"1"
804  				{
805  					"color" "BorderBright"
806  					"offset" "1 0"
807  				}
808  			}
809  
810  			Top
811  			{
812  				"1"
813  				{
814  					"color" "BorderDark"
815  					"offset" "0 0"
816  				}
817  			}
818  
819  			Bottom
820  			{
821  				"1"
822  				{
823  					"color" "BorderBright"
824  					"offset" "0 0"
825  				}
826  			}
827  		}
828  	}
829  }