include "iconrc"

style "default"
{
  bg[NORMAL]      = "#E3E3EE"
  bg[PRELIGHT]    = "#e6e6e6"
  bg[ACTIVE]      = "#E3E3EE"
  bg[SELECTED]    = "#549de5"
  bg[INSENSITIVE] = "#E3E3EE"

  base[SELECTED]  = "#594fbf"
  base[ACTIVE]    = "#888888"
  base[INSENSITIVE] = "#f0f0f0"

  text[SELECTED]  = "#ffffff"
  text[ACTIVE]    = "#ffffff"

  fg[NORMAL]      = "#000000"
  fg[ACTIVE]      = "#000000"
  fg[PRELIGHT]    = "#594fbf"
  fg[SELECTED]    = "#ffffff"
  fg[INSENSITIVE] = "#777777"

  GtkMenuBar::internal-padding = 0 
  GtkToolbar::internal-padding = 0 

  PanelMenu::stripe-enabled = TRUE
  PanelMenu::stripe-gradient-top = "#ced5e8"
  PanelMenu::stripe-gradient-bottom = "#1e5d70"

  engine "blueprint"
    {
      icon_colorize = TRUE 
      icon_colorize_ancestor_type = { "BonoboUIToolbar", "GtkToolbar" }
      colorize_color = { 89, 79, 191, 160}

# begin combo box specs
     image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/comboBoxButton.png"
	  stretch	  = TRUE
	  parent_type	  = { "GtkCombo", "GnomeEntry" }
	  state		  = NORMAL
	}
     image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/comboBoxButtonInsensitive.png"
	  stretch	  = TRUE
	  parent_type	  = { "GtkCombo", "GnomeEntry" }
	  state		  = INSENSITIVE
#          recolorable	  = TRUE
#	  colorize_color  = { 120, 130, 141, 127 } 
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/comboBoxButtonPrelight.png"
	  stretch	  = TRUE
	  parent_type	  = { "GtkCombo", "GnomeEntry" }
	  state		  = PRELIGHT
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/comboBoxButtonActive.png"
	  stretch	  = TRUE
	  parent_type	  = { "GtkCombo", "GnomeEntry" }
	  state		  = ACTIVE
	}
      image
	{
	  function	  = ARROW
	  overlay_file    = "../../Blueprint/gtk-2.0/noArrow.png"
	  parent_type	  = { "GtkCombo", "GnomeEntry" }
	}
	
# end combo box specs
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/noArrow.png"
	  stretch	  = TRUE
	  detail	  = "button"
	  parent_type	  = { "GtkToolbar", "BonoboUIToolbarButtonItem" }
	}

      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButton.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  state		  = NORMAL
	  detail	  = "button"
#	  recolorable	  = TRUE
#          colorize_color  = { 46, 114, 117, 127}
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButtonInsensitive.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  state		  = INSENSITIVE
	  detail	  = "button"
#	  recolorable	  = TRUE
#          colorize_color  = { 0, 0, 0, 64}
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButton.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/generalButtonPrelight.png"
	  overlay_border  = {3, 3, 3, 3}
	  overlay_stretch = TRUE
#	  overlay_recolorable = TRUE
#	  overlay_colorize_color	= { 255, 0, 0, 255}
	  state		  = PRELIGHT
	  detail	  = "button"
	  shadow	  = OUT
	}
     image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButtonDwn.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  state		  = PRELIGHT
	  shadow	  = IN
	  detail	  = "button"
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButton.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  state		  = PRELIGHT
	  detail	  = "button"
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButtonDwn.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  state		  = ACTIVE 
	  detail	  = "button"
	  recolorable	  = TRUE
          colorize_color  = "black"
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButton.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  state		  = NORMAL
	  detail	  = "buttondefault"
