pixmap_path "/usr/X11R6/share/themes/qnxtheme/gtk"

style "default" {

	   font = "-monotype-arial-medium-r-normal--14-100-100-100-p-62-koi8-ru"

      bg[NORMAL]	= "#e5e5e5"
      bg[SELECTED]	= "#587ace"
      bg[INSENSITIVE]	= "#e5e5e5"
      bg[ACTIVE]	= "#e5e5e5"
      bg[PRELIGHT]	= "#e5e5e5"

      fg[NORMAL]	= "#000000"
      fg[SELECTED]	= "#000000"
      fg[ACTIVE]	= "#000000"
      fg[PRELIGHT]	= "#000000"

      base[NORMAL]	= "#ece4dc"
      base[SELECTED] = "#587ace"
      base[ACTIVE]	= "#ece4dc"
      base[PRELIGHT]	= "#ece4dc"

      engine "flat" {}
}
class "GtkWidget" style "default"

style "button" {
      engine "pixmap" {
	     image {
		   function	= BOX
		   recolorable	= TRUE
		   state	= NORMAL
		   detail	= "buttondefault"
		   shadow	= IN
		   file		= "button.png"
		   border	= { 3,3,3,3 }
		   stretch	= TRUE
	     }
	     image {
		   function        = BOX
		   recolorable     = TRUE
		   state           = NORMAL
		   shadow          = OUT
		   file            = "button.png"
		   border          = { 3,3,3,3 }
		   stretch         = TRUE
             }
	     image {
		   function        = BOX
		   recolorable     = TRUE
		   state           = PRELIGHT
		   shadow          = IN
		   file            = "buttonpressed.png"
		   border          = { 3,3,3,3 }
		   stretch         = TRUE
	     }
	     image {
		   function        = BOX
		   recolorable     = TRUE
		   state           = PRELIGHT
		   shadow          = OUT
		   file            = "button.png"
		   border          = { 3,3,3,3 }
		   stretch         = TRUE
	     }
	     image {
		   function        = BOX
		   recolorable     = TRUE
		   state           = NORMAL
		   shadow          = IN
		   file            = "buttonpressed.png"
		   border          = { 3,3,3,3 }
		   stretch         = TRUE
             }
	     image {
		   function        = BOX
		   recolorable     = TRUE
		   state           = INSENSITIVE
		   shadow          = IN
		   file            = "buttonpressed.png"
		   border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = OUT
	file            = "button.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = SELECTED
	shadow          = IN
	file            = "buttonpressed.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = ACTIVE
	shadow          = IN
	file            = "buttonpressed.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
   }
} 
class "GtkButton" style "button"


style "obutton"
{
  engine "pixmap" 
    {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = OUT
	file            = "button.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	shadow          = OUT
	file            = "button.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = OUT
	file            = "button.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = SELECTED
	shadow          = IN
	file            = "button.png"
	border          = { 3,3,3,3 }
	stretch         = TRUE
      }
    image
      {
   	function	= TAB
	recolorable	= TRUE
	overlay_file	= "arrow_down.png"
	overlay_stretch = FALSE
      }
   }
} class "GtkOptionMenu" style "obutton"

style "menubar"
{ 
   engine "pixmap" {
     image 
       {
        function        = BOX
   recolorable     = TRUE
   file            = "menubar.png"
   border          = { 1, 1, 1, 2 }
   stretch         = TRUE
      }
   }     
}
class "GtkMenuBar" style "menubar"
class "GtkToolbar" style "menubar"
class "*Dock*" style "menubar"

style "toolbutton"
{
   engine "pixmap" {
     image
       {
        function        = BOX
   recolorable     = TRUE
   state           = PRELIGHT
   file            = "toolbutton.png"
   border          = { 4, 4, 4, 4 }
   stretch         = TRUE
      }
   image
       {
        function        = BOX
   recolorable     = TRUE
   shadow          = IN
   file            = "toolbuttonpressed.png"
   border          = { 4, 4, 4, 4 }
   stretch         = TRUE
      }
   image
       {
        function        = BOX
   recolorable     = TRUE
   state          = SELECTED
   file            = "toolbuttonpressed.png"
   border          = { 4, 4, 4, 4 }
   stretch         = TRUE
      }
   }
}
widget "*Toolbar*.*GtkButton" style "toolbutton"

style "headerbutton" {
      engine "pixmap" {
	     image {
		   function	= BOX
		   recolorable	= TRUE
		   state	= NORMAL
		   file		= "listheader.png"
		   border	= { 1,3,1,3 }
		   stretch	= TRUE
	     }
	     image {
		   function	= BOX
		   recolorable	= TRUE
		   state	= PRELIGHT
		   file		= "listheader.png"
		   border	= { 1,3,1,3 }
		   stretch	= TRUE
	     }
	     image {
		   function	= BOX
		   recolorable	= TRUE
		   shadow	= IN
		   file		= "listheaderpressed.png"
		   border	= { 2,2,2,2 }
		   stretch	= TRUE
	     }
      }
}
widget "*List*.*GtkButton" style "headerbutton"
widget "*Tree*.*GtkButton" style "headerbutton"


style "menuitem"
{
  engine "pixmap" {
    image
      {
	function	= BOX
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "menuitem.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
      }
    image
      {
	function	= BOX
	recolorable	= TRUE
	state		= NORMAL
	file		= "menuitem.png"
	border		= { 3,3,3,3 }
	stretch		= TRUE
      }
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "mcheck2.png"
	overlay_stretch = FALSE
      }
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "mcheck1.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = HLINE
	recolorable     = TRUE
	file            = "hline.png"
	border          = { 1, 1, 1, 1 }
	stretch         = TRUE
      }
  }
} 
class "GtkMenuItem" style "menuitem"

