Guest User

SourceScheme.res with descriptions

a guest
May 16th, 2013
788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.31 KB | None | 0 0
  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. ///////////////////////////////////////////////////////////
  11. Scheme
  12. {
  13. //////////////////////// COLORS ///////////////////////////
  14. // color details
  15. // this is a list of all the colors used by the scheme
  16. Colors
  17. {
  18. // base colors
  19. "White" "255 255 255 255"
  20. "OffWhite" "216 216 216 255"
  21. "DullWhite" "142 142 142 255"
  22. "Orange" "255 155 0 255"
  23. "TransparentBlack" "0 0 0 128"
  24. "Black" "0 0 0 255"
  25.  
  26. "Blank" "0 0 0 0"
  27.  
  28. "SteamLightGreen" "157 194 80 255"
  29. "AchievementsLightGrey" "79 79 79 255"
  30. "AchievementsDarkGrey" "55 55 55 255"
  31. "AchievementsInactiveFG" "130 130 130 255"
  32.  
  33. // My Colors
  34. "BlackLight" "0 0 0 155"
  35. "DisabledItem1" "117 117 117 255"
  36. "DisabledItem2" "30 30 30 255"
  37. "Gray" "78 78 78 255"
  38. "GrayLight" "78 78 78 200"
  39. "Green" "43 118 49 255"
  40. "LightGreen" "100 225 120 255"
  41. "Red" "199 19 18 255"
  42.  
  43. // For Testing
  44. "Testing" "0 0 255 255" //blue
  45. "Testing2" "0 255 255 255" //turquoise
  46. }
  47.  
  48. ///////////////////// BASE SETTINGS ////////////////////////
  49. //
  50. // default settings for all panels
  51. // controls use these to determine their settings
  52. BaseSettings
  53. {
  54. // vgui_controls color specifications (MOTD Okay button)
  55.  
  56. Border.Bright "Black" // the lit side of a control
  57. Border.Dark "Black" // the dark/unlit side of a control
  58.  
  59. // the additional border color for displaying the default/selected button (Example: Submit button on console, OK button in menus, etc.)
  60.  
  61. Border.Selection "LightGreen"
  62.  
  63. // Buttons in menus. (Example: demoui "Load..., Drive..., etc.")
  64.  
  65. Button.TextColor "White"
  66. Button.BgColor "Blank"
  67. Button.ArmedTextColor "LightGreen"
  68. Button.ArmedBgColor "Blank" [$WIN32]
  69. Button.ArmedBgColor "190 115 0 255" [$X360]
  70. Button.DepressedTextColor "LightGreen"
  71. Button.DepressedBgColor "Blank"
  72. Button.FocusBorderColor "Blank"
  73.  
  74. //Checkboxes and their text
  75.  
  76. CheckButton.TextColor "White"
  77. CheckButton.SelectedTextColor "White"
  78. CheckButton.BgColor "BlackLight"
  79. CheckButton.Border1 "Grey" // the left checkbutton border
  80. CheckButton.Border2 "Grey" // the right checkbutton border
  81. CheckButton.Check "LightGreen" // color of the check itself
  82. CheckButton.HighlightFgColor "LightGreen" // Mouse-over a checkbutton or its text.
  83. CheckButton.ArmedBgColor "Testing" //
  84. CheckButton.DepressedBgColor "Blank"
  85. CheckButton.DisabledBgColor "BlackLight"
  86.  
  87. // drop down list (also see Menu.TextColor ff)
  88.  
  89. ComboBoxButton.ArrowColor "LightGreen"
  90. ComboBoxButton.ArmedArrowColor "LightGreen"
  91. ComboBoxButton.BgColor "Blank"
  92. ComboBoxButton.DisabledBgColor "Blank"
  93.  
  94. // Frames of the Options Menu, Console, etc.
  95.  
  96. Frame.TitleTextInsetX 16 // Position from the left of the Menu Title of a menu panel. Example "Console" on top of the console.
  97. Frame.ClientInsetX 5 // Thickness of the frame of a panel. (left/right)
  98. Frame.ClientInsetY 3 // Thickness of the frame of a panel. (top/bottom)
  99. Frame.BgColor "BlackLight" [$WIN32]
  100. Frame.BgColor "80 80 80 192" [$X360]
  101. Frame.OutOfFocusBgColor "BlackLight" [$WIN32]
  102. Frame.OutOfFocusBgColor "80 80 80 192" [$X360]
  103. Frame.FocusTransitionEffectTime "0.3" // time it takes for a window to fade in/out on focus/out of focus
  104. Frame.TransitionEffectTime "0.3" [$WIN32] // time it takes for a window to fade in/out on open/close
  105. Frame.TransitionEffectTime "0.2" [$X360] // time it takes for a window to fade in/out on open/close
  106. Frame.AutoSnapRange "0"
  107.  
  108. // Bottom right of the Console to resize it
  109.  
  110. FrameGrip.Color1 "Green"
  111. FrameGrip.Color2 "LightGreen"
  112.  
  113. // X to close frames (top right of a frame)
  114.  
  115. FrameTitleButton.FgColor "LightGreen"
  116. FrameTitleButton.BgColor "Blank"
  117. FrameTitleButton.DisabledFgColor "Green"
  118. FrameTitleButton.DisabledBgColor "Blank"
  119.  
  120. // Little Icon in front of the Title text of a menu panel. Not recommended to add an icon there.
  121.  
  122. FrameSystemButton.FgColor "Blank" // In active panel.
  123. FrameSystemButton.BgColor "Blank" // In deactivated panel.
  124. FrameSystemButton.Icon ""
  125. FrameSystemButton.DisabledIcon ""
  126.  
  127. // Title text.
  128.  
  129. FrameTitleBar.Font "UiBold" [$WIN32]
  130. FrameTitleBar.Font "DefaultLarge" [$WIN32]
  131. FrameTitleBar.TextColor "LightGreen"
  132. FrameTitleBar.BgColor "Blank"
  133. FrameTitleBar.DisabledTextColor "Green"
  134. FrameTitleBar.DisabledBgColor "Blank"
  135.  
  136. // No idea.
  137.  
  138. GraphPanel.FgColor "Testing"
  139. GraphPanel.BgColor "Testing2"
  140.  
  141. Label.TextDullColor "White" // Text at the bottom of Audio.
  142. Label.TextColor "White" // Text of Sliders and drop down lists. Example: Mouse sensivity text, Playback speed % in demoui.
  143. Label.TextBrightColor "White" // The time in the demoui.
  144. Label.SelectedTextColor "LightGreen" // Text of Sliders and drop down lists when selected.
  145. Label.BgColor "Blank"
  146. Label.DisabledFgColor1 "DisabledItem1" // Greyed-out Text for Sliders, Buttons and drop down lists.
  147. Label.DisabledFgColor2 "DisabledItem2" // Shadow for this text.
  148.  
  149. // Server browser
  150.  
  151. ListPanel.TextColor "White"
  152. ListPanel.TextBgColor "Blank"
  153. ListPanel.BgColor "BlackLight"
  154. ListPanel.SelectedTextColor "LightGreen"
  155. ListPanel.SelectedBgColor "Green"
  156. ListPanel.SelectedOutOfFocusBgColor "Green"
  157. ListPanel.EmptyListInfoTextColor "White"
  158.  
  159. // Drop down lists
  160.  
  161. Menu.TextColor "White"
  162. Menu.BgColor "Blank"
  163. Menu.ArmedTextColor "LightGreen"
  164. Menu.ArmedBgColor "Green"
  165. Menu.TextInset "6"
  166.  
  167. // Panels (console, server browser, options etc.)
  168.  
  169. Panel.FgColor "Testing"
  170. Panel.BgColor "Blank" // Better leave it Blank, looks ugly otherwise.
  171.  
  172. // Progress bar on the loading dialogue
  173.  
  174. ProgressBar.FgColor "LightGreen"
  175. ProgressBar.BgColor "Green"
  176.  
  177. // Tabs in the options menu
  178.  
  179. PropertySheet.TextColor "White"
  180. PropertySheet.SelectedTextColor "LightGreen"
  181. PropertySheet.TransitionEffectTime "0.25" // time to change from one tab to another
  182.  
  183. // Radio Buttons
  184.  
  185. RadioButton.TextColor "White"
  186. RadioButton.SelectedTextColor "LightGreen"
  187.  
  188. // No idea.
  189.  
  190. RichText.TextColor "Testing"
  191.  
  192. // Console background color
  193.  
  194. RichText.BgColor "BlackLight"
  195. RichText.SelectedTextColor "LightGreen"
  196. RichText.SelectedBgColor "Green"
  197.  
  198. // Scrollbars
  199.  
  200. ScrollBar.Wide 17
  201.  
  202. ScrollBarButton.FgColor "White"
  203. ScrollBarButton.BgColor "Blank"
  204. ScrollBarButton.ArmedFgColor "LightGreen"
  205. ScrollBarButton.ArmedBgColor "Blank"
  206. ScrollBarButton.DepressedFgColor "Red"
  207. ScrollBarButton.DepressedBgColor "Blank"
  208.  
  209. ScrollBarSlider.FgColor "Grey" // Nob color
  210. ScrollBarSlider.BgColor "Black" // Slider background color
  211.  
  212. // Lists (example: keyboard settings list)
  213.  
  214. SectionedListPanel.HeaderTextColor "Red"
  215. SectionedListPanel.HeaderBgColor "Blank"
  216. SectionedListPanel.DividerColor "LightGreen"
  217. SectionedListPanel.TextColor "White"
  218. SectionedListPanel.BrightTextColor "White" // Text of all items in the list.
  219. SectionedListPanel.BgColor "BlackLight"
  220. SectionedListPanel.SelectedTextColor "LightGreen"
  221. SectionedListPanel.SelectedBgColor "Green"
  222. SectionedListPanel.OutOfFocusSelectedTextColor "LightGreen"
  223. SectionedListPanel.OutOfFocusSelectedBgColor "Green"
  224.  
  225. // Sliders
  226.  
  227. Slider.NobColor "108 108 108 255"
  228. Slider.TextColor "White"
  229. Slider.TrackColor "31 31 31 255"
  230. Slider.DisabledTextColor1 "DisabledItem1"
  231. Slider.DisabledTextColor2 "DisabledItem2"
  232.  
  233. // Text fields (Example: Console input)
  234.  
  235. TextEntry.TextColor "Black"
  236. TextEntry.BgColor "Grey"
  237. TextEntry.CursorColor "Black"
  238. TextEntry.DisabledTextColor "BlackLight"
  239. TextEntry.DisabledBgColor "Grey"
  240. TextEntry.SelectedTextColor "LightGreen"
  241. TextEntry.SelectedBgColor "Green"
  242. TextEntry.OutOfFocusSelectedBgColor "Green"
  243. TextEntry.FocusEdgeColor "Testing"
  244.  
  245. ToggleButton.SelectedTextColor "LightGreen"
  246.  
  247. //Tooltips (example: server browser on the tab Bots)
  248.  
  249. Tooltip.TextColor "LightGreen"
  250. Tooltip.BgColor "Green"
  251.  
  252. // No idea.
  253.  
  254. TreeView.BgColor "Testing"
  255.  
  256. WizardSubPanel.BgColor "Testing2"
  257.  
  258. // scheme-specific colors
  259.  
  260. // GameMenu color
  261.  
  262. MainMenu.TextColor "White" [$WIN32]
  263. MainMenu.TextColor "200 200 200 255" [$X360]
  264. MainMenu.ArmedTextColor "LightGreen" [$WIN32]
  265. MainMenu.ArmedTextColor "200 200 200 255" [$X360]
  266. MainMenu.DepressedTextColor "192 186 80 255"
  267. MainMenu.MenuItemHeight "20" [$WIN32] //30
  268. MainMenu.MenuItemHeight "22" [$X360]
  269. MainMenu.MenuItemHeight_hidef "32" [$X360]
  270. MainMenu.Inset "32"
  271. MainMenu.Backdrop "0 0 0 156"
  272.  
  273. // Console text color
  274.  
  275. Console.TextColor "White" // Other colors don't not work anymore?
  276. Console.DevTextColor "Testing"
  277.  
  278. NewGame.TextColor "White"
  279. NewGame.FillColor "0 0 0 255"
  280. NewGame.SelectionColor "Orange" [$WIN32]
  281. NewGame.SelectionColor "0 0 0 255" [$X360]
  282. NewGame.DisabledColor "128 128 128 196"
  283.  
  284. MessageDialog.MatchmakingBG "46 43 42 255" [$X360]
  285. MessageDialog.MatchmakingBGBlack "22 22 22 255" [$X360]
  286.  
  287. MatchmakingMenuItemTitleColor "200 184 151 255" [$X360]
  288. MatchmakingMenuItemDescriptionColor "200 184 151 255" [$X360]
  289.  
  290. "QuickListBGDeselected" "AchievementsDarkGrey"
  291. "QuickListBGSelected" "AchievementsLightGrey"
  292. }
  293.  
  294. //////////////////////// BITMAP FONT FILES /////////////////////////////
  295. //
  296. // Bitmap Fonts are ****VERY*** expensive static memory resources so they are purposely sparse
  297. BitmapFontFiles
  298. {
  299. // UI buttons, custom font, (256x64)
  300. "Buttons" "materials/vgui/fonts/buttons_32.vbf"
  301. }
  302.  
  303. //////////////////////// FONTS /////////////////////////////
  304. //
  305. // describes all the fonts
  306. Fonts
  307. {
  308. // fonts are used in order that they are listed
  309. // fonts listed later in the order will only be used if they fulfill a range not already filled
  310. // if a font fails to load then the subsequent fonts will replace
  311. // fonts are used in order that they are listed
  312. "DebugFixed"
  313. {
  314. "1"
  315. {
  316. "name" "Courier New"
  317. "tall" "10"
  318. "weight" "500"
  319. "antialias" "1"
  320. }
  321. }
  322. // fonts are used in order that they are listed
  323. "DebugFixedSmall"
  324. {
  325. "1"
  326. {
  327. "name" "Courier New"
  328. "tall" "7"
  329. "weight" "500"
  330. "antialias" "1"
  331. }
  332. }
  333. "DefaultFixedOutline"
  334. {
  335. "1"
  336. {
  337. "name" "Lucida Console" [$WINDOWS]
  338. "name" "Lucida Console" [$X360]
  339. "name" "Verdana" [$POSIX]
  340. "tall" "14" [$LINUX]
  341. "tall" "11" [$OSX]
  342. "tall" "10"
  343. "tall_lodef" "15"
  344. "tall_hidef" "20"
  345. "weight" "0"
  346. "outline" "1"
  347. }
  348. }
  349. "Default"
  350. {
  351. "1"
  352. {
  353. "name" "Tahoma" [!$POSIX]
  354. "name" "Verdana" [$POSIX]
  355. "tall" "16"
  356. "weight" "500"
  357. }
  358. }
  359. "DefaultBold"
  360. {
  361. "1"
  362. {
  363. "name" "Tahoma" [!$POSIX]
  364. "name" "Verdana Bold" [$POSIX]
  365. "tall" "16"
  366. "weight" "1000"
  367. }
  368. }
  369. "DefaultUnderline"
  370. {
  371. "1"
  372. {
  373. "name" "Tahoma" [!$POSIX]
  374. "name" "Verdana" [$POSIX]
  375. "tall" "16"
  376. "weight" "500"
  377. "underline" "1"
  378. }
  379. }
  380. "DefaultSmall"
  381. {
  382. "1"
  383. {
  384. "name" "Tahoma" [!$POSIX]
  385. "name" "Verdana" [$POSIX]
  386. "tall" "12" [!$POSIX]
  387. "tall" "13" [$POSIX]
  388. "weight" "0"
  389. }
  390. }
  391. "DefaultSmallDropShadow"
  392. {
  393. "1"
  394. {
  395. "name" "Tahoma" [!$POSIX]
  396. "name" "Verdana" [$POSIX]
  397. "tall" "13"
  398. "weight" "0"
  399. "dropshadow" "1"
  400. }
  401. }
  402. "DefaultVerySmall"
  403. {
  404. "1"
  405. {
  406. "name" "Tahoma" [!$POSIX]
  407. "name" "Verdana" [$POSIX]
  408. "tall" "12"
  409. "weight" "0"
  410. }
  411. }
  412.  
  413. "DefaultLarge"
  414. {
  415. "1"
  416. {
  417. "name" "Tahoma" [!$POSIX]
  418. "name" "Verdana" [$POSIX]
  419. "tall" "18"
  420. "weight" "0"
  421. }
  422. }
  423. "UiBold"
  424. {
  425. "1" [$WIN32]
  426. {
  427. "name" "Tahoma" [!$POSIX]
  428. "name" "Verdana" [$POSIX]
  429. "tall" "12"
  430. "weight" "1000"
  431. }
  432. "1" [$X360]
  433. {
  434. "name" "Tahoma"
  435. "tall" "24"
  436. "weight" "2000"
  437. "outline" "1"
  438. }
  439. }
  440. "ChapterTitle" [$X360]
  441. {
  442. "1"
  443. {
  444. "name" "Tahoma"
  445. "tall" "20"
  446. "tall_hidef" "28"
  447. "weight" "2000"
  448. "outline" "1"
  449. }
  450. }
  451. "ChapterTitleBlur" [$X360]
  452. {
  453. "1"
  454. {
  455. "name" "Tahoma"
  456. "tall" "20"
  457. "tall_hidef" "28"
  458. "weight" "2000"
  459. "blur" "3"
  460. "blur_hidef" "5"
  461. }
  462. }
  463. "MenuLarge"
  464. {
  465. "1" [$POSIX]
  466. {
  467. "name" "Helvetica Bold"
  468. "tall" "20"
  469. "antialias" "1"
  470. }
  471. "1" [$WIN32]
  472. {
  473. "name" "Verdana"
  474. "tall" "16"
  475. "weight" "600"
  476. "antialias" "1"
  477. }
  478. "1" [$X360]
  479. {
  480. "name" "Verdana"
  481. "tall" "14"
  482. "tall_hidef" "20"
  483. "weight" "1200"
  484. "antialias" "1"
  485. "outline" "1"
  486. }
  487. }
  488. "AchievementTitleFont"
  489. {
  490. "1"
  491. {
  492. "name" "Verdana"
  493. "tall" "20"
  494. "weight" "1200"
  495. "antialias" "1"
  496. "outline" "1"
  497. }
  498. }
  499.  
  500. "AchievementTitleFontSmaller"
  501. {
  502. "1"
  503. {
  504. "name" "Verdana"
  505. "tall" "18"
  506. "weight" "1200"
  507. "antialias" "1"
  508. //"outline" "1"
  509. }
  510. }
  511.  
  512.  
  513. "AchievementDescriptionFont"
  514. {
  515. "1"
  516. {
  517. "name" "Verdana"
  518. "tall" "15"
  519. "weight" "1200"
  520. "antialias" "1"
  521. "outline" "1"
  522. "yres" "0 480"
  523. }
  524. "2"
  525. {
  526. "name" "Verdana"
  527. "tall" "20"
  528. "weight" "1200"
  529. "antialias" "1"
  530. "outline" "1"
  531. "yres" "481 10000"
  532. }
  533. }
  534.  
  535. GameUIButtons
  536. {
  537. "1" [$X360]
  538. {
  539. "bitmap" "1"
  540. "name" "Buttons"
  541. "scalex" "0.63"
  542. "scaley" "0.63"
  543. "scalex_hidef" "1.0"
  544. "scaley_hidef" "1.0"
  545. "scalex_lodef" "0.75"
  546. "scaley_lodef" "0.75"
  547. }
  548. }
  549. "ConsoleText"
  550. {
  551. "1"
  552. {
  553. "name" "Lucida Console" [$WINDOWS]
  554. "name" "Lucida Console" [$X360]
  555. "name" "Verdana" [$POSIX]
  556. "tall" "11" [$OSX]
  557. "tall" "14" [$LINUX]
  558. "tall" "10"
  559. "weight" "500"
  560. }
  561. }
  562.  
  563. // this is the symbol font
  564. "Marlett"
  565. {
  566. "1"
  567. {
  568. "name" "Marlett"
  569. "tall" "14"
  570. "weight" "0"
  571. "symbol" "1"
  572. }
  573. }
  574.  
  575. "Trebuchet24"
  576. {
  577. "1"
  578. {
  579. "name" "Trebuchet MS"
  580. "tall" "24"
  581. "weight" "900"
  582. }
  583. }
  584.  
  585. "Trebuchet20"
  586. {
  587. "1"
  588. {
  589. "name" "Trebuchet MS"
  590. "tall" "20"
  591. "weight" "900"
  592. }
  593. }
  594.  
  595. "Trebuchet18"
  596. {
  597. "1"
  598. {
  599. "name" "Trebuchet MS"
  600. "tall" "18"
  601. "weight" "900"
  602. }
  603. }
  604.  
  605. // HUD numbers
  606. // We use multiple fonts to 'pulse' them in the HUD, hence the need for many of near size
  607. "HUDNumber"
  608. {
  609. "1"
  610. {
  611. "name" "Trebuchet MS"
  612. "tall" "40"
  613. "weight" "900"
  614. }
  615. }
  616. "HUDNumber1"
  617. {
  618. "1"
  619. {
  620. "name" "Trebuchet MS"
  621. "tall" "41"
  622. "weight" "900"
  623. }
  624. }
  625. "HUDNumber2"
  626. {
  627. "1"
  628. {
  629. "name" "Trebuchet MS"
  630. "tall" "42"
  631. "weight" "900"
  632. }
  633. }
  634. "HUDNumber3"
  635. {
  636. "1"
  637. {
  638. "name" "Trebuchet MS"
  639. "tall" "43"
  640. "weight" "900"
  641. }
  642. }
  643. "HUDNumber4"
  644. {
  645. "1"
  646. {
  647. "name" "Trebuchet MS"
  648. "tall" "44"
  649. "weight" "900"
  650. }
  651. }
  652. "HUDNumber5"
  653. {
  654. "1"
  655. {
  656. "name" "Trebuchet MS"
  657. "tall" "45"
  658. "weight" "900"
  659. }
  660. }
  661. "DefaultFixed"
  662. {
  663. "1"
  664. {
  665. "name" "Lucida Console" [$WINDOWS]
  666. "name" "Lucida Console" [$X360]
  667. "name" "Verdana" [$POSIX]
  668. "tall" "11" [$POSIX]
  669. "tall" "10"
  670. "weight" "0"
  671. }
  672. // "1"
  673. // {
  674. // "name" "FixedSys"
  675. // "tall" "20"
  676. // "weight" "0"
  677. // }
  678. }
  679.  
  680. "DefaultFixedDropShadow"
  681. {
  682. "1"
  683. {
  684. "name" "Lucida Console" [$WINDOWS]
  685. "name" "Lucida Console" [$X360]
  686. "name" "Verdana" [$OSX]
  687. "name" "Courier" [$LINUX]
  688. "tall" "14" [$LINUX]
  689. "tall" "11" [$POSIX]
  690. "tall" "10"
  691. "weight" "0"
  692. "dropshadow" "1"
  693. }
  694. // "1"
  695. // {
  696. // "name" "FixedSys"
  697. // "tall" "20"
  698. // "weight" "0"
  699. // }
  700. }
  701.  
  702. "CloseCaption_Normal"
  703. {
  704. "1"
  705. {
  706. "name" "Tahoma" [!$POSIX]
  707. "name" "Verdana" [$POSIX]
  708. "tall" "16"
  709. "weight" "500"
  710. }
  711. }
  712. "CloseCaption_Italic"
  713. {
  714. "1"
  715. {
  716. "name" "Tahoma" [!$OSX]
  717. "name" "Verdana Italic" [$OSX]
  718. "tall" "16"
  719. "weight" "500"
  720. "italic" "1"
  721. }
  722. }
  723. "CloseCaption_Bold"
  724. {
  725. "1"
  726. {
  727. "name" "Tahoma" [!$POSIX]
  728. "name" "Verdana Bold" [$POSIX]
  729. "tall" "16"
  730. "weight" "900"
  731. }
  732. }
  733. "CloseCaption_BoldItalic"
  734. {
  735. "1"
  736. {
  737. "name" "Tahoma" [!$POSIX]
  738. "name" "Verdana Bold Italic" [$POSIX]
  739. "tall" "16"
  740. "weight" "900"
  741. "italic" "1"
  742. }
  743. }
  744.  
  745. TitleFont
  746. {
  747. "1"
  748. {
  749. "name" "HalfLife2"
  750. "tall" "72"
  751. "weight" "400"
  752. "antialias" "1"
  753. "custom" "1"
  754. }
  755. }
  756.  
  757. TitleFont2
  758. {
  759. "1"
  760. {
  761. "name" "HalfLife2"
  762. "tall" "120"
  763. "weight" "400"
  764. "antialias" "1"
  765. "custom" "1"
  766. }
  767. }
  768.  
  769. AppchooserGameTitleFont [$X360]
  770. {
  771. "1"
  772. {
  773. "name" "Trebuchet MS"
  774. "tall" "16"
  775. "tall_hidef" "24"
  776. "weight" "900"
  777. "antialias" "1"
  778. }
  779. }
  780.  
  781. AppchooserGameTitleFontBlur [$X360]
  782. {
  783. "1"
  784. {
  785. "name" "Trebuchet MS"
  786. "tall" "16"
  787. "tall_hidef" "24"
  788. "weight" "900"
  789. "blur" "3"
  790. "blur_hidef" "5"
  791. "antialias" "1"
  792. }
  793. }
  794.  
  795. StatsTitle [$WIN32]
  796. {
  797. "1"
  798. {
  799. "name" "Arial" [!$POSIX]
  800. "name" "Verdana Bold" [$POSIX]
  801. "weight" "2000"
  802. "tall" "20"
  803. "antialias" "1"
  804. }
  805. }
  806.  
  807. StatsText [$WIN32]
  808. {
  809. "1"
  810. {
  811. "name" "Arial" [!$POSIX]
  812. "name" "Verdana Bold" [$POSIX]
  813. "weight" "2000"
  814. "tall" "18"
  815. "antialias" "1"
  816. }
  817. }
  818.  
  819. AchievementItemTitle [$WIN32]
  820. {
  821. "1"
  822. {
  823. "name" "Arial" [!$POSIX]
  824. "name" "Verdana Bold" [$POSIX]
  825. "weight" "1500"
  826. "tall" "16" [!$POSIX]
  827. "tall" "18" [$POSIX]
  828. "antialias" "1"
  829. }
  830. }
  831.  
  832. AchievementItemDate [$WIN32]
  833. {
  834. "1"
  835. {
  836. "name" "Arial" [!$POSIX]
  837. "name" "Verdana Bold" [$POSIX]
  838. "weight" "1500"
  839. "tall" "16"
  840. "antialias" "1"
  841. }
  842. }
  843.  
  844.  
  845. StatsPageText
  846. {
  847. "1"
  848. {
  849. "name" "Arial" [!$POSIX]
  850. "name" "Verdana Bold" [$POSIX]
  851. "weight" "1500"
  852. "tall" "14" [!$POSIX]
  853. "tall" "16" [$POSIX]
  854. "antialias" "1"
  855. }
  856. }
  857.  
  858. AchievementItemTitleLarge [$WIN32]
  859. {
  860. "1"
  861. {
  862. "name" "Arial" [!$POSIX]
  863. "name" "Verdana Bold" [$POSIX]
  864. "weight" "1500"
  865. "tall" "18" [!$POSIX]
  866. "tall" "19" [$POSIX]
  867. "antialias" "1"
  868. }
  869. }
  870.  
  871. AchievementItemDescription [$WIN32]
  872. {
  873. "1"
  874. {
  875. "name" "Arial" [!$POSIX]
  876. "name" "Verdana" [$POSIX]
  877. "weight" "1000"
  878. "tall" "14" [!$POSIX]
  879. "tall" "15" [$POSIX]
  880. "antialias" "1"
  881. }
  882. }
  883.  
  884.  
  885. "ServerBrowserTitle"
  886. {
  887. "1"
  888. {
  889. "name" "Tahoma" [!$POSIX]
  890. "name" "Verdana" [$POSIX]
  891. "tall" "35"
  892. "tall_lodef" "40"
  893. "weight" "500"
  894. "additive" "0"
  895. "antialias" "1"
  896. }
  897. }
  898.  
  899. "ServerBrowserSmall"
  900. {
  901. "1"
  902. {
  903. "name" "Tahoma"
  904. "tall" "16"
  905. "weight" "0"
  906. "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
  907. "yres" "480 599"
  908. }
  909. "2"
  910. {
  911. "name" "Tahoma"
  912. "tall" "16"
  913. "weight" "0"
  914. "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
  915. "yres" "600 767"
  916. }
  917. "3"
  918. {
  919. "name" "Tahoma"
  920. "tall" "16"
  921. "weight" "0"
  922. "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
  923. "yres" "768 1023"
  924. "antialias" "1"
  925. }
  926. "4"
  927. {
  928. "name" "Tahoma"
  929. "tall" "19"
  930. "weight" "0"
  931. "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
  932. "yres" "1024 1199"
  933. "antialias" "1"
  934. }
  935. "5"
  936. {
  937. "name" "Tahoma"
  938. "tall" "19"
  939. "weight" "0"
  940. "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
  941. "yres" "1200 6000"
  942. "antialias" "1"
  943. }
  944. }
  945.  
  946. }
  947.  
  948. //
  949. //////////////////// BORDERS //////////////////////////////
  950. //
  951. // describes all the border types
  952. Borders
  953. {
  954. BaseBorder DepressedBorder
  955. ButtonBorder RaisedBorder
  956. ComboBoxBorder DepressedBorder
  957. MenuBorder RaisedBorder
  958. BrowserBorder DepressedBorder
  959. PropertySheetBorder RaisedBorder
  960.  
  961. FrameBorder
  962. {
  963. // rounded corners for frames
  964. "backgroundtype" "2"
  965. }
  966.  
  967. DepressedBorder
  968. {
  969. "inset" "0 0 1 1"
  970. Left
  971. {
  972. "1"
  973. {
  974. "color" "Border.Dark"
  975. "offset" "0 1"
  976. }
  977. }
  978.  
  979. Right
  980. {
  981. "1"
  982. {
  983. "color" "Border.Bright"
  984. "offset" "1 0"
  985. }
  986. }
  987.  
  988. Top
  989. {
  990. "1"
  991. {
  992. "color" "Border.Dark"
  993. "offset" "0 0"
  994. }
  995. }
  996.  
  997. Bottom
  998. {
  999. "1"
  1000. {
  1001. "color" "Border.Bright"
  1002. "offset" "0 0"
  1003. }
  1004. }
  1005. }
  1006. RaisedBorder
  1007. {
  1008. "inset" "0 0 1 1"
  1009. Left
  1010. {
  1011. "1"
  1012. {
  1013. "color" "Border.Bright"
  1014. "offset" "0 1"
  1015. }
  1016. }
  1017.  
  1018. Right
  1019. {
  1020. "1"
  1021. {
  1022. "color" "Border.Dark"
  1023. "offset" "0 0"
  1024. }
  1025. }
  1026.  
  1027. Top
  1028. {
  1029. "1"
  1030. {
  1031. "color" "Border.Bright"
  1032. "offset" "0 1"
  1033. }
  1034. }
  1035.  
  1036. Bottom
  1037. {
  1038. "1"
  1039. {
  1040. "color" "Border.Dark"
  1041. "offset" "0 0"
  1042. }
  1043. }
  1044. }
  1045.  
  1046. TitleButtonBorder
  1047. {
  1048. "backgroundtype" "0"
  1049. }
  1050.  
  1051. TitleButtonDisabledBorder
  1052. {
  1053. "backgroundtype" "0"
  1054. }
  1055.  
  1056. TitleButtonDepressedBorder
  1057. {
  1058. "backgroundtype" "0"
  1059. }
  1060.  
  1061. ScrollBarButtonBorder
  1062. {
  1063. "inset" "2 2 0 0" [!$OSX]
  1064. "inset" "-3 2 0 0" [$OSX]
  1065. Left
  1066. {
  1067. "1"
  1068. {
  1069. "color" "Border.Bright"
  1070. "offset" "0 1"
  1071. }
  1072. }
  1073.  
  1074. Right
  1075. {
  1076. "1"
  1077. {
  1078. "color" "Border.Dark"
  1079. "offset" "1 0"
  1080. }
  1081. }
  1082.  
  1083. Top
  1084. {
  1085. "1"
  1086. {
  1087. "color" "Border.Bright"
  1088. "offset" "0 0"
  1089. }
  1090. }
  1091.  
  1092. Bottom
  1093. {
  1094. "1"
  1095. {
  1096. "color" "Border.Dark"
  1097. "offset" "0 0"
  1098. }
  1099. }
  1100. }
  1101.  
  1102. ScrollBarButtonDepressedBorder
  1103. {
  1104. "inset" "2 2 0 0" [!$OSX]
  1105. "inset" "-3 2 0 0" [$OSX]
  1106. Left
  1107. {
  1108. "1"
  1109. {
  1110. "color" "Border.Dark"
  1111. "offset" "0 1"
  1112. }
  1113. }
  1114.  
  1115. Right
  1116. {
  1117. "1"
  1118. {
  1119. "color" "Border.Bright"
  1120. "offset" "1 0"
  1121. }
  1122. }
  1123.  
  1124. Top
  1125. {
  1126. "1"
  1127. {
  1128. "color" "Border.Dark"
  1129. "offset" "0 0"
  1130. }
  1131. }
  1132.  
  1133. Bottom
  1134. {
  1135. "1"
  1136. {
  1137. "color" "Border.Bright"
  1138. "offset" "0 0"
  1139. }
  1140. }
  1141. }
  1142.  
  1143. TabBorder
  1144. {
  1145. "inset" "0 0 1 1"
  1146. Left
  1147. {
  1148. "1"
  1149. {
  1150. "color" "Border.Bright"
  1151. "offset" "0 1"
  1152. }
  1153. }
  1154.  
  1155. Right
  1156. {
  1157. "1"
  1158. {
  1159. "color" "Border.Dark"
  1160. "offset" "1 0"
  1161. }
  1162. }
  1163.  
  1164. Top
  1165. {
  1166. "1"
  1167. {
  1168. "color" "Border.Bright"
  1169. "offset" "0 0"
  1170. }
  1171. }
  1172.  
  1173. }
  1174.  
  1175. TabActiveBorder
  1176. {
  1177. "inset" "0 0 1 0"
  1178. Left
  1179. {
  1180. "1"
  1181. {
  1182. "color" "Border.Bright"
  1183. "offset" "0 0"
  1184. }
  1185. }
  1186.  
  1187. Right
  1188. {
  1189. "1"
  1190. {
  1191. "color" "Border.Dark"
  1192. "offset" "1 0"
  1193. }
  1194. }
  1195.  
  1196. Top
  1197. {
  1198. "1"
  1199. {
  1200. "color" "Border.Bright"
  1201. "offset" "0 0"
  1202. }
  1203. }
  1204.  
  1205. }
  1206.  
  1207.  
  1208. ToolTipBorder
  1209. {
  1210. "inset" "0 0 1 0"
  1211. Left
  1212. {
  1213. "1"
  1214. {
  1215. "color" "Border.Dark"
  1216. "offset" "0 0"
  1217. }
  1218. }
  1219.  
  1220. Right
  1221. {
  1222. "1"
  1223. {
  1224. "color" "Border.Dark"
  1225. "offset" "1 0"
  1226. }
  1227. }
  1228.  
  1229. Top
  1230. {
  1231. "1"
  1232. {
  1233. "color" "Border.Dark"
  1234. "offset" "0 0"
  1235. }
  1236. }
  1237.  
  1238. Bottom
  1239. {
  1240. "1"
  1241. {
  1242. "color" "Border.Dark"
  1243. "offset" "0 0"
  1244. }
  1245. }
  1246. }
  1247.  
  1248. // this is the border used for default buttons (the button that gets pressed when you hit enter)
  1249. ButtonKeyFocusBorder
  1250. {
  1251. "inset" "0 0 1 1"
  1252. Left
  1253. {
  1254. "1"
  1255. {
  1256. "color" "Border.Selection"
  1257. "offset" "0 0"
  1258. }
  1259. "2"
  1260. {
  1261. "color" "Border.Bright"
  1262. "offset" "0 1"
  1263. }
  1264. }
  1265. Top
  1266. {
  1267. "1"
  1268. {
  1269. "color" "Border.Selection"
  1270. "offset" "0 0"
  1271. }
  1272. "2"
  1273. {
  1274. "color" "Border.Bright"
  1275. "offset" "1 0"
  1276. }
  1277. }
  1278. Right
  1279. {
  1280. "1"
  1281. {
  1282. "color" "Border.Selection"
  1283. "offset" "0 0"
  1284. }
  1285. "2"
  1286. {
  1287. "color" "Border.Dark"
  1288. "offset" "1 0"
  1289. }
  1290. }
  1291. Bottom
  1292. {
  1293. "1"
  1294. {
  1295. "color" "Border.Selection"
  1296. "offset" "0 0"
  1297. }
  1298. "2"
  1299. {
  1300. "color" "Border.Dark"
  1301. "offset" "0 0"
  1302. }
  1303. }
  1304. }
  1305.  
  1306. ButtonDepressedBorder
  1307. {
  1308. "inset" "2 1 1 1"
  1309. Left
  1310. {
  1311. "1"
  1312. {
  1313. "color" "Border.Dark"
  1314. "offset" "0 1"
  1315. }
  1316. }
  1317.  
  1318. Right
  1319. {
  1320. "1"
  1321. {
  1322. "color" "Border.Bright"
  1323. "offset" "1 0"
  1324. }
  1325. }
  1326.  
  1327. Top
  1328. {
  1329. "1"
  1330. {
  1331. "color" "Border.Dark"
  1332. "offset" "0 0"
  1333. }
  1334. }
  1335.  
  1336. Bottom
  1337. {
  1338. "1"
  1339. {
  1340. "color" "Border.Bright"
  1341. "offset" "0 0"
  1342. }
  1343. }
  1344. }
  1345. }
  1346.  
  1347. //////////////////////// CUSTOM FONT FILES /////////////////////////////
  1348. //
  1349. // specifies all the custom (non-system) font files that need to be loaded to service the above described fonts
  1350. CustomFontFiles
  1351. {
  1352. "1" "resource/HALFLIFE2.ttf"
  1353. "2" "resource/HL2EP2.ttf"
  1354. "3" "resource/marlett.ttf"
  1355. }
  1356. }
Advertisement
Add Comment
Please, Sign In to add comment