#	  recolorable	  = TRUE
#          colorize_color  = { 46, 114, 117, 127}
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/menuBorderButton.png"
	  border	  = {3, 2, 5, 5}
	  stretch	  = TRUE
	  detail	  = "menubar"
	  recolorable	  = TRUE
	  colorize_color  = { 227, 227, 238, 127}
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/horzScrollInd.png"
	  border	  = {2, 2, 2, 2}
	  stretch	  = TRUE
	  detail	  = "bar"
	  orientation	  = HORIZONTAL
	}
      image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/vertScrollInd.png"
	  border	  = {2, 2, 2, 2}
	  stretch	  = TRUE
	  detail	  = "bar"
	  orientation	  = VERTICAL
	}
      image
	{
	  function	  = SHADOW 
	  file		  = "../../Blueprint/gtk-2.0/toolbar.png"
	  border	  = {1, 1, 1, 1}
	  stretch	  = TRUE
	  detail	  = "toolbar"
	  recolorable	  = TRUE
	  colorize_color  = { 227, 227, 238, 127}
	}
      image
	{
	  function	  = SHADOW 
	  file		  = "../../Blueprint/gtk-2.0/toolbar.png"
	  border	  = {1, 1, 1, 1}
	  stretch	  = TRUE
	  detail	  = "dockitem_bin"
	  recolorable	  = TRUE
	  colorize_color  = { 227, 227, 238, 127}
	}
    }
}

class "GtkWidget" style "default"

