

style "eventbox" {
  bg_pixmap[NORMAL] = "<parent>"
  bg_pixmap[INSENSITIVE] = "<parent>"
  bg_pixmap[PRELIGHT] = "<parent>"
  bg_pixmap[SELECTED] = "<parent>"
  bg_pixmap[ACTIVE] = "<parent>"
}

class "GtkEventBox" style "eventbox"

#
# fond ecran principal.
#

style "window" 
{
  engine "pixmap" {
    image 
      {
	function        = FLAT_BOX
	recolorable     = TRUE
	file            = "background.png"
	stretch         = TRUE
      }
  }
}

class "GtkWindow" style "window"

#menu background
style "menu"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		file            = "button7.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
  }
}

class "GtkMenu" style "menu"

#menu highlight
style "menuitem"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		file            = "button7.png"
		border          = { 1, 1, 1, 1 }
		stretch         = TRUE
      }
  }
}

class "GtkMenuItem" style "menuitem"

style "menubar"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		file            = "menubar.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
  }
}

class "GtkMenuBar" style "menubar"

style "optionmenu"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = PRELIGHT
		file            = "button2.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		file            = "button1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
  }
}

class "GtkOptionMenu" style "optionmenu"


style "notebook"
{
  engine "pixmap" 
    {
    image 
      {
        function        = EXTENSION
		recolorable     = TRUE
		state           = ACTIVE
		file            = "button10.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = EXTENSION
		recolorable     = TRUE
		file            = "extension_top1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_side        = BOTTOM
      }
    image 
      {
        function        = EXTENSION
		recolorable     = TRUE
		file            = "extension_bottom1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_side        = TOP
      }
    image 
      {
        function        = EXTENSION
		recolorable     = TRUE
		file            = "extension_left1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_side        = RIGHT
      }
    image 
      {
        function        = EXTENSION
		recolorable     = TRUE
		file            = "extension_right1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_side        = LEFT
      }
#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    image 
      {
        function        = BOX_GAP
		recolorable     = TRUE
		file            = "button8.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_file        = "gap_top.png"
		gap_border      = { 1, 1, 1, 1 }
		gap_start_file  = "gap_top_start.png"
		gap_start_border= { 2, 0, 0, 0 }
		gap_end_file    = "gap_top_end.png"
		gap_end_border  = { 0, 2, 0, 0 }
		gap_side        = TOP
      }
    image 
      {
        function        = BOX_GAP
		recolorable     = TRUE
		file            = "notebook.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_file        = "gap_bottom.png"
		gap_border      = { 0, 0, 0, 0 }
		gap_start_file  = "gap_bottom_start.png"
		gap_start_border= { 2, 0, 0, 0 }
		gap_end_file    = "gap_bottom_end.png"
		gap_end_border  = { 0, 2, 0, 0 }
		gap_side        = BOTTOM
      }
    image 
      {
        function        = BOX_GAP
		recolorable     = TRUE
		file            = "notebook.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_file        = "gap_left.png"
		gap_border      = { 0, 0, 0, 0 }
		gap_start_file  = "gap_left_start.png"
		gap_start_border= { 0, 0, 2, 0 }
		gap_end_file    = "gap_left_end.png"
		gap_end_border  = { 0, 0, 0, 2 }
		gap_side        = LEFT
      }
    image 
      {
        function        = BOX_GAP
		recolorable     = TRUE
		file            = "notebook.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_file        = "gap_right.png"
		gap_border      = { 0, 0, 0, 0 }
		gap_start_file  = "gap_right_start.png"
		gap_start_border= { 0, 0, 2, 0 }
		gap_end_file    = "gap_right_end.png"
		gap_end_border  = { 0, 0, 0, 2 }
		gap_side        = RIGHT
      }
#
# How to draw the box of a notebook when it isnt attached to a tab
#
    image 
      {
        function        = BOX
		recolorable     = TRUE
		file            = "notebook.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		gap_side        = TOP
      }
  }
}

class "GtkNotebook" style "notebook"


#
# les boutons toggle.
#

style "togglebutton"
{
   engine "pixmap" {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		shadow          = IN
		file            = "button1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		shadow          = OUT
		file            = "button5.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
  }
}

class "GtkToggleButton" style "togglebutton"

#
# les boutons principaux.
#

