home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / DVDStar / Akce / Half-Life2 / install-at2v4release2005.exe / AntTroopDuece / resource / CombinePanelScheme.res < prev    next >
Text File  |  2005-05-08  |  14KB  |  813 lines

  1. ///////////////////////////////////////////////////////////
  2. // Object Control Panel 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. // hit ctrl-alt-shift-R in the app to reload this file
  11. //
  12. ///////////////////////////////////////////////////////////
  13. Scheme
  14. {
  15.     //////////////////////// COLORS ///////////////////////////
  16.     // color details
  17.     // this is a list of all the colors used by the scheme
  18.     Colors
  19.     {
  20.         // base colors
  21.         "White"                "255 255 255 255"
  22.         "OffWhite"            "221 221 221 255"
  23.         "DullWhite"            "211 211 211 255"
  24.         "Red"                "255 0 0 255"
  25.         
  26.         "TransparentBlack"    "0 0 0 128"
  27.         "DarkGrey"            "128 128 128 255"
  28.         "Black"                "0 0 0 255"
  29.  
  30.         "Blank"                "0 0 0 0"
  31.     }
  32.  
  33.     ///////////////////// BASE SETTINGS ////////////////////////
  34.     //
  35.     // default settings for all panels
  36.     // controls use these to determine their settings
  37.     BaseSettings
  38.     {
  39.         // vgui_controls color specifications
  40.         Border.Bright                    "200 200 200 196"    // the lit side of a control
  41.         Border.Dark                        "40 40 40 196"        // the dark/unlit side of a control
  42.         Border.Selection                "0 0 0 196"            // the additional border color for displaying the default/selected button
  43.  
  44.         Button.TextColor                "White"
  45.         Button.BgColor                    "Blank"
  46.         Button.ArmedTextColor            "White"
  47.         Button.ArmedBgColor                "Blank"
  48.         Button.DepressedTextColor        "White"
  49.         Button.DepressedBgColor            "Blank"
  50.         Button.FocusBorderColor            "Black"
  51.         
  52.         CheckButton.TextColor            "DullWhite"
  53.         CheckButton.SelectedTextColor    "White"
  54.         CheckButton.BgColor                "TransparentBlack"
  55.         CheckButton.Border1              "Border.Dark"         // the left checkbutton border
  56.         CheckButton.Border2              "Border.Bright"        // the right checkbutton border
  57.         CheckButton.Check                "White"                // color of the check itself
  58.  
  59.         ComboBoxButton.ArrowColor        "DullWhite"
  60.         ComboBoxButton.ArmedArrowColor    "White"
  61.         ComboBoxButton.BgColor            "Blank"
  62.         ComboBoxButton.DisabledBgColor    "Blank"
  63.  
  64.         Frame.TitleTextInsetX            12
  65.         Frame.ClientInsetX                8
  66.         Frame.ClientInsetY                6
  67.         Frame.BgColor                    "160 160 160 128"
  68.         Frame.OutOfFocusBgColor            "160 160 160 32"
  69.         Frame.FocusTransitionEffectTime    "0.3"    // time it takes for a window to fade in/out on focus/out of focus
  70.         Frame.TransitionEffectTime        "0.3"    // time it takes for a window to fade in/out on open/close
  71.         Frame.AutoSnapRange                "0"
  72.         FrameGrip.Color1                "200 200 200 196"
  73.         FrameGrip.Color2                "0 0 0 196"
  74.         FrameTitleButton.FgColor        "200 200 200 196"
  75.         FrameTitleButton.BgColor        "Blank"
  76.         FrameTitleButton.DisabledFgColor    "255 255 255 192"
  77.         FrameTitleButton.DisabledBgColor    "Blank"
  78.         FrameSystemButton.FgColor        "Blank"
  79.         FrameSystemButton.BgColor        "Blank"
  80.         FrameSystemButton.Icon            ""
  81.         FrameSystemButton.DisabledIcon    ""
  82.         FrameTitleBar.TextColor            "White"
  83.         FrameTitleBar.BgColor            "Blank"
  84.         FrameTitleBar.DisabledTextColor    "255 255 255 192"
  85.         FrameTitleBar.DisabledBgColor    "Blank"
  86.  
  87.         GraphPanel.FgColor                "White"
  88.         GraphPanel.BgColor                "TransparentBlack"
  89.  
  90.         Label.TextDullColor                "Black"
  91.         Label.TextColor                    "DarkGrey"
  92.         Label.TextBrightColor            "Red"
  93.         Label.SelectedTextColor            "White"
  94.         Label.BgColor                    "Blank"
  95.         Label.DisabledFgColor1            "117 117 117 255"
  96.         Label.DisabledFgColor2            "30 30 30 255"
  97.  
  98.         ListPanel.TextColor                    "OffWhite"
  99.         ListPanel.BgColor                    "TransparentBlack"
  100.         ListPanel.SelectedTextColor            "Black"
  101.         ListPanel.SelectedBgColor            "255 155 0 255"
  102.         ListPanel.SelectedOutOfFocusBgColor    "255 155 0 128"
  103.         ListPanel.EmptyListInfoTextColor    "OffWhite"
  104.  
  105.         Menu.TextColor                    "White"
  106.         Menu.BgColor                    "160 160 160 64"
  107.         Menu.ArmedTextColor                "Black"
  108.         Menu.ArmedBgColor                "255 155 0 255"
  109.         Menu.TextInset                    "6"
  110.  
  111.         Panel.FgColor                    "DullWhite"
  112.         Panel.BgColor                    "Blank"
  113.  
  114.         ProgressBar.FgColor                "White"
  115.         ProgressBar.BgColor                "TransparentBlack"
  116.  
  117.         PropertySheet.TextColor            "OffWhite"
  118.         PropertySheet.SelectedTextColor    "White"
  119.         PropertySheet.TransitionEffectTime    "0.25"    // time to change from one tab to another
  120.  
  121.         RadioButton.TextColor            "DullWhite"
  122.         RadioButton.SelectedTextColor    "White"
  123.  
  124.         RichText.TextColor                "OffWhite"
  125.         RichText.BgColor                "TransparentBlack"
  126.         RichText.SelectedTextColor        "Black"
  127.         RichText.SelectedBgColor        "255 155 0 255"
  128.  
  129.         ScrollBar.Wide                    17
  130.  
  131.         ScrollBarButton.FgColor                "White"
  132.         ScrollBarButton.BgColor                "Blank"
  133.         ScrollBarButton.ArmedFgColor        "White"
  134.         ScrollBarButton.ArmedBgColor        "Blank"
  135.         ScrollBarButton.DepressedFgColor    "White"
  136.         ScrollBarButton.DepressedBgColor    "Blank"
  137.  
  138.         ScrollBarSlider.FgColor                "Blank"            // nob color
  139.         ScrollBarSlider.BgColor                "255 255 255 64"    // slider background color
  140.  
  141.         SectionedListPanel.HeaderTextColor    "White"
  142.         SectionedListPanel.HeaderBgColor    "Blank"
  143.         SectionedListPanel.DividerColor        "Black"
  144.         SectionedListPanel.TextColor        "DullWhite"
  145.         SectionedListPanel.BrightTextColor    "White"
  146.         SectionedListPanel.BgColor            "TransparentBlack"
  147.         SectionedListPanel.SelectedTextColor            "Black"
  148.         SectionedListPanel.SelectedBgColor                "255 155 0 255"
  149.         SectionedListPanel.OutOfFocusSelectedTextColor    "Black"
  150.         SectionedListPanel.OutOfFocusSelectedBgColor    "255 155 0 128"
  151.  
  152.         Slider.NobColor                "108 108 108 255"
  153.         Slider.TextColor            "127 140 127 255"
  154.         Slider.TrackColor            "31 31 31 255"
  155.         Slider.DisabledTextColor1    "117 117 117 255"
  156.         Slider.DisabledTextColor2    "30 30 30 255"
  157.  
  158.         TextEntry.TextColor            "OffWhite"
  159.         TextEntry.BgColor            "TransparentBlack"
  160.         TextEntry.CursorColor        "OffWhite"
  161.         TextEntry.DisabledTextColor    "DullWhite"
  162.         TextEntry.DisabledBgColor    "Blank"
  163.         TextEntry.SelectedTextColor    "Black"
  164.         TextEntry.SelectedBgColor    "255 155 0 255"
  165.         TextEntry.OutOfFocusSelectedBgColor    "255 155 0 128"
  166.         TextEntry.FocusEdgeColor    "0 0 0 196"
  167.  
  168.         ToggleButton.SelectedTextColor    "White"
  169.  
  170.         Tooltip.TextColor            "0 0 0 196"
  171.         Tooltip.BgColor                "255 155 0 255"
  172.  
  173.         TreeView.BgColor            "TransparentBlack"
  174.  
  175.         WizardSubPanel.BgColor        "Blank"
  176.  
  177.         // scheme-specific colors
  178.         MainMenu.TextColor            "White"
  179.         MainMenu.ArmedTextColor        "200 200 200 255"
  180.         MainMenu.DepressedTextColor    "192 186 80 255"
  181.         MainMenu.MenuItemHeight        "30"
  182.         MainMenu.Inset                "32"
  183.  
  184.         Console.TextColor            "OffWhite"
  185.         Console.DevTextColor        "White"
  186.  
  187.         NewGame.TextColor            "White"
  188.         NewGame.FillColor            "0 0 0 255"
  189.         NewGame.SelectionColor        "255 155 0 255"
  190.         NewGame.DisabledColor        "128 128 128 196"
  191.     }
  192.  
  193.     //
  194.     //////////////////////// FONTS /////////////////////////////
  195.     //
  196.     // describes all the fonts
  197.     Fonts
  198.     {
  199.         // fonts are used in order that they are listed
  200.         // fonts listed later in the order will only be used if they fulfill a range not already filled
  201.         // if a font fails to load then the subsequent fonts will replace
  202.         "Default"
  203.         {
  204.             "1"
  205.             {
  206.                 "name"        "Impact"
  207.                 "tall"        "32"
  208.                 "weight"    "900"
  209.                 "range"        "0x0000 0x017F" //    Basic Latin, Latin-1 Supplement, Latin Extended-A
  210.             }
  211.         }
  212.         "DefaultUnderline"
  213.         {
  214.             "1"
  215.             {
  216.                 "name"        "Impact"
  217.                 "tall"        "32"
  218.                 "weight"    "900"
  219.                 "underline" "1"
  220.                 "range"        "0x0000 0x017F" //    Basic Latin, Latin-1 Supplement, Latin Extended-A
  221.             }
  222.         }
  223.         "DefaultSmall"
  224.         {
  225.             "1"
  226.             {
  227.                 "name"        "Impact"
  228.                 "tall"        "24"
  229.                 "weight"    "900"
  230.                 "range"        "0x0000 0x017F" //    Basic Latin, Latin-1 Supplement, Latin Extended-A
  231.             }
  232.         }
  233.         "DefaultVerySmall"
  234.         {
  235.             "1"
  236.             {
  237.                 "name"        "Impact"
  238.                 "tall"        "18"
  239.                 "weight"    "900"
  240.                 "range"        "0x0000 0x017F" //    Basic Latin, Latin-1 Supplement, Latin Extended-A
  241.             }
  242.         }
  243.  
  244.         "DefaultLarge"
  245.         {
  246.             "1"
  247.             {
  248.                 "name"        "Impact"
  249.                 "tall"        "48"
  250.                 "weight"    "0"
  251.                 "range"        "0x0000 0x017F" //    Basic Latin, Latin-1 Supplement, Latin Extended-A
  252.             }
  253.         }
  254.  
  255.         // this is the symbol font
  256.         "Marlett"
  257.         {
  258.             "1"
  259.             {
  260.                 "name"        "Marlett"
  261.                 "tall"        "14"
  262.                 "weight"    "0"
  263.                 "symbol"    "1"
  264.                 "range"        "0x0000 0x007F"    //    Basic Latin
  265.             }
  266.         }
  267.     }
  268.  
  269.     //
  270.     //////////////////// BORDERS //////////////////////////////
  271.     //
  272.     // describes all the border types
  273.     Borders
  274.     {
  275.         BaseBorder
  276.         {
  277.             "inset" "0 0 1 1"
  278.             Left
  279.             {
  280.                 "1"
  281.                 {
  282.                     "color" "BorderDark"
  283.                     "offset" "0 1"
  284.                 }
  285.             }
  286.  
  287.             Right
  288.             {
  289.                 "1"
  290.                 {
  291.                     "color" "BorderBright"
  292.                     "offset" "1 0"
  293.                 }
  294.             }
  295.  
  296.             Top
  297.             {
  298.                 "1"
  299.                 {
  300.                     "color" "BorderDark"
  301.                     "offset" "0 0"
  302.                 }
  303.             }
  304.  
  305.             Bottom
  306.             {
  307.                 "1"
  308.                 {
  309.                     "color" "BorderBright"
  310.                     "offset" "0 0"
  311.                 }
  312.             }
  313.         }
  314.         
  315.         TitleButtonBorder
  316.         {
  317.             "inset" "0 0 1 1"
  318.             Left
  319.             {
  320.                 "1"
  321.                 {
  322.                     "color" "BorderBright"
  323.                     "offset" "0 1"
  324.                 }
  325.             }
  326.  
  327.             Right
  328.             {
  329.                 "1"
  330.                 {
  331.                     "color" "BorderDark"
  332.                     "offset" "1 0"
  333.                 }
  334.             }
  335.  
  336.             Top
  337.             {
  338.                 "4"
  339.                 {
  340.                     "color" "BorderBright"
  341.                     "offset" "0 0"
  342.                 }
  343.             }
  344.  
  345.             Bottom
  346.             {
  347.                 "1"
  348.                 {
  349.                     "color" "BorderDark"
  350.                     "offset" "0 0"
  351.                 }
  352.             }
  353.         }
  354.  
  355.         TitleButtonDisabledBorder
  356.         {
  357.             "inset" "0 0 1 1"
  358.             Left
  359.             {
  360.                 "1"
  361.                 {
  362.                     "color" "BgColor"
  363.                     "offset" "0 1"
  364.                 }
  365.             }
  366.  
  367.             Right
  368.             {
  369.                 "1"
  370.                 {
  371.                     "color" "BgColor"
  372.                     "offset" "1 0"
  373.                 }
  374.             }
  375.             Top
  376.             {
  377.                 "1"
  378.                 {
  379.                     "color" "BgColor"
  380.                     "offset" "0 0"
  381.                 }
  382.             }
  383.  
  384.             Bottom
  385.             {
  386.                 "1"
  387.                 {
  388.                     "color" "BgColor"
  389.                     "offset" "0 0"
  390.                 }
  391.             }
  392.         }
  393.  
  394.         TitleButtonDepressedBorder
  395.         {
  396.             "inset" "1 1 1 1"
  397.             Left
  398.             {
  399.                 "1"
  400.                 {
  401.                     "color" "BorderDark"
  402.                     "offset" "0 1"
  403.                 }
  404.             }
  405.  
  406.             Right
  407.             {
  408.                 "1"
  409.                 {
  410.                     "color" "BorderBright"
  411.                     "offset" "1 0"
  412.                 }
  413.             }
  414.  
  415.             Top
  416.             {
  417.                 "1"
  418.                 {
  419.                     "color" "BorderDark"
  420.                     "offset" "0 0"
  421.                 }
  422.             }
  423.  
  424.             Bottom
  425.             {
  426.                 "1"
  427.                 {
  428.                     "color" "BorderBright"
  429.                     "offset" "0 0"
  430.                 }
  431.             }
  432.         }
  433.  
  434.         ScrollBarButtonBorder
  435.         {
  436.             "inset" "2 2 0 0"
  437.             Left
  438.             {
  439.                 "1"
  440.                 {
  441.                     "color" "BorderBright"
  442.                     "offset" "0 1"
  443.                 }
  444.             }
  445.  
  446.             Right
  447.             {
  448.                 "1"
  449.                 {
  450.                     "color" "BorderDark"
  451.                     "offset" "1 0"
  452.                 }
  453.             }
  454.  
  455.             Top
  456.             {
  457.                 "1"
  458.                 {
  459.                     "color" "BorderBright"
  460.                     "offset" "0 0"
  461.                 }
  462.             }
  463.  
  464.             Bottom
  465.             {
  466.                 "1"
  467.                 {
  468.                     "color" "BorderDark"
  469.                     "offset" "0 0"
  470.                 }
  471.             }
  472.         }
  473.  
  474.         ButtonBorder
  475.         {
  476.             "inset" "0 0 1 1"
  477.             Left
  478.             {
  479.                 "1"
  480.                 {
  481.                     "color" "BorderBright"
  482.                     "offset" "0 1"
  483.                 }
  484.             }
  485.  
  486.             Right
  487.             {
  488.                 "1"
  489.                 {
  490.                     "color" "BorderDark"
  491.                     "offset" "0 0"
  492.                 }
  493.             }
  494.  
  495.             Top
  496.             {
  497.                 "1"
  498.                 {
  499.                     "color" "BorderBright"
  500.                     "offset" "0 1"
  501.                 }
  502.             }
  503.  
  504.             Bottom
  505.             {
  506.                 "1"
  507.                 {
  508.                     "color" "BorderDark"
  509.                     "offset" "0 0"
  510.                 }
  511.             }
  512.         }
  513.  
  514.         TabBorder
  515.         {
  516.             "inset" "0 0 1 1"
  517.             Left
  518.             {
  519.                 "1"
  520.                 {
  521.                     "color" "BorderBright"
  522.                     "offset" "0 1"
  523.                 }
  524.             }
  525.  
  526.             Right
  527.             {
  528.                 "1"
  529.                 {
  530.                     "color" "BorderDark"
  531.                     "offset" "1 0"
  532.                 }
  533.             }
  534.  
  535.             Top
  536.             {
  537.                 "1"
  538.                 {
  539.                     "color" "BorderBright"
  540.                     "offset" "0 0"
  541.                 }
  542.             }
  543.  
  544.             Bottom
  545.             {
  546.                 "1"
  547.                 {
  548.                     "color" "BorderBright"
  549.                     "offset" "0 0"
  550.                 }
  551.             }
  552.         }
  553.  
  554.         TabActiveBorder
  555.         {
  556.             "inset" "0 0 1 0"
  557.             Left
  558.             {
  559.                 "1"
  560.                 {
  561.                     "color" "BorderBright"
  562.                     "offset" "0 0"
  563.                 }
  564.             }
  565.  
  566.             Right
  567.             {
  568.                 "1"
  569.                 {
  570.                     "color" "BorderDark"
  571.                     "offset" "1 0"
  572.                 }
  573.             }
  574.  
  575.             Top
  576.             {
  577.                 "1"
  578.                 {
  579.                     "color" "BorderBright"
  580.                     "offset" "0 0"
  581.                 }
  582.             }
  583.  
  584.             Bottom
  585.             {
  586.                 "1"
  587.                 {
  588.                     "color" "ControlBG"
  589.                     "offset" "6 2"
  590.                 }
  591.             }
  592.         }
  593.  
  594.  
  595.         ToolTipBorder
  596.         {
  597.             "inset" "0 0 1 0"
  598.             Left
  599.             {
  600.                 "1"
  601.                 {
  602.                     "color" "BorderDark"
  603.                     "offset" "0 0"
  604.                 }
  605.             }
  606.  
  607.             Right
  608.             {
  609.                 "1"
  610.                 {
  611.                     "color" "BorderDark"
  612.                     "offset" "1 0"
  613.                 }
  614.             }
  615.  
  616.             Top
  617.             {
  618.                 "1"
  619.                 {
  620.                     "color" "BorderDark"
  621.                     "offset" "0 0"
  622.                 }
  623.             }
  624.  
  625.             Bottom
  626.             {
  627.                 "1"
  628.                 {
  629.                     "color" "BorderDark"
  630.                     "offset" "0 0"
  631.                 }
  632.             }
  633.         }
  634.  
  635.         // this is the border used for default buttons (the button that gets pressed when you hit enter)
  636.         ButtonKeyFocusBorder
  637.         {
  638.             "inset" "0 0 1 1"
  639.             Left
  640.             {
  641.                 "1"
  642.                 {
  643.                     "color" "BorderSelection"
  644.                     "offset" "0 0"
  645.                 }
  646.                 "2"
  647.                 {
  648.                     "color" "BorderBright"
  649.                     "offset" "0 1"
  650.                 }
  651.             }
  652.             Top
  653.             {
  654.                 "1"
  655.                 {
  656.                     "color" "BorderSelection"
  657.                     "offset" "0 0"
  658.                 }
  659.                 "2"
  660.                 {
  661.                     "color" "BorderBright"
  662.                     "offset" "1 0"
  663.                 }
  664.             }
  665.             Right
  666.             {
  667.                 "1"
  668.                 {
  669.                     "color" "BorderSelection"
  670.                     "offset" "0 0"
  671.                 }
  672.                 "2"
  673.                 {
  674.                     "color" "BorderDark"
  675.                     "offset" "1 0"
  676.                 }
  677.             }
  678.             Bottom
  679.             {
  680.                 "1"
  681.                 {
  682.                     "color" "BorderSelection"
  683.                     "offset" "0 0"
  684.                 }
  685.                 "2"
  686.                 {
  687.                     "color" "BorderDark"
  688.                     "offset" "0 0"
  689.                 }
  690.             }
  691.         }
  692.  
  693.         ButtonDepressedBorder
  694.         {
  695.             "inset" "2 1 1 1"
  696.             Left
  697.             {
  698.                 "1"
  699.                 {
  700.                     "color" "BorderDark"
  701.                     "offset" "0 1"
  702.                 }
  703.             }
  704.  
  705.             Right
  706.             {
  707.                 "1"
  708.                 {
  709.                     "color" "BorderBright"
  710.                     "offset" "1 0"
  711.                 }
  712.             }
  713.  
  714.             Top
  715.             {
  716.                 "1"
  717.                 {
  718.                     "color" "BorderDark"
  719.                     "offset" "0 0"
  720.                 }
  721.             }
  722.  
  723.             Bottom
  724.             {
  725.                 "1"
  726.                 {
  727.                     "color" "BorderBright"
  728.                     "offset" "0 0"
  729.                 }
  730.             }
  731.         }
  732.  
  733.         ComboBoxBorder
  734.         {
  735.             "inset" "0 0 1 1"
  736.             Left
  737.             {
  738.                 "1"
  739.                 {
  740.                     "color" "BorderDark"
  741.                     "offset" "0 1"
  742.                 }
  743.             }
  744.  
  745.             Right
  746.             {
  747.                 "1"
  748.                 {
  749.                     "color" "BorderBright"
  750.                     "offset" "1 0"
  751.                 }
  752.             }
  753.  
  754.             Top
  755.             {
  756.                 "1"
  757.                 {
  758.                     "color" "BorderDark"
  759.                     "offset" "0 0"
  760.                 }
  761.             }
  762.  
  763.             Bottom
  764.             {
  765.                 "1"
  766.                 {
  767.                     "color" "BorderBright"
  768.                     "offset" "0 0"
  769.                 }
  770.             }
  771.         }
  772.  
  773.         MenuBorder
  774.         {
  775.             "inset" "1 1 1 1"
  776.             Left
  777.             {
  778.                 "1"
  779.                 {
  780.                     "color" "BorderBright"
  781.                     "offset" "0 1"
  782.                 }
  783.             }
  784.  
  785.             Right
  786.             {
  787.                 "1"
  788.                 {
  789.                     "color" "BorderDark"
  790.                     "offset" "1 0"
  791.                 }
  792.             }
  793.  
  794.             Top
  795.             {
  796.                 "1"
  797.                 {
  798.                     "color" "BorderBright"
  799.                     "offset" "0 0"
  800.                 }
  801.             }
  802.  
  803.             Bottom
  804.             {
  805.                 "1"
  806.                 {
  807.                     "color" "BorderDark"
  808.                     "offset" "0 0"
  809.                 }
  810.             }
  811.         }
  812.     }
  813. }