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