style "checkradiobutton" {
  engine "pixmap" {
    image 
      {
        function        = FLAT_BOX
		recolorable     = TRUE
		file            = "button7.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
  }
}

class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"

style "button"
{
 # bg[NORMAL] = "#909090"

  engine "pixmap" 
    {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = NORMAL
		detail          = "buttondefault"
		shadow          = IN
		#file            = "button_def.png"
		file            = "button5.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = NORMAL
		shadow          = OUT
		file            = "button1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = PRELIGHT
		shadow          = OUT
		file            = "button2.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = NORMAL
		shadow          = IN
		file            = "button7.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = INSENSITIVE
		shadow          = IN
		file            = "button6.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = INSENSITIVE
		shadow          = OUT
		file            = "button5.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = SELECTED
		shadow          = IN
		file            = "button7.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		state           = ACTIVE
		shadow          = IN
		file            = "button9.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
   }
}

class "GtkButton" style "button"



style "progressbar"
{
  engine "pixmap" 
    {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "bar"
		file            = "button7.png"
		border          = { 2, 2, 2, 2 }
		stretch         = TRUE
      }
    }
}

class "GtkProgressBar" style "progressbar"

style "ruler"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "vruler"
		file            = "ruler_vert.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "hruler"
		file            = "ruler_horiz.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
  }
}

class "GtkRuler" style "ruler"

style "curve"
{
  engine "pixmap" {
    image 
      {
        function        = FLAT_BOX
		recolorable     = TRUE
		detail          = "curve_bg"
		file            = "button7.png"
		border          = { 2, 2, 2, 2 }
		stretch         = TRUE
      }
  }
}

class "GtkCurve" style "curve"


style "default"
{
  font = "-adobe-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1"
  
  fg[NORMAL]      = { 0.00, 0.00, 0.00 }
  fg[PRELIGHT]    = { 0.22, 0.24, 0.26 }
  fg[ACTIVE]      = { 0.00, 0.00, 0.00 }
  fg[SELECTED]    = { 1.00, 1.00, 1.00 }
  fg[INSENSITIVE] = { 0.25, 0.28, 0.30 }
  
  bg[NORMAL]      = { 0.53, 0.56, 0.59 }
  bg[PRELIGHT]    = { 0.53, 0.56, 0.59 }
  bg[ACTIVE]      = { 0.53, 0.56, 0.59 }
  bg[SELECTED]    = { 0.25, 0.28, 0.30 }
  bg[INSENSITIVE] = { 0.53, 0.56, 0.59 }
  
  base[NORMAL]      = { 0.61, 0.64, 0.67 }
  base[PRELIGHT]    = { 0.44, 0.47, 0.49 }
  base[ACTIVE]      = { 0.61, 0.64, 0.67 }
  base[SELECTED]    = { 0.44, 0.47, 0.49 }
  base[INSENSITIVE] = { 0.44, 0.47, 0.49 } 
  
  engine "pixmap" 
  {
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "slider"
		file            = "scrollbar_horiz1.png"
	    border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		overlay_file    = "scrollbar_thumb.png"
		overlay_border  = { 3, 3, 3, 3 }
		overlay_stretch = FALSE
		orientation     = HORIZONTAL
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "slider"
		file            = "scrollbar_vert1.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		overlay_file    = "scrollbar_thumb.png"
		overlay_border  = { 3, 3, 3, 3 }
		overlay_stretch = FALSE
		orientation     = VERTICAL
      }
  
#
# Arrows for all occasions
#
    image 
      {
        function        = ARROW
		recolorable     = TRUE
		state           = NORMAL
		file            = "arrow_up1.png"
		stretch         = FALSE
		arrow_direction = UP
      }
    image 
      {
        function        = ARROW
		recolorable     = TRUE
		state           = PRELIGHT
		file            = "arrow_up1.png"
		stretch         = FALSE
		arrow_direction = UP
      }
    image 
      {
        function        = ARROW
		recolorable     = TRUE
        shadow          = IN
		file            = "arrow_up2.png"
		stretch         = FALSE
		arrow_direction = UP
      }

    image 
      {
        function        = ARROW
		recolorable     = TRUE
		state           = NORMAL
		file            = "arrow_down1.png"
		stretch         = FALSE
		arrow_direction = DOWN
      }
    image 
      {
        function        = ARROW
		recolorable     = TRUE
		state           = PRELIGHT
		file            = "arrow_down1.png"
		stretch         = FALSE
		arrow_direction = DOWN
      }
    image 
      {
        function        = ARROW
		recolorable     = TRUE
        shadow          = IN
		file            = "arrow_down2.png"
		stretch         = FALSE
		arrow_direction = DOWN
      }

    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_left1.png"
		stretch         = FALSE
		arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
		recolorable     = TRUE
        shadow          = IN
		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_right1.png"
		stretch         = FALSE
		arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
		recolorable     = TRUE
        shadow          = IN
		file            = "arrow_right2.png"
		stretch         = FALSE
		arrow_direction = RIGHT
      }

#
# Any trough....
#
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "trough"
		file            = "trough.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