style "checkradiobutton" {
  engine "blueprint" {
#radio Button  
    image 
      {
        function        = OPTION
	overlay_file	= "../../Blueprint/gtk-2.0/radioPrelight.png"
	shadow          = OUT
	overlay_stretch = FALSE
	state		= PRELIGHT
      }
    image 
      {
        function        = OPTION
	overlay_file	= "../../Blueprint/gtk-2.0/radioActivePrelight.png"
	shadow          = IN
	overlay_stretch = FALSE
	state		= PRELIGHT
      }
# insensitive
    image 
      {
        function        = OPTION
	file		= "../../Blueprint/gtk-2.0/radio.png"
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
	state		= INSENSITIVE
      }
# inconsistent
    image 
      {
        function        = OPTION
	shadow          = ETCHED_IN
	file		= "../../Blueprint/gtk-2.0/radio.png"
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }

    image 
      {
        function        = OPTION
	shadow          = OUT
	overlay_file    = "../../Blueprint/gtk-2.0/radio.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }

     image 
      {
        function        = OPTION
	shadow          = IN
	overlay_file    = "../../Blueprint/gtk-2.0/radioActive.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }
#Check Button
    image 
      {
        function        = CHECK
	overlay_file	= "../../Blueprint/gtk-2.0/checkPrelight.png"
	shadow          = OUT
	overlay_stretch = FALSE
	state		= PRELIGHT
      }
    image 
      {
        function        = CHECK
	overlay_file	= "../../Blueprint/gtk-2.0/checkActivePrelight.png"
	shadow          = IN
	overlay_stretch = FALSE
	state		= PRELIGHT
      }
# insensitive
    image 
      {
        function        = CHECK
	shadow          = IN
	file		= "../../Blueprint/gtk-2.0/checkActive.png"
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
	state		= INSENSITIVE
      }
    image 
      {
        function        = CHECK
	file		= "../../Blueprint/gtk-2.0/check.png"
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
	state		= INSENSITIVE
      }
# inconsistent
    image 
      {
        function        = CHECK
	shadow          = ETCHED_IN
	file		= "../../Blueprint/gtk-2.0/check.png"
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }
    image 
      {
        function        = CHECK
	shadow          = OUT
	overlay_file    = "../../Blueprint/gtk-2.0/check.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }
    image 
      {
        function        = CHECK
	shadow          = IN
	overlay_file    = "../../Blueprint/gtk-2.0/checkActive.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }
      
  }
}


class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"
class "GtkTreeView" style "checkradiobutton"
class "GtkCheckMenuItem" style "checkradiobutton"
class "GtkRadioMenuItem" style "checkradiobutton"

style "blueprint-scrollbar" 
{
  GtkRange::slider_width = 13
  GtkRange::stepper_size = 13
  GtkScrollbar::min_slider_length = 45

  engine "blueprint" 
    {
    image
      {
	function	= BOX
	file		= "../../Blueprint/gtk-2.0/vertScrollBkg.png"
	border          = { 1, 1, 1, 1 }
	stretch		= TRUE
	orientation	= VERTICAL
      }
     image
      {
	function	= BOX
	file		= "../../Blueprint/gtk-2.0/horzScrollBkg.png"
	border          = { 1, 1, 1, 1 }
	stretch		= TRUE
	orientation	= HORIZONTAL
      }
    image 
      {
        function        = SLIDER
	file            = "../../Blueprint/gtk-2.0/vertScrollInd.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	orientation	= VERTICAL
	overlay_file	= "../../Blueprint/gtk-2.0/vertScrollGrip.png"
	overlay_stretch	= FALSE
	state		= NORMAL
      }
    image 
      {
        function        = SLIDER
	file            = "../../Blueprint/gtk-2.0/horzScrollInd.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	overlay_file	= "../../Blueprint/gtk-2.0/horzScrollGrip.png"
	overlay_stretch	= FALSE
	state		= NORMAL
      }
    image 
      {
        function        = SLIDER
	file            = "../../Blueprint/gtk-2.0/vertScrollInd.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	orientation	= VERTICAL
	overlay_file	= "../../Blueprint/gtk-2.0/vertScrollGrip.png"
	overlay_stretch	= FALSE
	state		= PRELIGHT
	recolorable	= TRUE
	colorize_color  = { 89, 79, 191, 255}
      }
    image 
      {
        function        = SLIDER
	file            = "../../Blueprint/gtk-2.0/horzScrollInd.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	overlay_file	= "../../Blueprint/gtk-2.0/horzScrollGrip.png"
	overlay_stretch	= FALSE
	state		= PRELIGHT
	recolorable	= TRUE
	colorize_color  = { 89, 79, 191, 255}
      }
    image 
      {
        function        = SLIDER
	file            = "../../Blueprint/gtk-2.0/vertScrollInd.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	orientation	= VERTICAL
	overlay_file	= "../../Blueprint/gtk-2.0/vertScrollGrip.png"
	overlay_stretch	= FALSE
	state		= INSENSITIVE
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }
    image 
      {
        function        = SLIDER
	file            = "../../Blueprint/gtk-2.0/horzScrollInd.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	overlay_file	= "../../Blueprint/gtk-2.0/horzScrollGrip.png"
	overlay_stretch	= FALSE
	state		= INSENSITIVE
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }

    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepUp.png"
	stretch		= TRUE
	arrow_direction = UP
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepUpButton.png"
	state		= NORMAL
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepUp.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepUpButton.png"
	arrow_direction = UP
	state		= PRELIGHT
	recolorable	= TRUE
	colorize_color  = { 89, 79, 191, 255}
      }      
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepUp.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepUpButton.png"
	arrow_direction = UP
	state		= INSENSITIVE
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }    
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepUpPress.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepUpButtonPress.png"
	arrow_direction = UP
	state		= ACTIVE
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepDwn.png"
	stretch		= TRUE
	arrow_direction = DOWN
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepDwnButton.png"
	state	        = NORMAL
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepDwn.png"
	stretch		= TRUE
	arrow_direction = DOWN
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepDwnButton.png"
	state		= PRELIGHT
	recolorable	= TRUE
	colorize_color  = { 89, 79, 191, 255}
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepDwn.png"
	stretch		= TRUE
	arrow_direction = DOWN
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepDwnButton.png"
	state		= INSENSITIVE
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }    
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/vertStepDwnPress.png"
	stretch		= TRUE
	arrow_direction = DOWN
	overlay_file	= "../../Blueprint/gtk-2.0/vertStepDwnButtonPress.png"
	state		= ACTIVE
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepLft.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepLftButton.png"
	arrow_direction = LEFT
	state		= NORMAL
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepLft.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepLftButton.png"
	arrow_direction = LEFT
	state		= PRELIGHT
	recolorable	= TRUE
	colorize_color  = { 89, 79, 191, 255}
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepLft.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepLftButton.png"
	arrow_direction = LEFT
	state		= INSENSITIVE
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepLftPress.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepLftButtonPress.png"
	arrow_direction = LEFT
	state		= ACTIVE
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepRht.png"
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepRhtButton.png"
	stretch		= TRUE
	arrow_direction = RIGHT
	state		= NORMAL
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepRht.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepRhtButton.png"
	arrow_direction = LEFT
	arrow_direction = RIGHT
	state		= PRELIGHT
	recolorable	= TRUE
	colorize_color  = { 89, 79, 191, 255}
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepRht.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepRhtButton.png"
	arrow_direction = LEFT
	arrow_direction = RIGHT
	state		= INSENSITIVE
	recolorable	= TRUE
	colorize_color  = { 0, 0, 0, 127}
      }
    image 
      {
        function        = STEPPER
	file		= "../../Blueprint/gtk-2.0/horzStepRhtPress.png"
	stretch		= TRUE
	overlay_file	= "../../Blueprint/gtk-2.0/horzStepRhtButtonPress.png"
	arrow_direction = RIGHT
	state		= ACTIVE
      }
    }
}

