# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>

style "default"
{
  font = "-*-lucida-helvetica-r-bold-*-12-*-*-*-*-*-iso8859-1"

# bg_pixmap[NORMAL] = "bg.xpm"
# base, text, bg, fg are possible
bg[NORMAL] = { 0.80, 0.80, 0.80 }
bg[SELECTED] = "#49ae49"
bg[INSENSITIVE] = { 0.80, 0.80, 0.80 }
bg[ACTIVE] = { 0.75, 0.75, 0.75 }
bg[PRELIGHT] = { 0.80, 0.80, 0.80 }

fg[NORMAL] = { 0.0, 0.0, 0.0 }
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
fg[PRELIGHT] = "#ffffff"

base[NORMAL] = { 1.0, 1.0, 1.0 }
base[ACTIVE] = { 1.0, 1.0, 1.0 }

}
widget_class "*" style "default"


style "button"
{
  engine "pixmap" 
    {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
        detail		= "buttondefault"
	shadow          = IN
	file            = "default.png"
	border          = { 8,7,8,7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = OUT
	file            = "button1.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	shadow          = IN
	file            = "button2.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	shadow          = OUT
	file            = "button2.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = IN
	file            = "button2.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = IN
	file            = "button4.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = OUT
	file            = "button3.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = SELECTED
	shadow          = IN
	file            = "button2.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = ACTIVE
	shadow          = IN
	file            = "button2.png"
	border          = { 4,4,4,4 }
	stretch         = TRUE
      }
   }
}

class "GtkButton" style "button"

style "obutton"
{
  engine "pixmap" 
    {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = OUT
	file            = "obutton1.png"
	border          = { 7,30,7,7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	shadow          = OUT
	file            = "obutton1.png"
	border          = { 7,30,7,7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = OUT
	file            = "obutton2.png"
	border          = { 7,30,7,7 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = SELECTED
	shadow          = IN
	file            = "obutton1.png"
	border          = { 7,30,7,7 }
	stretch         = TRUE
      }
    image
      {
   	function	= TAB
	state		= INSENSITIVE
	recolorable	= TRUE
	overlay_file	= "option2.png"
	overlay_stretch = FALSE
      }
    image
      {
   	function	= TAB
	recolorable	= TRUE
	overlay_file	= "option1.png"
	overlay_stretch = FALSE
      }
   }
}

class "GtkOptionMenu" style "obutton"





style "menuitem"
{
  engine "pixmap" {
    image
      {
	function        = ARROW
	recolorable 	= TRUE
	state		= NORMAL
	file		= "arrow_left1.png"
	stretch         = FALSE
	arrow_direction	= LEFT
      }
    image
      {
	function        = ARROW
	recolorable 	= TRUE
	state		= PRELIGHT
	file		= "arrow_left2.png"
	stretch         = FALSE
	arrow_direction	= LEFT
      }
    image
      {
	function        = ARROW
	recolorable 	= TRUE
	state		= NORMAL
	file		= "arrow_right1.png"
	stretch         = FALSE
	arrow_direction	= RIGHT
      }
    image
      {
	function        = ARROW
	recolorable 	= TRUE
	state		= PRELIGHT
	file		= "arrow_right2.png"
	stretch         = FALSE
	arrow_direction	= RIGHT
      }
    image
      {
	function        = ARROW
	recolorable 	= TRUE
	shadow		= IN
	file		= "arrow_right2.png"
	stretch         = FALSE
	arrow_direction	= RIGHT
      }
    image
      {
	function	= BOX
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "button2.png"
	border		= { 4,4,4,4 }
	stretch		= TRUE
      }
    image
      {
	function	= BOX
	recolorable	= TRUE
	state		= INSENSITIVE
	file		= "button1.png"
	border		= { 4,4,4,4 }
	stretch		= TRUE
      }
    image 
      {
        function        = HLINE
	recolorable     = TRUE
	file            = "hline.png"
	border          = { 0, 0, 1, 1 }
	stretch         = TRUE
      }
     image
      {
	function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "moption2.png"
	overlay_stretch = FALSE
      }
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "mcheck2.png"
	overlay_stretch = FALSE
      }
     image
      {
	function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "moption.png"
	overlay_stretch = FALSE
      }
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "mcheck.png"
	overlay_stretch = FALSE
      }
  }
}
class "GtkMenuItem" style "menuitem"





style "checkradiobutton"
{
  engine "pixmap" {
# Check marks
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "check1.png"
	overlay_stretch = FALSE
      }
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "check2.png"
	overlay_stretch = FALSE
      }