#
# Handlebox
#
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "handlebox_bin"
		file            = "ruler_horiz.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
#
# Paned widget
#
    image 
      {
        function        = BOX
		recolorable     = TRUE
		detail          = "paned"
		file            = "panel.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
#
# Tooltips
#
    image 
      {
        function        = FLAT_BOX
		recolorable     = TRUE
		detail          = "tooltip"
		file            = "button6.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }

#      
# Selected text in entries, text widget, lists and trees      
#

    image 
      {
        function        = FLAT_BOX
		recolorable     = TRUE
		detail          = "viewportbin"
		file            = "background.png"
		stretch         = TRUE
      }
	  	  
#
# Hline and Vline widgets
#
    image 
      {
        function        = HLINE
		recolorable     = TRUE
		file            = "hline.png"
		border          = { 0, 0, 1, 1 }
		stretch         = TRUE
      }
    image 
      {
        function        = VLINE
		recolorable     = TRUE
		file            = "vline.png"
		border          = { 1, 1, 0, 0 }
		stretch         = TRUE
      } 
	  
#
# 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
      }
	  
#
# The "tab" on the OptionMenu
#
    image 
      {
        function        = TAB
		recolorable     = TRUE
		overlay_file    = "option_menu.png"
		overlay_stretch = FALSE
      }
  
#
# SLIDER
#      
    image 
      {
        function        = SLIDER
		recolorable     = TRUE
		file            = "scrollbar_horiz1.png"
		border          = { 1, 1, 1, 1 }
		stretch         = TRUE
		orientation     = HORIZONTAL
      }
    image 
      {
        function        = SLIDER
		recolorable     = TRUE
		file            = "scrollbar_vert1.png"
		border          = { 1, 1, 1, 1 }
		stretch         = TRUE
		orientation     = VERTICAL
      } 
	  
#
# The handle on Handleboxes
#
    image 
      {
        function        = HANDLE
		recolorable     = TRUE
		file            = "button7.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
		overlay_file    = "scrollbar_thumb.png"
		overlay_border  = { 2, 2, 2, 2 }
		overlay_stretch = FALSE
		orientation     = VERTICAL
      } 
	  
#
# The background for entry widgets
#
    image 
      {
		function        = FLAT_BOX
		recolorable     = TRUE
		state           = INSENSITIVE
        detail          = "entry_bg"
		file            = "entry2.png"
		stretch         = TRUE
      }
    image 
      {
		function        = FLAT_BOX
		recolorable     = TRUE
        detail          = "entry_bg"
		file            = "entry2.png"
		stretch         = TRUE
      }
	  
#
# How to draw the focus around a widget 
#
#    image 
#      {
#        function        = FOCUS
#		recolorable     = TRUE
#		overlay_file    = "focus.png"
#		overlay_border  = { 4, 4, 4, 4 }
#		overlay_stretch = TRUE
#      }
	  
#
# How to draw shadows in general
#
    image 
      {
        function        = SHADOW
		recolorable     = TRUE
		shadow          = IN
		file            = "shadow2.png"
		border          = { 2, 2, 2, 2 }
		stretch         = TRUE
      }
    image 
      {
        function        = SHADOW
		recolorable     = TRUE
		shadow          = OUT
		file            = "shadow1.png"
		border          = { 2, 2, 2, 2 }
		stretch         = TRUE
      }
    image 
      {
        function        = SHADOW
		recolorable     = TRUE
		shadow          = ETCHED_IN
		file            = "frame1.png"
		border          = { 2, 2, 2, 2 }
		stretch         = TRUE
      }
    image 
      {
        function        = SHADOW
		recolorable     = TRUE
		shadow          = ETCHED_OUT
		file            = "frame2.png"
		border          = { 2, 2, 2, 2 }
		stretch         = TRUE
      }
#
# How to draw shadows with a gap on one side
#
    image 
      {
        function        = SHADOW_GAP
		recolorable     = TRUE
		file            = "frame_gap.png"
		border          = { 2, 2, 2, 2 }
		stretch         = TRUE
		gap_start_file  = "frame_gap_top_start.png"
		gap_start_border= { 0, 0, 1, 1 }
		gap_end_file    = "frame_gap_top_end.png"
		gap_end_border  = { 0, 0, 1, 1 }
		gap_side        = TOP
      }
	
#
# Some defaults as to how to draw boxes if they haven't already been covered
#

    image 
      {
        function        = BOX
		recolorable     = TRUE
		shadow          = IN
		file            = "button5.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }
    image 
      {
        function        = BOX
		recolorable     = TRUE
		file            = "button7.png"
		border          = { 3, 3, 3, 3 }
		stretch         = TRUE
      }


	}
}
# common default
class "GtkWidget" style "default"