class "GtkScrollbar" style "blueprint-scrollbar"

style "blueprint-range" 
{
  GtkRange::slider_width = 10
  GtkRange::stepper_size = 14

  engine "blueprint" 
    {
    image
      {
	function	= BOX
	file		= "../../Blueprint/gtk-2.0/vertRangeTrough.png"
	border          = { 5, 5, 9, 9}
	stretch		= TRUE
	orientation	= VERTICAL
      }
    image 
      {
        function        = SLIDER
	overlay_file	= "../../Blueprint/gtk-2.0/vertRangeKnobPrelight.png"
	overlay_stretch	= FALSE
	state		= PRELIGHT
	orientation	= VERTICAL
      }
    image 
      {
        function        = SLIDER
	overlay_file	= "../../Blueprint/gtk-2.0/vertRangeKnob.png"
	overlay_stretch	= FALSE
	orientation	= VERTICAL
      }
    image
      {
	function	= BOX
	file		= "../../Blueprint/gtk-2.0/horzRangeTrough.png"
	border          = { 9, 9, 5, 5}
	stretch		= TRUE
	orientation	= HORIZONTAL
      }
    image 
      {
        function        = SLIDER
	overlay_file	= "../../Blueprint/gtk-2.0/horzRangeKnobPrelight.png"
	overlay_stretch	= FALSE
	state		= PRELIGHT
	orientation	= HORIZONTAL
      }
    image 
      {
        function        = SLIDER
	overlay_file	= "../../Blueprint/gtk-2.0/horzRangeKnob.png"
	overlay_stretch	= FALSE
	orientation	= HORIZONTAL
      }
    }
}

class "GtkRange" style "blueprint-range"

style "blueprint-entry" = "default"
{
  engine "blueprint"
  {
      image
	{
	  function	  = SHADOW
	  file		  = "../../Blueprint/gtk-2.0/comboBoxShadowMask.png"
	  border	  = {10, 1, 2, 2}
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/comboBoxShadow.png"
	  overlay_border  = {10, 1, 2, 2}
	  overlay_stretch = TRUE
	  use_as_bkg_mask = TRUE
	  colorize_color  = {227, 227, 238, 255}
	  parent_type	  = { "GtkCombo", "GnomeEntry"}
	}
      image
	{
	  function	  = FLAT_BOX
	  detail	  = "entry_bg"
	  file		  = "../../Blueprint/gtk-2.0/comboBoxTextFieldMask.png"
	  border	  = {9, 0, 0, 0}
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/comboBoxTextField.png"
	  overlay_border  = {9, 0, 0, 0}
	  overlay_stretch = TRUE
	  use_as_bkg_mask = TRUE
	  colorize_color  = {227, 227, 238, 255}
	  parent_type	  = { "GtkCombo", "GnomeEntry"}
	}
      image
	{
	  function	  = SHADOW
	  detail	  = "entry"
	  file		  = "../../Blueprint/gtk-2.0/textfieldShadowMask.png"
	  border	  = {11, 11, 3, 3}
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/textfieldShadow.png"
	  overlay_border  = {11, 11, 3, 3}
	  overlay_stretch = TRUE
	  use_as_bkg_mask = TRUE
	  colorize_color  = {227, 227, 238, 255}
	}
      image
	{
	  function	  = FLAT_BOX
	  detail	  = "entry_bg"
	  file		  = "../../Blueprint/gtk-2.0/textfieldinnerfieldMask.png"
	  border	  = {9, 9, 1, 1}
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/textfieldinnerfield.png"
	  overlay_border  = {9, 9, 1, 1}
	  overlay_stretch = TRUE
	  use_as_bkg_mask = TRUE
	  colorize_color  = {227, 227, 238, 255}
	}
  }
}