# Option marks
    image
      {
	function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "radio1.png"
	overlay_stretch = FALSE
      }
    image
      {
	function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "radio2.png"
	overlay_stretch = FALSE
      }
    image
      {
	function	= FLAT_BOX
	recolorable	= TRUE
	file		= "blank.png"
	border		= {  2, 2, 2, 2 }
	stretch		= TRUE
      }
  }
}
class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"


style "notebook"
{
  engine "pixmap" 
    {
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	state           = ACTIVE
	file            = "exttop2.png"
	border          = { 7,7,7,1 }
	stretch         = TRUE
	gap_side        = BOTTOM
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "exttop1.png"
	border          = { 7,7,7,1 }
	stretch         = TRUE
	gap_side        = BOTTOM
      }
    image 

      {
        function        = EXTENSION
	recolorable     = TRUE
	state           = ACTIVE
	file            = "extbottom2.png"
	border          = { 7,7,1,7 }
	stretch         = TRUE
	gap_side        = TOP
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "extbottom1.png"
	border          = { 7,7,1,7 }
	stretch         = TRUE
	gap_side        = TOP
      }

    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	state           = ACTIVE
	file            = "extright2.png"
	border          = { 1,7,7,7 }
	stretch         = TRUE
	gap_side        = LEFT
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "extright1.png"
	border          = { 1,7,7,7 }
	stretch         = TRUE
	gap_side        = LEFT
      }

    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	state           = ACTIVE
	file            = "extleft2.png"
	border          = { 7,1,7,7 }
	stretch         = TRUE
	gap_side        = RIGHT
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "extleft1.png"
	border          = { 7,1,7,7 }
	stretch         = TRUE
	gap_side        = RIGHT
      }



#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    image 
      {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "flat.png"
	border		= { 2,2,2,2 }
	stretch         = TRUE
	gap_file        = "red.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "red.png"
	gap_start_border= { 0, 0, 0, 0 }
	gap_end_file    = "red.png"
	gap_end_border  = { 0, 0, 0, 0 }
      }
#
# How to draw the box of a notebook when it isnt attached to a tab
#
    image 
      {
        function        = BOX
	recolorable     = TRUE
	file            = "up.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_side        = TOP
      }
  }
}

class "GtkNotebook" style "notebook"


style "progressbar"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "bar"
	file            = "scroll2.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image
      {
        function        = BOX
        recolorable     = TRUE
        detail          = "trough"
        file            = "trough.png"
        border          = { 5,5,5,5 }
        stretch         = TRUE
        orientation     = HORIZONTAL
      }
  }
}
class "GtkProgressBar" style "progressbar"


style "slider"
{
  engine "pixmap" {
    image
      {
	function	= BOX
	recolorable	= FALSE
	detail		= "trough"
	file		= "trough.png"
	border		= { 5,5,5,5 }
	stretch		= TRUE
      }
    image 
      {
	function	= SLIDER
	recolorable	= FALSE
	state		= NORMAL
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
      }
    image 
      {
	function	= SLIDER
	recolorable	= FALSE
	state		= PRELIGHT
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
      }
  }
}
class "*Scale*" style "slider"


style "scroll"
{
  engine "pixmap" {
    image
      {
	function	= BOX
	recolorable	= FALSE
	detail		= "trough"
	file		= "trough.png"
	border		= { 5,5,5,5 }
	stretch		= TRUE
      }
    image 
      {
	function	= BOX
	recolorable	= TRUE
	state		= NORMAL
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
      }
    image 
      {
	function	= BOX
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	file		= "scroll1.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_up1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	file		= "scroll1.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_down1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	file		= "scroll1.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_left1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= LEFT
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	file		= "scroll1.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_right1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_up2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_down2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_left2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= LEFT
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_right2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_up2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_down2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_left2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= LEFT
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	file		= "scroll2.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
	overlay_file	= "arrow_right2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
  }
}
class "*Scroll*" style "scroll"



style "arrows"
{ 
 engine "pixmap" {
# Arrows
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "arrow_up1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "arrow_down1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "arrow_left1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= LEFT
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "arrow_right1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "arrow_up2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "arrow_down2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "arrow_left2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= LEFT
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "arrow_right2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "arrow_up2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "arrow_down2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "arrow_left2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= LEFT
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "arrow_right2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
  }
}
class "GtkArrow" style "arrows"





style "spin"
{ 
 engine "pixmap" {
     image
      {
     	function	= FLAT_BOX
	recolorable	= TRUE
	detail		= "entry_bg"
	file		= "entry1.png"
	border          = { 1,1,1,1 }
	stretch		= TRUE
      }
    image 
      {
        function        = SHADOW
	recolorable     = TRUE
	shadow          = IN
	file            = "in.png"
	border          = { 2,2,2,2 }
	stretch         = TRUE
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "plus1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "minus1.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "plus2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "minus2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "plus2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "minus2.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
  }
}
class "GtkSpinButton" style "spin"
