home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / themes / Gray / gtk-2.0 / gtkrc next >
Encoding:
Text File  |  2006-07-26  |  39.7 KB  |  1,766 lines

  1. include "menubar.rc"
  2. include "panel.rc"
  3.  
  4. #gtk-menu-drop-shadow = 1
  5. #gtk-menu-shadow-delay = 0
  6. #gtk-icon-sizes = "panel-menu=24,24:panel=24,24:gtk-button=16,16:gtk-large-toolbar=24,24"
  7. #gtk-icon-sizes = "gtk-large-toolbar=16,16:gtk-small-toolbar=16,16"
  8.  
  9. style "default"
  10. {
  11.   GtkWidget::interior_focus                = 7
  12.   GtkWidget::focus_padding                = 0
  13.   GtkButton::default_border            = { 1, 1, 1, 1 }
  14.   GtkButton::default_outside_border    = { 2, 2, 2, 2 }
  15.  
  16.   GtkRange::trough_border                = 1
  17.   GtkRange::slider_width                    = 15
  18.   GtkRange::stepper_size                = 15
  19.  
  20.   GtkVScale::slider_length                 = 11
  21.   GtkVScale::slider_width                 = 21
  22.   GtkHScale::slider_length                 = 11
  23.   GtkHScale::slider_width                 = 21
  24.  
  25.   GtkPaned::handle_size                    = 6
  26.   GtkScrollbar::min_slider_length        = 50
  27.   GtkCheckButton::indicator_size        = 12
  28.   GtkCheckButton::indicator_spacing    = 3
  29.   GtkMenuBar::internal_padding        = 1
  30.   GtkOptionMenu::indicator_size        = { 15, 8 }
  31.   GtkOptionMenu::indicator_spacing    = { 8, 2, 0, 0 }
  32.   GtkStatusbar::shadow_type             = GTK_SHADOW_NONE
  33.   GtkSpinButton::shadow_type         = GTK_SHADOW_NONE
  34.  
  35.   xthickness                = 2
  36.   ythickness                = 2
  37.  
  38.   fg[NORMAL]           = "#353535"
  39.   fg[ACTIVE]               = "#353535"
  40.   fg[PRELIGHT]         = "#000000"
  41.   fg[SELECTED]         = "#000000"
  42.   fg[INSENSITIVE]      = "#9B9B9B"
  43.  
  44.   bg[NORMAL]           = "#e7e7e7"
  45.   bg[ACTIVE]               = "#E0E0E0"
  46.   bg[PRELIGHT]         = "#FFFFFF"
  47.   bg[SELECTED]         = "#c6c6c6"
  48.   bg[INSENSITIVE]      = "#ffffff"
  49.  
  50.   base[NORMAL]         = "#ffffff"
  51.   base[ACTIVE]         = "#E0E0E0"
  52.   base[PRELIGHT]       = "#FFFFFF"
  53.   base[SELECTED]   = "#d5d5d5"
  54.   base[INSENSITIVE]= "#f4f4f4"
  55.  
  56.   text[NORMAL]         = "#000000"
  57.   text[ACTIVE]         = "#505050"
  58.   text[PRELIGHT]       = "#353535"
  59.   text[SELECTED]       = "#353535"
  60.   text[INSENSITIVE]    = "#9B9B9B"
  61.  
  62.   engine "pixmap"
  63.   {
  64.     image
  65.     {
  66.       function                = HANDLE
  67.       recolorable            = TRUE
  68.       overlay_file            = "Handles/handle-v.png"
  69.       overlay_stretch    = FALSE
  70.       orientation            = HORIZONTAL
  71.     }
  72.     image
  73.     {
  74.       function                = HANDLE
  75.       recolorable            = TRUE
  76.       overlay_file            = "Handles/handle-h.png"
  77.       overlay_stretch    = FALSE
  78.       orientation            = VERTICAL
  79.     }
  80.  
  81. ####################### SHADOWS ############################x
  82.  
  83.     image
  84.     {
  85.       function            = SHADOW
  86.       shadow            = IN
  87.       recolorable        = FALSE
  88.       file                = "Shadows/shadow-in.png"
  89.       border            = { 3, 3, 2, 2 }
  90.       stretch            = TRUE
  91.     }
  92.     image
  93.     {
  94.        function        = SHADOW
  95.        shadow            = OUT
  96.        recolorable        = TRUE
  97.        file                = "Shadows/shadow-out.png"
  98.        #border        = { 1, 1, 1, 1 }
  99.        stretch            = TRUE
  100.     }
  101.  
  102.     image
  103.     {
  104.        function        = SHADOW
  105.        shadow            = ETCHED_IN
  106.        recolorable        = TRUE
  107.        file                = "Frame-Gap/frame1.png"                
  108.        border            = { 2, 2, 2, 2 }
  109.        stretch            = TRUE
  110.     }
  111.     image
  112.     {
  113.        function        = SHADOW
  114.        shadow            = ETCHED_OUT
  115.        recolorable        = TRUE
  116.        file                = "Shadows/shadow-none.png"
  117.        border            = { 2, 2, 2, 2 }
  118.        stretch            = TRUE
  119.     }
  120.     image
  121.     {
  122.        function            = SHADOW_GAP
  123.        recolorable            = TRUE
  124.        file                    = "Frame-Gap/frame1.png"
  125.        border                = { 2, 2, 2, 2 }
  126.        stretch                = TRUE
  127.        gap_start_file        = "Frame-Gap/frame-gap-start.png"
  128.        gap_start_border    = { 2, 0, 2, 0 }
  129.        gap_end_file        = "Frame-Gap/frame-gap-end.png"
  130.        gap_end_border    = { 0, 2, 2, 0 }
  131.        gap_side            = TOP
  132.     }
  133.     image
  134.     {
  135.        function        = VLINE
  136.        recolorable        = TRUE
  137.        file                = "Lines/line-v.png"
  138.        border            = { 1, 1, 0, 0 }
  139.        stretch            = TRUE
  140.     }
  141.     image
  142.     {
  143.       function            = HLINE
  144.       recolorable        = TRUE
  145.       file                = "Lines/line-h.png"
  146.       border            = { 0, 0, 1, 1 }
  147.       stretch            = TRUE
  148.     }
  149.  
  150.     # focus
  151.  
  152.     image
  153.     {
  154.       function            = FOCUS
  155.       recolorable        = TRUE
  156.       file                = "Others/focus.png"
  157.       border            = { 6, 0, 6, 0 }
  158.       stretch            = TRUE
  159.     }    
  160.  
  161.     # arrows
  162.  
  163.     image
  164.     {
  165.       function                = ARROW
  166.       recolorable            = TRUE
  167.       overlay_file            = "Arrows/arrow-up.png"
  168.       overlay_border    = { 0, 0, 0, 0 }
  169.       overlay_stretch    = FALSE
  170.       arrow_direction    = UP
  171.     }
  172.     image
  173.     {
  174.       function                = ARROW
  175.       recolorable            = TRUE
  176.       overlay_file            = "Arrows/arrow-down.png"
  177.       overlay_border    = { 0, 0, 0, 0 }
  178.       overlay_stretch    = FALSE
  179.       arrow_direction    = DOWN
  180.     }
  181.     image
  182.     {
  183.       function                = ARROW
  184.       recolorable            = TRUE
  185.       overlay_file            = "Arrows/arrow-left.png"
  186.       overlay_border    = { 0, 0, 0, 0 }
  187.       overlay_stretch    = FALSE
  188.       arrow_direction    = LEFT
  189.     }
  190.     image
  191.     {
  192.       function                = ARROW
  193.       recolorable            = TRUE
  194.       overlay_file            = "Arrows/arrow-right.png"
  195.       overlay_border    = { 0, 0, 0, 0 }
  196.       overlay_stretch    = FALSE
  197.       arrow_direction    = RIGHT
  198.     }
  199.     image 
  200.       {
  201.         function        = BOX
  202.     recolorable        = TRUE
  203.     file                    = "Toolbar/toolbar.png"
  204.     border              = { 3, 3, 3, 3 }
  205.     stretch             = TRUE
  206.       }
  207.   }
  208. }
  209.  
  210. class "GtkWidget"          style "default"
  211.  
  212. #################### BUTTONS #######################
  213.  
  214. style "button"        = "default"
  215. {
  216.  
  217.   engine "pixmap"
  218.   {
  219.     image
  220.     {
  221.       function            = BOX
  222.       detail                = "buttondefault"
  223.       recolorable        = TRUE
  224.       file                = "Buttons/button-default.png"
  225.       border            = {4, 4, 4, 4}
  226.       stretch            = TRUE
  227.     }
  228.     image
  229.     {
  230.       function            = BOX
  231.       state                = PRELIGHT
  232.       recolorable        = TRUE
  233.       file                = "Buttons/button-prelight.png"
  234.       border            = { 4, 4, 4, 4 }
  235.       stretch            = TRUE
  236.     }
  237.     image
  238.     {
  239.       function            = BOX
  240.       state                = ACTIVE
  241.       file                = "Buttons/button-pressed.png"
  242.       border            = { 4, 4, 4, 4 }
  243.       stretch            = TRUE
  244.     }    
  245.     image 
  246.    {
  247.      function            = BOX
  248.      state                = INSENSITIVE
  249.      file                    = "Buttons/button-insensitive.png"
  250.      border            = { 4, 4, 4, 4 }
  251.      stretch            = TRUE
  252.     }
  253.     image 
  254.     {
  255.       function            = BOX
  256.       file                = "Buttons/button-normal.png"        
  257.       border            = { 4, 4, 4, 4 }
  258.       stretch            = TRUE
  259.     }    
  260.   }
  261. }
  262.  
  263.  
  264. style "checkradiobutton" {
  265.   engine "pixmap" {
  266.     image 
  267.     {
  268.     function            = FLAT_BOX
  269.     recolorable        = TRUE
  270.     file                    = "Check-Radio/highlight.png"
  271.     border            = { 2, 5, 2, 5 }
  272.     stretch            = TRUE
  273.        }
  274.     }
  275. }
  276.  
  277. class "GtkRadioButton" style "checkradiobutton"
  278. class "GtkCheckButton" style "checkradiobutton"
  279.  
  280.  
  281. style "optionmenu"        = "default"
  282. {
  283.   engine "pixmap"
  284.   {
  285.     image
  286.     {
  287.       function            = BOX
  288.       recolorable        = TRUE
  289.       state                = PRELIGHT
  290.       file                = "Combo/combo-prelight.png"
  291.       border            = { 5, 5, 5, 5}
  292.       stretch            = TRUE
  293.     }
  294.     image
  295.     {
  296.       function            = BOX
  297.       recolorable        = TRUE
  298.       state                = NORMAL
  299.       file                = "Combo/combo-normal.png"
  300.       border            = { 5, 5, 5, 5}
  301.       stretch            = TRUE
  302.     }
  303.  
  304.   image
  305.     {
  306.       function            = BOX
  307.       recolorable        = TRUE
  308.       state                = ACTIVE
  309.       file                = "Combo/combo-prelight.png"
  310.       border            = { 5, 5, 5, 5}
  311.       stretch            = TRUE
  312.     }
  313.  image
  314.     {
  315.       function            = BOX
  316.       recolorable        = TRUE
  317.       state                = INSENSITIVE
  318.       file                = "Combo/combo-normal.png"
  319.       border            = { 5, 5, 5, 5}
  320.       stretch            = TRUE
  321.     }
  322.     image
  323.     {
  324.       function            = TAB
  325.       state                = INSENSITIVE
  326.       recolorable        = TRUE
  327.       overlay_file        = "Combo/combo-arrow-insens.png"
  328.       overlay_stretch    = FALSE
  329.     }
  330.     image
  331.     {
  332.       function                = TAB
  333.       recolorable            = TRUE
  334.       state                    = NORMAL
  335.       overlay_file            = "Combo/combo-arrow.png"
  336.       overlay_border    = { 0, 0, 0, 0 }
  337.       overlay_stretch    = FALSE
  338.     }
  339.   image
  340.     {
  341.       function                = TAB
  342.       recolorable            = TRUE
  343.       state                    = PRELIGHT
  344.       overlay_file            = "Combo/combo-arrow-prelight.png"
  345.       overlay_border    = { 0, 0, 0, 0 }
  346.       overlay_stretch    = FALSE
  347.     }
  348.   }
  349. }
  350.  
  351. widget_class "*Combo*" style "optionmenu"
  352.  
  353. #######################################################
  354.  
  355. style "radiobutton"    = "default"
  356. {
  357.   engine "pixmap" 
  358.     {
  359.     #This is the image used to draw an unchecked box.
  360.         image 
  361.     {
  362.             function                = OPTION
  363.             recolorable            = TRUE
  364.             state                 = NORMAL
  365.             shadow                  = OUT
  366.             overlay_file            = "Check-Radio/option1.png"
  367.             overlay_stretch     = FALSE
  368.         }
  369.  image 
  370.     {
  371.             function                = OPTION
  372.             recolorable             = TRUE
  373.             state                 = PRELIGHT
  374.             shadow                  = OUT
  375.             overlay_file            = "Check-Radio/option1.png"
  376.             overlay_stretch     = FALSE
  377.         }
  378.  image 
  379.     {
  380.             function                = OPTION
  381.             recolorable             = TRUE
  382.             state                 = ACTIVE
  383.             shadow                  = OUT
  384.             overlay_file            = "Check-Radio/option1.png"
  385.             overlay_stretch     = FALSE
  386.         }
  387.  image 
  388.     {
  389.             function                = OPTION
  390.             recolorable             = TRUE
  391.             state                 = INSENSITIVE
  392.             shadow                 = OUT
  393.             overlay_file            = "Check-Radio/option1.png"
  394.             overlay_stretch     = FALSE
  395.         }
  396.  
  397.     #This is the image used to draw a selected (checked) box.
  398.  
  399.         image 
  400.     {
  401.             function                = OPTION
  402.             recolorable             = TRUE
  403.               state                 = NORMAL
  404.             shadow                  = IN
  405.             overlay_file            = "Check-Radio/option2.png"
  406.             overlay_stretch     = FALSE
  407.         }
  408.   image 
  409.     {
  410.             function                = OPTION
  411.             recolorable             = TRUE
  412.               state                 = PRELIGHT
  413.             shadow                  = IN
  414.             overlay_file            = "Check-Radio/option4.png"
  415.             overlay_stretch     = FALSE
  416.         }
  417.  image 
  418.     {
  419.             function                = OPTION
  420.             recolorable             = TRUE
  421.               state                 = ACTIVE
  422.             shadow                  = IN
  423.             overlay_file            = "Check-Radio/option4.png"
  424.             overlay_stretch     = FALSE
  425.         }
  426.      image 
  427.     {
  428.             function                = OPTION
  429.             recolorable             = TRUE
  430.              state                 = INSENSITIVE
  431.             shadow                  = IN
  432.             overlay_file            = "Check-Radio/option1.png"
  433.             overlay_stretch     = FALSE
  434.         }
  435.  
  436.     #Use this image to draw the highlight when a line with a check box
  437.     #is moused over.
  438.  
  439.     image 
  440.     {
  441.           function                = FLAT_BOX
  442.           recolorable             = TRUE
  443.           stretch                = TRUE
  444.           file                        = "Check-Radio/checklight.png"
  445.           border                  = { 2, 2, 2, 2 }
  446.         }
  447.     }
  448. }
  449.  
  450. ##########################################
  451.  
  452. ####################################################
  453. style "checkbutton"    = "default"
  454. {
  455.   engine "pixmap" 
  456.     {
  457.     #This is the image used to draw an unchecked box.
  458.         image 
  459.     {
  460.             function                = CHECK
  461.             recolorable             = TRUE
  462.             state                 = NORMAL
  463.             shadow                  = OUT
  464.             overlay_file            = "Check-Radio/check1.png"
  465.             overlay_stretch     = FALSE
  466.         }
  467.  image 
  468.     {
  469.             function                = CHECK
  470.             recolorable             = TRUE
  471.             state                 = PRELIGHT
  472.             shadow                  = OUT
  473.             overlay_file            = "Check-Radio/check1.png"
  474.             overlay_stretch     = FALSE
  475.         }
  476.  image 
  477.     {
  478.             function                = CHECK
  479.             recolorable             = TRUE
  480.             state                 = ACTIVE
  481.             shadow                  = OUT
  482.             overlay_file            = "Check-Radio/check1.png"
  483.             overlay_stretch     = FALSE
  484.         }
  485.  image 
  486.     {
  487.             function                = CHECK
  488.             recolorable             = TRUE
  489.             state                 = INSENSITIVE
  490.             shadow                  = OUT
  491.             overlay_file            = "Check-Radio/check1.png"
  492.             overlay_stretch     = FALSE
  493.         }
  494.  
  495.     #This is the image used to draw a selected (checked) box.
  496.  
  497.         image 
  498.     {
  499.             function                = CHECK
  500.             recolorable             = TRUE
  501.               state                 = NORMAL
  502.             shadow                  = IN
  503.             overlay_file            = "Check-Radio/check2.png"
  504.             overlay_stretch     = FALSE
  505.         }
  506.   image 
  507.     {
  508.             function                = CHECK
  509.             recolorable             = TRUE
  510.               state                 = PRELIGHT
  511.             shadow                  = IN
  512.             overlay_file            = "Check-Radio/check4.png"
  513.             overlay_stretch     = FALSE
  514.         }
  515.  image 
  516.     {
  517.             function                = CHECK
  518.             recolorable             = TRUE
  519.               state                 = ACTIVE
  520.             shadow                  = IN
  521.             overlay_file            = "Check-Radio/check4.png"
  522.             overlay_stretch     = FALSE
  523.         }
  524.      image 
  525.     {
  526.             function                = CHECK
  527.             recolorable             = TRUE
  528.               state                 = INSENSITIVE
  529.             shadow                  = IN
  530.             overlay_file           = "Check-Radio/check1.png"
  531.             overlay_stretch     = FALSE
  532.         }
  533.  
  534.     #Use this image to draw the highlight when a line with a check box
  535.     #is moused over.
  536.  
  537.     image 
  538.     {
  539.           function            = FLAT_BOX
  540.           recolorable         = TRUE
  541.          stretch            = TRUE
  542.           file                    = "Check-Radio/checklight.png"
  543.           border              = { 2, 2, 2, 2 }
  544.         }
  545.     }
  546. }
  547.  
  548. ####################### ENTRY #####################xx
  549.  
  550. style "entry"            = "default"
  551. {
  552.  
  553.   xthickness                        = 3
  554.   ythickness                        = 1
  555.   
  556.     GtkWidget::interior_focus    = 0
  557.  #GtkEntry::shadow_type = GTK_SHADOW_NONE
  558.   engine "pixmap"
  559.   {
  560.     image
  561.     {
  562.       function            = FOCUS
  563.       recolorable        = TRUE
  564.       file                = "Shadows/entry-shadow-in.png"
  565.       border            = { 3,3,3,3 }
  566.       stretch            = TRUE
  567.     }    
  568.  image
  569.     {
  570.       function            = BOX
  571.       recolorable        = TRUE
  572.      shadow            = IN
  573.       state                = NORMAL
  574.       file                = "Shadows/entry-shadow-in.png"
  575.       border            = { 3,3,3,3 }
  576.       stretch            = TRUE
  577.     }    
  578. image
  579.     {
  580.       function            = BOX
  581.       recolorable        = TRUE
  582.      shadow            = OUT
  583.       state                = NORMAL
  584.       file                = "Shadows/text-entry.png"
  585.       border            = { 3,3,3,3 }
  586.       stretch            = TRUE
  587.     }    
  588.   image
  589.    {
  590.      function            = SHADOW
  591.      detail                = "entry"
  592.      shadow            = IN
  593.      recolorable        = FALSE
  594.      file                    = "Shadows/text-entry.png"
  595.      border            = { 3,3,3,3 }
  596.      stretch            = TRUE
  597.     }
  598.   }
  599. }
  600.  
  601. ################x SPINBUTTONS ################
  602.  
  603. style "spinbutton"    = "entry"
  604. {
  605.  
  606.  
  607.   engine "pixmap"
  608.   {
  609.     image
  610.     {
  611.       function            = ARROW
  612.     }
  613.  
  614. ############################# UP ######################xx
  615.     image
  616.     {
  617.       function                = BOX
  618.       state                 = NORMAL
  619.       detail                    = "spinbutton_up"
  620.       recolorable            = TRUE
  621.       file                    = "Spin/spin.png"
  622.       border                = { 0, 0, 0, 0 }
  623.       stretch                = TRUE
  624.       overlay_file            = "Spin/spin-up.png"
  625.       overlay_stretch    = FALSE
  626.     }
  627.    image
  628.     {
  629.       function                = BOX
  630.       state                 = PRELIGHT
  631.       detail                    = "spinbutton_up"
  632.       recolorable            = TRUE
  633.       file                    = "Spin/spin.png"
  634.       border                = { 0, 0, 0, 0 }
  635.       stretch                = TRUE
  636.       overlay_file            = "Spin/spin-up-prelight.png"
  637.       overlay_stretch    = FALSE
  638.     }
  639.    image
  640.     {
  641.       function                = BOX
  642.       state                 = INSENSITIVE
  643.       detail                    = "spinbutton_up"
  644.       recolorable            = TRUE
  645.       file                    = "Spin/spin.png"
  646.       border                = { 0, 0, 0, 0 }
  647.       stretch                = TRUE
  648.       overlay_file            = "Spin/spin-up-disable.png"
  649.       overlay_stretch    = FALSE
  650.     }
  651.    image
  652.     {
  653.       function                = BOX
  654.       state                 = ACTIVE
  655.       detail                    = "spinbutton_up"
  656.       recolorable            = TRUE
  657.       file                    = "Spin/spin.png"
  658.       border                = { 0, 0, 0, 0 }
  659.       stretch                = TRUE
  660.      overlay_file            = "Spin/spin-up-prelight.png"
  661.       overlay_stretch    = FALSE
  662.     }
  663.  
  664. ########################x DOWN ########################
  665.     image
  666.     {
  667.       function            = BOX
  668.       state             = NORMAL
  669.       detail            = "spinbutton_down"
  670.       recolorable        = TRUE
  671.       file                = "Spin/spin.png"
  672.       border            = { 0, 0, 0, 0 }
  673.       stretch            = TRUE
  674.       overlay_file        = "Spin/spin-down.png"
  675.       overlay_stretch    = FALSE
  676.     }
  677.     image
  678.     {
  679.       function                = BOX
  680.       state                 = PRELIGHT
  681.       detail                    = "spinbutton_down"
  682.       recolorable            = TRUE
  683.       file                    = "Spin/spin.png"
  684.       border                = { 0, 0, 0, 0 }
  685.       stretch                = TRUE
  686.       overlay_file            = "Spin/spin-down-prelight.png"
  687.       overlay_stretch    = FALSE
  688.     }
  689.     image
  690.     {
  691.       function                = BOX
  692.       state                 = INSENSITIVE
  693.       detail                    = "spinbutton_down"
  694.       recolorable            = TRUE
  695.       file                    = "Spin/spin.png"
  696.       border                = { 0, 0, 0, 0 }
  697.       stretch                = TRUE
  698.       overlay_file            = "Spin/spin-down-disable.png"
  699.       overlay_stretch    = FALSE
  700.     }
  701.  
  702.     image
  703.     {
  704.       function                = BOX
  705.       state                 = ACTIVE
  706.       detail                    = "spinbutton_down"
  707.       recolorable            = TRUE
  708.       file                    = "Spin/spin.png"
  709.       border                = { 0, 0, 0, 0 }
  710.       stretch                = TRUE
  711.       overlay_file            = "Spin/spin-down-prelight.png"
  712.       overlay_stretch    = FALSE
  713.     }
  714.   }
  715. }
  716.  
  717. ############################# SCROLLBAR ####################
  718.  
  719. style "scrollbar" = "default"
  720. {
  721.   engine "pixmap" 
  722.   {
  723.  
  724.     image 
  725.     {
  726.       function            = BOX
  727.       recolorable        = TRUE
  728.       detail                = "trough"
  729.       file                = "Scrollbars/trough-scrollbar-horiz.png"
  730.       border            = { 19, 19, 2, 2 }
  731.       stretch            = TRUE
  732.       orientation        = HORIZONTAL
  733.     }
  734.     image 
  735.     {
  736.       function            = BOX
  737.       recolorable        = TRUE
  738.       detail                = "trough"
  739.       file                = "Scrollbars/trough-scrollbar-vert.png"
  740.       border            = { 2, 2, 19, 19 }
  741.       stretch            = TRUE
  742.       orientation        = VERTICAL
  743.     }
  744.  
  745. ###########x SLIDERS ##################x
  746.  
  747.   image 
  748.     {
  749.       function                = SLIDER
  750.       recolorable            = TRUE
  751.       state                   = NORMAL
  752.       file                    = "Scrollbars/slider-horiz.png" 
  753.       border                = { 2, 2, 2, 2 }
  754.       stretch                = TRUE
  755.       orientation            = HORIZONTAL
  756.       overlay_file            = "Scrollbars/scroll-thumb-horiz.png"
  757.       overlay_stretch    = FALSE
  758.       orientation            = HORIZONTAL
  759.     }
  760.   image 
  761.     {
  762.       function                = SLIDER
  763.       recolorable            = TRUE
  764.       state                   = ACTIVE
  765.       shadow                = IN
  766.       file                    = "Scrollbars/slider-horiz.png" 
  767.       border                = { 2, 2, 2, 2 }
  768.       stretch                = TRUE
  769.       orientation            = HORIZONTAL
  770.       overlay_file            = "Scrollbars/scroll-thumb-horiz.png"
  771.       overlay_stretch    = FALSE
  772.       orientation            = HORIZONTAL
  773.     }
  774.     image 
  775.     {
  776.       function                = SLIDER
  777.       recolorable            = TRUE
  778.       state                   = PRELIGHT
  779.       file                    = "Scrollbars/slider-horiz-prelight.png" 
  780.       border                = { 2, 2, 2, 2 }
  781.       stretch                = TRUE
  782.       orientation            = HORIZONTAL
  783.       overlay_file            = "Scrollbars/scroll-thumb-horiz.png"
  784.       overlay_stretch    = FALSE
  785.       orientation            = HORIZONTAL
  786.     }
  787.     image 
  788.     {
  789.       function                = SLIDER
  790.       recolorable            = TRUE
  791.       state                   = INSENSITIVE
  792.       file                    = "Scrollbars/slider-horiz-insens.png"
  793.       border                = { 2, 2, 2, 2 }
  794.       stretch                = TRUE
  795.       orientation            = HORIZONTAL
  796.       overlay_file            = "Scrollbars/scroll-thumb-horiz.png"
  797.       overlay_stretch    = FALSE
  798.       orientation            = HORIZONTAL
  799.     }
  800.  
  801. #############x verticals################xx
  802.  
  803.  image 
  804.     {
  805.       function                = SLIDER
  806.       recolorable            = TRUE
  807.       state                   = NORMAL
  808.       file                    = "Scrollbars/slider-vert.png" 
  809.       border                = { 2, 2, 2, 2 }
  810.       stretch                = TRUE
  811.       orientation            = VERTICAL
  812.       overlay_file            = "Scrollbars/scroll-thumb-vert.png"
  813.       overlay_stretch    = FALSE
  814.       orientation            = VERTICAL
  815.     }
  816.    image 
  817.     {
  818.       function                = SLIDER
  819.       recolorable            = TRUE
  820.       state                   = ACTIVE
  821.       shadow                = IN
  822.       file                    = "Scrollbars/slider-vert.png" 
  823.       border                = { 2, 2, 2, 2 }
  824.       stretch                = TRUE
  825.       orientation            = VERTICAL
  826.       overlay_file            = "Scrollbars/scroll-thumb-vert.png"
  827.       overlay_stretch    = FALSE
  828.       orientation            = VERTICAL
  829.     }
  830.     image 
  831.     {
  832.       function                = SLIDER
  833.       recolorable            = TRUE
  834.       state                   = PRELIGHT
  835.       file                    = "Scrollbars/slider-vert-prelight.png" 
  836.       border                = { 2, 2, 2, 2 }
  837.       stretch                = TRUE
  838.       orientation            = VERTICAL
  839.       overlay_file            = "Scrollbars/scroll-thumb-vert.png"
  840.       overlay_stretch    = FALSE
  841.       orientation            = VERTICAL
  842.     }
  843.     image 
  844.     {
  845.       function                = SLIDER
  846.       recolorable            = TRUE
  847.       state                   = INSENSITIVE
  848.       file                    = "Scrollbars/slider-vert-insens.png"
  849.       border                = { 2, 2, 2, 2 }
  850.       stretch                = TRUE
  851.       orientation            = VERTICAL
  852.       overlay_file            = "Scrollbars/scroll-thumb-vert.png"
  853.       overlay_stretch    = FALSE
  854.       orientation            = VERTICAL
  855.     }
  856.  
  857. ###########x END SLIDERS ##################x
  858.  
  859. ########### Steppers ######################
  860. #### UP #######
  861.     image 
  862.     {
  863.       function                = STEPPER
  864.       recolorable            = TRUE
  865.       state                    = NORMAL
  866.       file                    = "Scrollbars/stepper-up.png"
  867.       #border                = { 12, 2, 2, 9 }
  868.       stretch                = TRUE
  869.       arrow_direction    = UP
  870.     }
  871.  image 
  872.     {
  873.       function                = STEPPER
  874.       recolorable            = TRUE
  875.       state                    = PRELIGHT
  876.       file                    = "Scrollbars/stepper-up-prelight.png"
  877.       #border                = { 12, 2, 2, 9 }
  878.       stretch                = TRUE
  879.       arrow_direction    = UP
  880.     }
  881.  image 
  882.     {
  883.       function                = STEPPER
  884.       recolorable            = TRUE
  885.       state                    = ACTIVE
  886.       file                    = "Scrollbars/stepper-up-prelight.png"
  887.       #border                = { 12, 2, 2, 9 }
  888.       stretch                = TRUE
  889.       arrow_direction    = UP
  890.     }
  891.  image 
  892.     {
  893.       function                = STEPPER
  894.       recolorable            = TRUE
  895.       state                    = INSENSITIVE
  896.       file                    = "Scrollbars/stepper-up-insens.png"
  897.       #border                = { 12, 2, 2, 9 }
  898.       stretch                = TRUE
  899.       arrow_direction    = UP
  900.     }
  901.  
  902.  ######### DOWN ############
  903.  
  904.     image 
  905.     {
  906.       function                = STEPPER
  907.       recolorable            = TRUE
  908.       state                    = NORMAL
  909.       file                    = "Scrollbars/stepper-down.png"
  910.       #border                = { 12, 2, 10, 2 }
  911.       stretch                = TRUE
  912.       arrow_direction    = DOWN
  913.     }
  914.  image 
  915.     {
  916.       function                = STEPPER
  917.       recolorable            = TRUE
  918.       state                    = PRELIGHT
  919.       file                    = "Scrollbars/stepper-down-prelight.png"
  920.       #border                = { 12, 2, 10, 2 }
  921.       stretch                = TRUE
  922.       arrow_direction    = DOWN
  923.     }
  924.  image 
  925.     {
  926.       function                = STEPPER
  927.       recolorable            = TRUE
  928.       state                    = ACTIVE
  929.       file                    = "Scrollbars/stepper-down-prelight.png"
  930.       #border                = { 12, 2, 10, 2 }
  931.       stretch                = TRUE
  932.       arrow_direction    = DOWN
  933.     }
  934.  image 
  935.     {
  936.       function                = STEPPER
  937.       recolorable            = TRUE
  938.       state                    = INSENSITIVE
  939.       file                    = "Scrollbars/stepper-down-insens.png"
  940.       #border                = { 12, 2, 10, 2 }
  941.       stretch                = TRUE
  942.       arrow_direction    = DOWN
  943.     }
  944.  
  945. ############ RIGHT ################
  946.  
  947.     image 
  948.     {
  949.       function                = STEPPER
  950.       recolorable            = TRUE
  951.       state                    = NORMAL
  952.       file                    = "Scrollbars/stepper-right.png"
  953.       #border                = { 2, 9, 2, 13 }
  954.       stretch                = TRUE
  955.       arrow_direction    = RIGHT
  956.     }
  957.  image 
  958.     {
  959.       function                = STEPPER
  960.       recolorable            = TRUE
  961.       state                    = PRELIGHT
  962.       file                    = "Scrollbars/stepper-right-prelight.png"
  963.       #border                = { 2, 9, 2, 13 }
  964.       stretch                = TRUE
  965.       arrow_direction    = RIGHT
  966.     }
  967.  image 
  968.     {
  969.       function                = STEPPER
  970.       recolorable            = TRUE
  971.       state                    = ACTIVE
  972.       file                    = "Scrollbars/stepper-right-prelight.png"
  973.       #border                = { 2, 9, 2, 13 }
  974.       stretch                = TRUE
  975.       arrow_direction    = RIGHT
  976.     }
  977.  image 
  978.     {
  979.       function                = STEPPER
  980.       recolorable            = TRUE
  981.       state                    = INSENSITIVE
  982.       file                    = "Scrollbars/stepper-right-insens.png"
  983.       #border                = { 2, 9, 2, 13 }
  984.       stretch                = TRUE
  985.       arrow_direction    = RIGHT
  986.     }
  987.  
  988. ############### LEFT ###################
  989.  
  990.     image 
  991.     {
  992.       function                = STEPPER
  993.       recolorable            = TRUE
  994.       state                    = NORMAL
  995.       file                    = "Scrollbars/stepper-left.png"
  996.       #border                = { 2, 9, 2, 13 }
  997.       stretch                = TRUE
  998.       arrow_direction    = LEFT
  999.     }
  1000.   image 
  1001.     {
  1002.       function                = STEPPER
  1003.       recolorable            = TRUE
  1004.       state                    = PRELIGHT
  1005.       file                    = "Scrollbars/stepper-left-prelight.png"
  1006.       #border                = { 2, 9, 2, 13 }
  1007.       stretch                = TRUE
  1008.       arrow_direction    = LEFT
  1009.     }
  1010.   image 
  1011.     {
  1012.       function                = STEPPER
  1013.       recolorable            = TRUE
  1014.       state                    = ACTIVE
  1015.       file                    = "Scrollbars/stepper-left-prelight.png"
  1016.       #border                = { 2, 9, 2, 13 }
  1017.       stretch                = TRUE
  1018.       arrow_direction    = LEFT
  1019.     }
  1020.   image 
  1021.     {
  1022.       function                = STEPPER
  1023.       recolorable            = TRUE
  1024.       state                    = INSENSITIVE
  1025.       file                    = "Scrollbars/stepper-left-insens.png"
  1026.       #border                = { 2, 9, 2, 13 }
  1027.       stretch                = TRUE
  1028.       arrow_direction    = LEFT
  1029.     }
  1030.   }
  1031. }
  1032.  
  1033. ##################### PROGRESSBAR ###################x
  1034.  
  1035. style "progressbar" {
  1036.   fg[PRELIGHT]               = "#838383"
  1037.   text[PRELIGHT]           = "#838383"
  1038.   xthickness                    = 1
  1039.   ythickness                    = 1
  1040.   engine "pixmap" 
  1041.   {
  1042.     image
  1043.     {
  1044.       function                = BOX
  1045.       detail                    = "trough"
  1046.       file                    = "ProgressBar/trough-progressbar-horiz.png"
  1047.       border                = { 2, 2, 2, 2 }
  1048.       stretch                = TRUE
  1049. #      orientation        = HORIZONTAL
  1050.     }
  1051.     image
  1052.     {
  1053.       function                = BOX
  1054.       detail                    = "bar"
  1055.       file                    = "ProgressBar/progressbar-horiz.png"
  1056.       border                = { 2, 2, 2, 2 }
  1057.       stretch                = TRUE
  1058. #      orientation        = HORIZONTAL
  1059.     } 
  1060.   }
  1061. }
  1062.  
  1063. ############################# RANGE #######################
  1064.  
  1065. style "range"            = "default"
  1066. {    
  1067.   engine "pixmap" 
  1068.   {
  1069.     image 
  1070.     {
  1071.       function            = BOX
  1072.       recolorable        = TRUE
  1073.       detail                = "trough"
  1074.       file                = "Range/trough-horizontal.png"
  1075.       border            = { 10, 10, 1, 19 }
  1076.       stretch            = TRUE
  1077.       orientation        = HORIZONTAL
  1078.     }    
  1079.     image 
  1080.     {
  1081.       function            = BOX
  1082.       recolorable        = TRUE
  1083.       detail                = "trough"
  1084.       file                = "Range/trough-vertical.png"
  1085.       border            = { 0, 19, 10, 10 }
  1086.       stretch            = TRUE
  1087.       orientation        = VERTICAL
  1088.     }
  1089.  
  1090. ############### the sliders ###############
  1091.  
  1092.     image 
  1093.     {
  1094.       function                = SLIDER
  1095.       recolorable            = TRUE
  1096.       state                   = NORMAL
  1097.       file                    = "Range/null.png"
  1098.       border                = { 0, 0, 0, 0 }
  1099.       stretch                = TRUE
  1100.       overlay_file            = "Range/slider-horiz.png"
  1101.       overlay_stretch    = FALSE
  1102.       orientation            = HORIZONTAL
  1103.     }
  1104.     image 
  1105.     {
  1106.       function                = SLIDER
  1107.       recolorable            = TRUE
  1108.      state                       = PRELIGHT
  1109.       file                    = "Range/null.png"
  1110.       border                = { 0, 0, 0, 0 }
  1111.       stretch                = TRUE
  1112.       overlay_file            = "Range/slider-horiz-prelight.png"
  1113.       overlay_stretch    = FALSE
  1114.       orientation            = HORIZONTAL
  1115.     }
  1116.     image 
  1117.     {
  1118.       function                = SLIDER
  1119.       recolorable            = TRUE
  1120.       state                   = INSENSITIVE
  1121.       file                    = "Range/null.png"
  1122.       border                = { 0, 0, 0, 0 }
  1123.       stretch                = TRUE
  1124.       overlay_file            = "Range/slider-horiz.png"
  1125.       overlay_stretch    = FALSE
  1126.       orientation            = HORIZONTAL
  1127.     }
  1128.  
  1129. ######################### VERTICAL ###########################
  1130.  
  1131.     image 
  1132.     {
  1133.       function                = SLIDER
  1134.       recolorable            = TRUE
  1135.       state                   = NORMAL
  1136.       file                    = "Range/null.png"
  1137.       border                = { 0, 0, 0, 0 }
  1138.       stretch                = TRUE
  1139.       overlay_file            = "Range/slider-vert.png"
  1140.       overlay_stretch    = FALSE
  1141.       orientation            = VERTICAL
  1142.     }
  1143.     image 
  1144.     {
  1145.       function                = SLIDER
  1146.       recolorable            = TRUE
  1147.      state                       = PRELIGHT
  1148.       file                    = "Range/null.png"
  1149.       border                = { 0, 0, 0, 0 }
  1150.       stretch                = TRUE
  1151.       overlay_file            = "Range/slider-vert-prelight.png"
  1152.       overlay_stretch    = FALSE
  1153.       orientation            = VERTICAL
  1154.     }
  1155.     image 
  1156.     {
  1157.       function                = SLIDER
  1158.       recolorable            = TRUE
  1159.       state                   = INSENSITIVE
  1160.       file                    = "Range/null.png"
  1161.       border                = { 0, 0, 0, 0 }
  1162.       stretch                = TRUE
  1163.       overlay_file            = "Range/slider-vert.png"
  1164.       overlay_stretch    = FALSE
  1165.       orientation            = VERTICAL
  1166.     }
  1167.   }
  1168. }
  1169.  
  1170. ################### TOOLBAR ###########################
  1171.  
  1172. style "toolbar"
  1173. {
  1174.  
  1175.     engine "pixmap"
  1176.     {
  1177.         image
  1178.         {
  1179.             function    = BOX
  1180.             file        = "Toolbar/toolbar.png"
  1181.             border    = { 4, 4, 4, 4}
  1182.             stretch    = TRUE
  1183.             }
  1184.      }
  1185. }
  1186. widget_class "*BonoboDockItem" style "toolbar"
  1187. class "*BonoboDockItem" style "toolbar"
  1188.  
  1189. widget_class "*HandleBox" style "toolbar"
  1190. class "*HandleBox" style "toolbar"
  1191.  
  1192. widget_class "*Toolbar" style "toolbar"
  1193. class "*Toolbar" style "toolbar"
  1194.  
  1195. ##################### TOOLBAR BUTTONS ###############################
  1196.  
  1197. style "toolbuttons" = "default"
  1198. {
  1199.   xthickness                        = 1
  1200.   ythickness                        = 1
  1201.  
  1202.     GtkWidget::focus_padding = 2
  1203.  
  1204.     engine "pixmap" {
  1205.       
  1206. image
  1207.         {
  1208.             function                = BOX
  1209.             recolorable             = TRUE
  1210.             state                    = NORMAL
  1211.             file                        = "Toolbar/toolbutton-normal.png"
  1212.             border                  = { 5, 5, 5, 5 }
  1213.             stretch                 = TRUE
  1214.         }
  1215. image
  1216.         {
  1217.             function                = BOX
  1218.             recolorable             = TRUE
  1219.             state                    = PRELIGHT
  1220.             file                        = "Toolbar/toolbutton-prelight.png"
  1221.             border                  = { 5, 5, 5, 5 }
  1222.             stretch                 = TRUE
  1223.         }
  1224. image
  1225.         {
  1226.             function                = BOX
  1227.             recolorable             = TRUE
  1228.             state                    = ACTIVE
  1229.             file                        = "Toolbar/toolbutton-pressed.png"
  1230.             border                  = { 5, 5, 5, 5 }
  1231.             stretch                 = TRUE
  1232.         }  
  1233. image
  1234.         {
  1235.             function                = BOX
  1236.             recolorable             = TRUE
  1237.             state                    = INSENSITIVE
  1238.             file                        = "Toolbar/toolbutton-normal.png"
  1239.             border                  = { 5, 5, 5, 5 }
  1240.             stretch                 = TRUE
  1241.         }  
  1242.     }
  1243. }
  1244. widget_class "*Tool*GtkToggleButton" style "toolbuttons"
  1245. widget_class "*Tool*GtkButton" style "toolbuttons"
  1246.  
  1247. ################### PANEL GRAPHICS #################################
  1248. ################### MENU #################################
  1249.  
  1250. style "menu"            = "default"
  1251. {
  1252. #bg_pixmap[NORMAL]       = "Menu-Menubar/menu-overlay.png"
  1253. xthickness            = 3
  1254. ythickness            = 1
  1255.   engine "pixmap"
  1256.   {
  1257.     image
  1258.     {
  1259.       function            = BOX
  1260.       recolorable        = TRUE
  1261.       detail                = "menu"
  1262.       file                = "Menu-Menubar/menu.png"
  1263.       border            = { 34, 3, 3, 3 }
  1264.       stretch            = TRUE
  1265.     }
  1266.   }
  1267. }
  1268.  
  1269. ########################### Menuitem #############################
  1270. style "menuitem"    = "default"
  1271. {
  1272.   xthickness                = 1
  1273.   fg[PRELIGHT]         = "#000000"
  1274.   text[PRELIGHT]     = "#000000"
  1275.  
  1276.  
  1277.   engine "pixmap"
  1278.   {
  1279.     image
  1280.     {
  1281.       function            = BOX
  1282.       recolorable        = TRUE
  1283.       file                = "Menu-Menubar/menuitem.png"
  1284.       border            = { 10, 10, 10, 10 }
  1285.       stretch            = TRUE
  1286.     }
  1287.     image
  1288.     {
  1289.       function                = ARROW
  1290.       recolorable            = TRUE
  1291.       state                    = NORMAL
  1292.       overlay_file            = "Arrows/arrow-right-norm.png"
  1293.       overlay_stretch    = FALSE
  1294.       arrow_direction    = RIGHT
  1295.     }
  1296.   image
  1297.     {
  1298.       function                = ARROW
  1299.       recolorable            = TRUE
  1300.       state                    = PRELIGHT
  1301.       overlay_file            = "Arrows/arrow-right.png"
  1302.       overlay_stretch    = FALSE
  1303.       arrow_direction    = RIGHT
  1304.     }
  1305.   }
  1306. }
  1307.  
  1308.  
  1309. style "tearoffmenuitem"    = "menuitem"
  1310. {
  1311.   engine "pixmap"
  1312.   {
  1313.     image
  1314.     {
  1315.       function                = ARROW
  1316.       file                    = "Arrows/arrow-left.png"
  1317.       stretch                = TRUE
  1318.       arrow_direction    = LEFT
  1319.     }
  1320. #    image
  1321. #    {
  1322. #      function        = HLINE
  1323. #      file                = "cuthere.png"
  1324. #      border            = { 0, 0, 0, 0 }
  1325. #      stretch        = TRUE
  1326. #    }
  1327.   }
  1328. }
  1329.  
  1330. style "notebook"        = "default"
  1331. {
  1332.  
  1333.   xthickness                        = 2
  1334.   ythickness                        = 2
  1335.   engine "pixmap" 
  1336.     {
  1337.     image 
  1338.       {
  1339.      function            = EXTENSION
  1340.     recolorable        = TRUE
  1341.     state                = ACTIVE
  1342.     file                    = "Tabs/tab-bottom.png"
  1343.     border            = { 4,4,4,4}
  1344.     stretch            = TRUE
  1345.     gap_side            = TOP
  1346.       }
  1347.     image 
  1348.       {
  1349.      function            = EXTENSION
  1350.     recolorable        = TRUE
  1351.     state                = ACTIVE
  1352.     file                    = "Tabs/tab-top.png"
  1353.     border            = {  4,4,4,4}
  1354.     stretch            = TRUE
  1355.     gap_side            = BOTTOM
  1356.       }
  1357.     image 
  1358.       {
  1359.      function            = EXTENSION
  1360.     recolorable        = TRUE
  1361.     state                = ACTIVE
  1362.     file                    = "Tabs/tab-left.png"
  1363.     border            = {  4,4,4,4}
  1364.     stretch            = TRUE
  1365.     gap_side            = RIGHT
  1366.       }
  1367.     image 
  1368.       {
  1369.      function            = EXTENSION
  1370.     recolorable        = TRUE
  1371.     state                = ACTIVE
  1372.     file                    = "Tabs/tab-right.png"
  1373.     border            = { 4,4,4,4}
  1374.     stretch            = TRUE
  1375.     gap_side            = LEFT
  1376.       }    
  1377.     image 
  1378.       {
  1379.      function            = EXTENSION
  1380.     recolorable        = TRUE
  1381.     file                    = "Tabs/tab-top-active.png"
  1382.     border            = { 4,4,4,4}
  1383.     stretch            = TRUE
  1384.     gap_side            = BOTTOM
  1385.       }
  1386.     image 
  1387.       {
  1388.      function            = EXTENSION
  1389.     recolorable        = TRUE
  1390.     file                    = "Tabs/tab-bottom-active.png"
  1391.     border            = { 4,4,4,4}
  1392.     stretch            = TRUE
  1393.     gap_side            = TOP
  1394.       }
  1395.     image 
  1396.       {
  1397.      function            = EXTENSION
  1398.     recolorable        = TRUE
  1399.     file                    = "Tabs/tab-left-active.png"
  1400.     border            = {  4,4,4,4}
  1401.     stretch            = TRUE
  1402.     gap_side            = RIGHT
  1403.       }
  1404.     image 
  1405.       {
  1406.      function            = EXTENSION
  1407.     recolorable        = TRUE
  1408.     file                    = "Tabs/tab-right-active.png"
  1409.     border            = {  4,4,4,4}
  1410.     stretch            = TRUE
  1411.     gap_side            = LEFT
  1412.       }
  1413.  
  1414. # How to draw boxes with a gap on one side (ie the page of a notebook)
  1415.  
  1416.     image 
  1417.       {
  1418.      function                = BOX_GAP
  1419.     recolorable            = TRUE
  1420.     file                        = "Tabs/notebook.png" 
  1421.     border                = { 5, 5, 5, 5 }
  1422.     stretch                = TRUE
  1423.     gap_file                = "Others/null.png"
  1424.     gap_border             = { 0, 0, 0, 0 }
  1425.     gap_start_file        = "Others/null.png"
  1426.     gap_start_border    = { 0, 0, 0, 0 }
  1427.     gap_end_file        = "Others/null.png"
  1428.     gap_end_border    = { 0, 0, 0, 0 }
  1429.     gap_side                = TOP
  1430.       }
  1431.     image 
  1432.       {
  1433.      function                = BOX_GAP
  1434.     recolorable            = TRUE
  1435.     file                        = "Tabs/notebook.png"
  1436.     border                = { 5, 5, 5, 5 }
  1437.     stretch                = TRUE
  1438.     gap_file                = "Others/null.png"
  1439.     gap_border            = { 10, 10,5, 5 }
  1440.     gap_start_file        = "Others/null.png"
  1441.     gap_start_border    = { 10, 10, 5, 5 }
  1442.     gap_end_file        = "Others/null.png"
  1443.     gap_end_border    = { 10, 10, 5, 5 }
  1444.     gap_side                = BOTTOM
  1445.       }
  1446.     image 
  1447.       {
  1448.      function                = BOX_GAP
  1449.     recolorable            = TRUE
  1450.     file                        = "Tabs/notebook.png"
  1451.     border                = { 5, 5, 5, 5 }
  1452.     stretch                = TRUE
  1453.     gap_file                = "Others/null.png"
  1454.     gap_border            = { 0, 1, 0, 0 }
  1455.     gap_start_file        = "Others/null.png"
  1456.     gap_start_border    = { 0, 0, 2, 0 }
  1457.     gap_end_file        = "Others/null.png"
  1458.     gap_end_border    = { 0, 2, 1, 0 }
  1459.     gap_side                = LEFT
  1460.       }
  1461.     image 
  1462.       {
  1463.      function                = BOX_GAP
  1464.     recolorable            = TRUE
  1465.     file                        = "Tabs/notebook.png" 
  1466.     border                = { 5, 5, 5, 5 }
  1467.     stretch                = TRUE
  1468.     gap_file                = "Others/null.png"
  1469.     gap_border            = { 0, 0, 1, 0 }
  1470.     gap_start_file        = "Others/null.png"
  1471.     gap_start_border    = { 2, 0, 2, 0 }
  1472.     gap_end_file        = "Others/null.png"
  1473.     gap_end_border    = { 0, 0, 0, 2 }
  1474.     gap_side                = RIGHT
  1475.       }
  1476.  
  1477. # How to draw the box of a notebook when it isnt attached to a tab
  1478.  
  1479.     image 
  1480.       {
  1481.      function            = BOX
  1482.     recolorable        = TRUE
  1483.     file                    = "Tabs/notebook.png"
  1484.     border            = { 6,6,6,6 }
  1485.     stretch            = TRUE
  1486.     #gap_side        = TOP
  1487.       }
  1488.   }
  1489. }
  1490.  
  1491. style "tooltips"    = "default"
  1492. {
  1493.   bg[NORMAL]        = "#d7d7d7"
  1494. }
  1495.  
  1496. ##################### RULER ##################
  1497.  
  1498. style "ruler"        = "default"
  1499. {
  1500.   engine "pixmap" {
  1501.     image 
  1502.       {
  1503.      function            = BOX
  1504.     recolorable        = TRUE
  1505.     detail                = "vruler"
  1506.     file                    = "Others/ruler.png"
  1507.     border            = { 2, 2, 2, 2 }
  1508.     stretch            = TRUE
  1509.       }
  1510.     image 
  1511.       {
  1512.      function            = BOX
  1513.     recolorable        = TRUE
  1514.     detail                = "hruler"
  1515.     file                    = "Others/ruler.png"
  1516.     border            = { 2, 2, 2, 2 }
  1517.     stretch            = TRUE
  1518.       }
  1519.   }
  1520. }
  1521.  
  1522. ################# HANDLES ###################x
  1523.  
  1524.  
  1525. style "handlebox"    = "default"
  1526. {
  1527.   engine "pixmap"
  1528.   {
  1529.     image
  1530.     {
  1531.       #function             = SHADOW
  1532.     }
  1533.     image
  1534.     {
  1535.       function                = HANDLE
  1536.       recolorable            = TRUE
  1537.       overlay_file            = "Handles/handle-v.png"
  1538.       overlay_stretch    = FALSE
  1539.       orientation            = VERTICAL
  1540.     }
  1541.     image
  1542.     {
  1543.       function                = HANDLE
  1544.       overlay_file            = "Handles/handle-h.png"
  1545.       overlay_stretch     = FALSE
  1546.       orientation            = HORIZONTAL
  1547.     }
  1548.   }
  1549. }
  1550.  
  1551. style "flat"         = "default"
  1552. {
  1553.   engine "pixmap"
  1554.   {
  1555.     image
  1556.     {
  1557.       function        = SHADOW
  1558.     }
  1559.   }
  1560. }
  1561.  
  1562. style "layout"    = "default"
  1563. {
  1564.   engine "pixmap"
  1565.   {
  1566.    image
  1567.    {
  1568.      function        = SHADOW
  1569.      detail            = "entry"
  1570.      shadow        = IN
  1571.      recolorable    = FALSE
  1572.      file            = "Shadows/text.png"
  1573.      border        = { 1, 1, 1, 1 }
  1574.      stretch        = TRUE
  1575.    }
  1576.     image
  1577.     {
  1578.       function        = BOX
  1579.       detail        = "button"
  1580.       state            = NORMAL
  1581.       file            = "Buttons/button-normal.png"
  1582.       recolorable    = TRUE
  1583.       border        = { 2, 3, 2, 3 }
  1584.       stretch        = TRUE
  1585.     }
  1586.   }
  1587. }
  1588.  
  1589. ##################### LISTHEADERS ###################x
  1590.  
  1591. style "list-header"
  1592. {
  1593.    #Comment out the ythickness setting below for thicker column headers.
  1594.    #ythickness = 0
  1595.    GtkTreeView::odd_row_color     = "#ffffff"
  1596.    GtkTreeView::even_row_color     = "#ffffff"
  1597.  
  1598. #  fg[NORMAL] = "#ffffff"
  1599. #  text[NORMAL] = "#ffffff"
  1600.  
  1601.    engine "pixmap" 
  1602.     {
  1603.  
  1604.     #This image is used to draw the headers of columns in list views when they are
  1605.     #not selected.
  1606.         image
  1607.               {
  1608.                 function            = BOX
  1609.             recolorable        = TRUE
  1610.             state                = NORMAL
  1611.             file                    = "ListHeaders/list_header.png"
  1612.             border              = { 2, 2, 2, 2 }
  1613.             stretch             = TRUE
  1614.               }
  1615.  
  1616.     #This image is used to draw the column headers in list views when they are
  1617.     #clicked.
  1618.         image
  1619.               {
  1620.                 function            = BOX
  1621.             recolorable        = TRUE
  1622.             state                = PRELIGHT
  1623.             file                    = "ListHeaders/list_header-prelight.png"
  1624.             border              = { 2, 2, 2, 2 }
  1625.             stretch             = TRUE
  1626.               }
  1627.  
  1628.     #Does this do anything?
  1629.  
  1630.     image
  1631.               {
  1632.                 function            = BOX
  1633.             recolorable        = TRUE
  1634.             state                = ACTIVE
  1635.             file                    = "ListHeaders/list_header-pressed.png"
  1636.             border              = { 2, 2, 2, 2}
  1637.             stretch             = TRUE
  1638.               }
  1639.     image
  1640.               {
  1641.                 function            = BOX
  1642.             recolorable        = TRUE
  1643.             state                = SELECTED
  1644.             file                    = "ListHeaders/list_header-prelight.png"
  1645.             border              = { 2, 2, 2, 2 }
  1646.             stretch             = TRUE
  1647.               }
  1648.     image
  1649.               {
  1650.                 function            = BOX
  1651.             recolorable        = TRUE
  1652.             state                = INSENSITIVE
  1653.             file                    = "ListHeaders/list_header-insens.png"
  1654.             border              = { 2, 2, 2, 2 }
  1655.             stretch             = TRUE
  1656.           }
  1657.       }
  1658. }
  1659.  
  1660. widget_class "*List" style "list-header"
  1661. widget_class "*GtkTree*" style "list-header"
  1662. widget_class "*GtkCList*" style "list-header"
  1663. #widget_class "*Tree*" style "list-header"
  1664.  
  1665. # This prevents Sodipodi from crashing while opening the
  1666. # Object-Style dialog.
  1667.  
  1668. style "unstyle"
  1669. {
  1670.   engine ""
  1671.   {
  1672.   }
  1673. }
  1674.  
  1675. # recognizable pressed toggle buttons
  1676. # SPIcons seem to erase the background first. That's why I can't use
  1677. # the button style.
  1678.  
  1679. style "SPbutton"
  1680. {
  1681.   engine "pixmap"
  1682.   {
  1683.     image
  1684.     {
  1685.       function        = BOX
  1686.       shadow        = IN
  1687.       recolorable    = TRUE
  1688.       file            = "Shadows/shadow-out.png"
  1689.       border        = { 2, 2, 2, 2 }
  1690.       stretch        = TRUE
  1691.     }
  1692.     image
  1693.     {
  1694.       function        = BOX
  1695.     }
  1696.   }
  1697. }
  1698.  
  1699. style "treecol"
  1700. {
  1701.     bg[NORMAL] = "#000000"
  1702. }
  1703.  
  1704. style "metacity-frame"
  1705. {
  1706.   # Normal base color
  1707.   #bg[NORMAL]  = "#bbbbbb"
  1708.  
  1709.   # Unfocused title background color
  1710.   #bg[INSENSITIVE]  = { 0.8, 0.8, 0.8 }
  1711.  
  1712.   # Unfocused title text color
  1713.   #fg[INSENSITIVE]  = { 1.55, 1.55, 1.55 }
  1714.  
  1715.   # Focused icon color
  1716.   #fg[NORMAL]  = { 0.2, 0.2, 0.2 }
  1717.  
  1718.   # Focused title background color
  1719.   bg[SELECTED]  = "#4A4A4A"
  1720.  
  1721.   # Focused title text color
  1722.   fg[SELECTED]  = "#F9F9F9"
  1723. }
  1724.  
  1725. # widget styles
  1726. class "MetaFrames"             style "metacity-frame"
  1727. class "GtkButton"                  style "button"
  1728. class "GtkRadioButton"             style "radiobutton"
  1729. class "GtkRadioMenuItem"        style "radiobutton"
  1730. class "GtkCheckButton"         style "checkbutton"
  1731. class "GtkCheckMenuItem"       style "checkbutton"
  1732. class "GtkOptionMenu"          style "optionmenu"
  1733. class "GtkCombo*"                  style "optionmenu"
  1734. class "*Font*"                      style "optionmenu"
  1735. class "GtkEntry"                       style "entry"
  1736. class "GtkOldEditable"             style "entry"
  1737. class "GtkSpinButton"            style "spinbutton"
  1738. class "GtkRuler"                       style "ruler"
  1739. class "GtkScrollbar"               style "scrollbar"
  1740.  
  1741. class "GtkProgressBar"             style "progressbar"
  1742. class "GtkRange"                     style "range"
  1743. class "GtkMenu"                   style "menu"
  1744.  
  1745. class "GtkMenuBar*"              style "menubar"
  1746.  
  1747. widget_class "*MenuBar.*"     style "menubar"
  1748.  
  1749. #class "GtkImageMenuItem"     style "menubar"
  1750.  
  1751. class "GtkMenuItem"               style "menuitem"
  1752. class "GtkTearoffMenuItem"    style "menuitem"
  1753. class "GtkNotebook"              style "notebook"
  1754. #class "GtkTextView"              style "textview"
  1755. #class "GtkTreeView"                 style "treeview"
  1756. class "GtkToolbar"                   style "flat"                    
  1757. class "GtkHandleBox"            style "handlebox"
  1758. class "GtkEventBox"                style "flat"
  1759. class "GtkPaned"                   style "handlebox"
  1760. class "GtkLayout"                 style "layout"
  1761. class "SPButton"                     style "SPbutton"
  1762. widget "gtk-tooltips"              style "tooltips"
  1763.  
  1764. # prevent Sodipodi from crashing
  1765. class "SPColorSlider"             style "unstyle"
  1766.