class "GtkEntry" style "blueprint-entry"

style "blueprint-menu" = "default"
{

  bg[PRELIGHT]    = "#594fbf"
  fg[PRELIGHT]    = "#ffffff"

  engine "blueprint" 
  {     
#       image
#	{
#	  function	  = BACKGROUND
#	  file		  = "../../Blueprint/gtk-2.0/menu.png"
#	  border	  = {2, 2, 2, 2}
#	  stretch	  = TRUE
#	}
       image
	{
	  function	  = SHADOW
	  file		  = "../../Blueprint/gtk-2.0/menu.png"
	  border	  = {2, 2, 2, 2}
	  stretch	  = TRUE
	  recolorable	  = TRUE
	  colorize_color  = { 227, 227, 238, 127}
	}
       image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButton.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  detail	  = "optionmenu"
	}
	image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/menuitembar.png"
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/menuitem.png"
	  overlay_border  = { 9, 0, 8, 8 }
	  overlay_stretch = TRUE
	  parent_type	  = { "GtkMenuBar" }
	}
	image
	{
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/menuitem.png"
	  border	  = { 9, 0, 8, 8 }
	  stretch	  = TRUE
	  parent_type	  = { "GtkMenu", "PanelMenu" }
	}
	image
	{
	  function	  = HLINE
	  file		  = "../../Blueprint/gtk-2.0/menuSeparator.png"
	  border	  = { 1, 1, 3, 0 }
	  stretch	  = TRUE
	  recolorable	  = TRUE
	  colorize_color  = { 227, 227, 238, 127}
	}
	image 
	{
	  function	  = ARROW
	  overlay_file	  = "../../Blueprint/gtk-2.0/vertStepUpButton.png"
	  overlay_stretch = FALSE
	  arrow_direction = UP
	}
	image 
	{
	  function	  = ARROW
	  overlay_file	  = "../../Blueprint/gtk-2.0/vertStepDwnButton.png"
	  overlay_stretch = FALSE
	  arrow_direction = DOWN
	}
	image 
	{
	  function	  = ARROW
	  overlay_file	  = "../../Blueprint/gtk-2.0/horzStepLftButton.png"
	  overlay_stretch = FALSE
	  arrow_direction = LEFT
	}
	image 
	{
	  function	  = ARROW
	  overlay_file	  = "../../Blueprint/gtk-2.0/horzStepRhtButton.png"
	  overlay_stretch = FALSE
	  arrow_direction = RIGHT
	}
  }
}

class "GtkMenu" style "blueprint-menu"
class "GtkOptionMenu" style "blueprint-menu"
class "GtkMenuItem" style "blueprint-menu"

style "blueprint-toolbar" 
{
  engine "blueprint" 
  {
      image
	{
	  function	  = BOX 
	  file		  = "../../Blueprint/gtk-2.0/toolbar.png"
	  border	  = {1, 1, 1, 1}
	  stretch	  = TRUE
	  detail	  = "toolbar"
	}
  }
}

#class "GtkToolbar" style "blueprint-toolbar"
widget_class "BonoboUIToolbar" style "blueprint-toolbar"