style "checkradiobutton"
{
  engine "pixmap" {
# Check marks
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "checkfalse.png"
	overlay_stretch = FALSE
      }
    image
      {
	function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "checktrue.png"
	overlay_stretch = FALSE
      }
# Option marks
    image
      {
	function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "radiofalse.png"
	overlay_border  = { 0,0,0,0 }
	overlay_stretch = FALSE
      }
    image
      {
	function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "radiotrue.png"
	overlay_border  = { 0,0,0,0 }
	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 "progressbar"
{
  engine "pixmap" {
    image
      {
        function        = BOX
        recolorable     = TRUE
        detail          = "bar"
        file            = "progressbar.png"
        border          = { 0,0,0,0 }
        stretch         = FALSE
      }
    image
      {
        function        = BOX
        recolorable     = TRUE
        detail          = "trough"
        file            = "trough.png"
        border          = { 2,2,2,2 }
        stretch         = TRUE
        orientation     = HORIZONTAL
      }
  }
}
class "GtkProgressBar" style "progressbar"

style "slider"
{
  bg[NORMAL]      = "#bebebe"
  bg[INSENSITIVE] = "#bebebe"
  bg[ACTIVE]      = "#bebebe"
  bg[PRELIGHT]    = "#bebebe"

  engine "pixmap" {
    image 
      {
	function	= SLIDER
	recolorable	= FALSE
	state		= NORMAL
	file		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
   orientation	= HORIZONTAL
      }
    image 
      {
	function	= SLIDER
	recolorable	= FALSE
	state		= NORMAL
	file		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	orientation	= VERTICAL
      }
    image 
      {
	function	= SLIDER
	recolorable	= FALSE
	state		= PRELIGHT
	file		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	orientation	= HORIZONTAL
      }
    image 
      {
	function	= SLIDER
	recolorable	= FALSE
	state		= PRELIGHT
	file		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	orientation	= VERTICAL
      }
  }
}
class "*Scale*" style "slider"

style "scroll"
{
  bg[NORMAL]      = "#bebebe"
  bg[INSENSITIVE] = "#bebebe"
  bg[ACTIVE]      = "#bebebe"
  bg[PRELIGHT]    = "#bebebe"

  engine "pixmap" {
    image 
      {
	function	= BOX
	recolorable	= TRUE
	state		= NORMAL
	file		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	orientation	= HORIZONTAL
      }
    image 
      {
	function	= BOX
	recolorable	= TRUE
	state		= NORMAL
	file		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	orientation	= VERTICAL
      }
    image 
      {
	function	= BOX
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	orientation	= HORIZONTAL
      }
    image 
      {
	function	= BOX
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	orientation	= VERTICAL
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	file		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	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		= NORMAL
	file		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	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		= NORMAL
	file		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	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		= NORMAL
	file		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	overlay_file	= "arrow_right2.png"
	overlay_border	= { 0,0,0,0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
    image 
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	file		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	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		= "vbuttonbar.png"
	border		= { 2,2,2,2 }
	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		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	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		= "hbuttonbar.png"
	border		= { 2,2,2,2 }
	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		= "vbuttonbarpressed.png"
	border		= { 2,2,2,2 }
	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		= "vbuttonbarpressed.png"
	border		= { 2,2,2,2 }
	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		= "hbuttonbarpressed.png"
	border		= { 2,2,2,2 }
	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		= "hbuttonbarpressed.png"
	border		= { 2,2,2,2 }
	stretch		= TRUE
	overlay_file	= "arrow_right2.png"
	overlay_border	= { 0,0,0,0 }
	overlay_stretch	= FALSE
	arrow_direction	= RIGHT
      }
  }
}
class "*Scroll*" style "scroll"

style "spin"
{ 
  	   font = "-monotype-arial-medium-r-normal--14-100-100-100-p-62-koi8-ru"
		
      bg[NORMAL]	= "#e5e5e5"
      bg[SELECTED]	= "#e5e5e5"
      bg[INSENSITIVE]	= "#e5e5e5"
      bg[ACTIVE]	= "#e5e5e5"
      bg[PRELIGHT]	= "#e5e5e5"

      fg[NORMAL]	= "#000000"
      fg[SELECTED]	= "#000000"
      fg[ACTIVE]	= "#000000"
      fg[PRELIGHT]	= "#000000"

      base[NORMAL]	= "#ece4dc"
      base[SELECTED]	= "#587ace"
      base[ACTIVE]	= "#ece4dc"
      base[PRELIGHT]	= "#ece4dc"

      engine "flat" {}

 engine "pixmap" {
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "plus.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= NORMAL
	overlay_file	= "minus.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "plus.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	state		= PRELIGHT
	overlay_file	= "minus.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "plus.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= UP
      }
    image
      {
	function	= ARROW
	recolorable	= TRUE
	shadow		= IN
	overlay_file	= "minus.png"
	overlay_border	= { 0, 0, 0, 0 }
	overlay_stretch	= FALSE
	arrow_direction	= DOWN
      }
  }
}
class "GtkSpinButton" style "spin"

style "tooltip" {
    bg[NORMAL]      = "#f1efaf"
    bg[INSENSITIVE] = "#f1efaf"
    bg[ACTIVE]      = "#f1efaf"
    bg[PRELIGHT]    = "#f1efaf"
}
widget "gtk-tooltips" style "tooltip"