style "blueprint-spin" = "default"
{
  engine "blueprint"
  {
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	detail		    = "spinbutton_up"
	state		    = NORMAL
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_up.png"
	overlay_stretch	    = TRUE
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_upInsensitive.png"
	overlay_stretch	    = TRUE
	detail		    = "spinbutton_up"
	state		    = INSENSITIVE
#        overlay_recolorable = TRUE
#        overlay_colorize_color	= { 120, 130, 141, 127}
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_upPrelight.png"
	overlay_stretch	    = TRUE
	detail		    = "spinbutton_up"
	state		    = PRELIGHT
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_upActive.png"
	overlay_stretch	    = TRUE
	detail		    = "spinbutton_up"
	state		    = ACTIVE
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_down.png"
	overlay_stretch	    = TRUE
	detail		    = "spinbutton_down"
	state		    = NORMAL
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_downInsensitive.png"
	overlay_stretch	    = TRUE
	detail		    = "spinbutton_down"
	state		    = INSENSITIVE
#        overlay_recolorable = TRUE
#        overlay_colorize_color = { 120, 130, 141, 127}
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_downPrelight.png"
	overlay_stretch	    = TRUE
	detail		    = "spinbutton_down"
	state		    = PRELIGHT
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = BOX
	file		    = "../../Blueprint/gtk-2.0/fullMask.png"
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/spin_downActive.png"
	overlay_stretch	    = TRUE
	detail		    = "spinbutton_down"
	state		    = ACTIVE
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
    image
      {
	function	    = ARROW
	overlay_file	    = "../../Blueprint/gtk-2.0/noArrow.png"
      }
    image
      {
	function	    = BOX
	overlay_file	    = "../../Blueprint/gtk-2.0/noArrow.png"
	detail		    = "spinbutton"
      }
    image
      {
	function	    = FLAT_BOX
	detail		    = "entry_bg"
	file		    = "../../Blueprint/gtk-2.0/comboBoxTextFieldMask.png"
	border		    = {9, 0, 0, 0}
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/comboBoxTextField.png"
	overlay_border	    = {9, 0, 0, 0}
	overlay_stretch	    = TRUE
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
	
    image
      {
	function	    = SHADOW
	detail		    = "entry"
	file		    = "../../Blueprint/gtk-2.0/comboBoxShadowMask.png"
	border		    = {10, 1, 2, 2}
	stretch		    = TRUE
	overlay_file	    = "../../Blueprint/gtk-2.0/comboBoxShadow.png"
	overlay_border	    = {10, 1, 2, 2}
	overlay_stretch	    = TRUE
	use_as_bkg_mask	    = TRUE
	colorize_color	    = {227, 227, 238, 255}
      }
  }
}
  
class "GtkSpinButton" style "blueprint-spin"
  

style "blueprint-handle-pane"
{
  GtkPaned::handle-size = 8
  engine "blueprint"
  {
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/vertPaneBkg.png"
#	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/vertPaneGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = VERTICAL
	  state		  = NORMAL
	  detail	  = "paned"
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/horzPaneBkg.png"
#	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/horzPaneGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = HORIZONTAL
	  state		  = NORMAL
	  detail	  = "paned"
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/vertPaneBkg.png"
#	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/vertPaneGripPrelight.png"
	  overlay_stretch = FALSE
	  orientation	  = VERTICAL
	  state		  = PRELIGHT
	  detail	  = "paned"
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/horzPaneBkg.png"
#	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/horzPaneGripPrelight.png"
	  overlay_stretch = FALSE
	  orientation	  = HORIZONTAL
	  state		  = PRELIGHT
	  detail	  = "paned"
	}
# dockitem and GtkHandle in the Panel are swapping their orientations
# wrt to plain GtkHandle.
       image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/vertHandle.png"
	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/vertHandleGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = HORIZONTAL
	  detail	  = "dockitem"
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/horzHandle.png"
	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/horzHandleGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = VERTICAL
	  detail	  = "dockitem"
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/vertHandle.png"
	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/vertHandleGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = HORIZONTAL
	  parent_type	  = { "PanelWidget" }
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/horzHandle.png"
	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/horzHandleGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = VERTICAL
	  detail	  = "handlebox"
	  parent_type	  = { "PanelWidget" }
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/vertHandle.png"
	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/vertHandleGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = VERTICAL
	  detail	  = "handlebox"
	}
      image 
	{
	  function        = HANDLE
	  file		  = "../../Blueprint/gtk-2.0/horzHandle.png"
	  border          = { 2, 1, 2, 1 }
	  stretch	  = TRUE
	  overlay_file	  = "../../Blueprint/gtk-2.0/horzHandleGrip.png"
	  overlay_stretch = FALSE
	  orientation	  = HORIZONTAL
	  detail	  = "handlebox"
	}
  }
}

class "GtkHandleBox" style "blueprint-handle-pane" 
class "GtkPaned" style "blueprint-handle-pane" 
widget_class "*.BonoboDockItemGrip" style "blueprint-handle-pane"
widget_class "*.PanelAppletFrame" style "blueprint-handle-pane"

style "blueprint-notebook" = "default"
{
  engine "blueprint" 
    {
    image 
      {
        function        = EXTENSION
	state           = ACTIVE
	file            = "../../Blueprint/gtk-2.0/tabTop.png"
	border          = { 7, 7, 15, 3 }
	stretch         = TRUE
	gap_side        = BOTTOM
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = EXTENSION
	file            = "../../Blueprint/gtk-2.0/tabTopActive.png"
	border          = { 7, 7, 14, 3 }
	stretch         = TRUE
	gap_side        = BOTTOM
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = EXTENSION
	state           = ACTIVE
	file            = "../../Blueprint/gtk-2.0/tabBottom.png"
	border          = { 7, 7, 3, 15 }
	stretch         = TRUE
	gap_side        = TOP
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = EXTENSION
	file            = "../../Blueprint/gtk-2.0/tabBottomActive.png"
	border          = { 7, 7, 3, 14 }
	stretch         = TRUE
	gap_side        = TOP
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = EXTENSION
	state           = ACTIVE
	file            = "../../Blueprint/gtk-2.0/tabLeft.png"
	border          = { 15, 3, 7, 7 }
	stretch         = TRUE
	gap_side        = RIGHT
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = EXTENSION
	file            = "../../Blueprint/gtk-2.0/tabLeftActive.png"
	border          = { 14, 3, 7, 7 }
	stretch         = TRUE
	gap_side        = RIGHT
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = EXTENSION
	state           = ACTIVE
	file            = "../../Blueprint/gtk-2.0/tabRight.png"
	border          = { 3, 15, 7, 7 }
	stretch         = TRUE
	gap_side        = LEFT
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = EXTENSION
	file            = "../../Blueprint/gtk-2.0/tabRightActive.png"
	border          = { 3, 14, 7, 7 }
	stretch         = TRUE
	gap_side        = LEFT
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    image 
      {
        function        = BOX_GAP
	file            = "../../Blueprint/gtk-2.0/extensionTop.png"
	border          = { 2, 3, 6, 1 }
	stretch         = TRUE
	gap_side        = TOP
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = BOX_GAP
	file            = "../../Blueprint/gtk-2.0/extensionBottom.png"
	border          = { 2, 3, 1, 6 }
	stretch         = TRUE
	gap_side        = BOTTOM
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = BOX_GAP
	file            = "../../Blueprint/gtk-2.0/extensionLeft.png"
	border          = { 6, 1, 3, 2 }
	stretch         = TRUE
	gap_side        = LEFT
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
    image 
      {
        function        = BOX_GAP
	file            = "../../Blueprint/gtk-2.0/extensionRight.png"
	border          = { 1, 6, 2, 3 }
	stretch         = TRUE
	gap_side        = RIGHT
	recolorable	= TRUE
	colorize_color  = { 227, 227, 238, 127}
      }
  }
}

class "GtkNotebook" style "blueprint-notebook"

style "lighter" = "default"
{
  bg[NORMAL] = "#c5c6cc"
}
style "tips" 
{
  bg[NORMAL] = "#ffffcc"
}

style "task"
{
  engine "blueprint"
  {
    image
      {
	  function	  = BOX
	  file		  = "../../Blueprint/gtk-2.0/generalButton.png"
	  border	  = {3, 3, 3, 3}
	  stretch	  = TRUE
	  detail	  = "button"
	  recolorable	  = TRUE
          colorize_color  = { 0, 0, 0, 64}
      }
  }
}

class "WnckPager" style "lighter"
#widget_class "*.WnckTasklist.*" style "task"
widget_class "*.tooltips.*.GtkToggleButton"  style "lighter"
widget "gtk-tooltips" style "tips"

style "my-test"
{
  engine "blueprint"
  {
    image 
      {
        function        = FLAT_BOX
	file            = "../../Blueprint/gtk-2.0/generalButton.png"
	border		= {3, 3, 3, 3}
	stretch         = TRUE
      }
  }
}

#widget_class "*.BonoboPlug" style "my-test"

