#
# EnbanFukusyaYa default theme
#

style "Button" {
    engine "pixmap" {
	image {
	    function = BOX
	    recolorable     = TRUE
	    state           = NORMAL
	    file            = "button_normal.png"
	    border          = { 4, 4, 4, 4 }
	    stretch         = TRUE
	}
	image {
	    function = BOX
	    recolorable     = TRUE
	    state           = INSENSITIVE
	    file            = "button_normal.png"
	    border          = { 4, 4, 4, 4 }
	    stretch         = TRUE
	}
	image {
	    function = BOX
	    recolorable     = TRUE
	    state           = PRELIGHT
	    file            = "button_prelight.png"
	    border          = { 4, 4, 4, 4 }
	    stretch         = TRUE
	}
	image {
	    function = BOX
	    recolorable     = TRUE
	    state           = ACTIVE
	    file            = "button_active.png"
	    border          = { 4, 4, 4, 4 }
	    stretch         = TRUE
	}
    }
}

class "GtkButton" style "Button"

style "Window" {
    engine "pixmap" {
	image {
	    function = FLAT_BOX
	    recolorable     = TRUE
	    file            = "window_bg.png"
	    border          = { 25, 25, 25, 25 }
	    stretch         = TRUE
	}
    }
}

class "GtkWindow" style "Window"

style "OptionMenu" {
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
	    state           = NORMAL
            file            = "optionmenu.png"
            border          = { 4, 20, 4, 4 }
            stretch         = TRUE
        }
    }
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
	    state           = PRELIGHT
            file            = "optionmenu_prelight.png"
            border          = { 4, 20, 4, 4 }
            stretch         = TRUE
        }
    }
}

class "GtkOptionMenu" style "OptionMenu"

style "ProgressBar" {
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "progressbar_fg.png"
            border          = { 6, 6, 4, 4 }
            stretch         = TRUE
        }
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough" 
            file            = "progressbar_bg.png"
            border          = { 6, 6, 4, 4 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
    }
}

class "GtkProgressBar" style "ProgressBar"

style "Menu" {
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
            file            = "menu_bg.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
       }
   }
}

class "GtkMenu" style "Menu"

style "MenuItem" {
    text[SELECTED] = "black"
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
            file            = "menuitem_hilight.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
        }
    }
}

class "GtkMenuItem" style "MenuItem"

style "CheckRadioButton" {
    engine "pixmap" {
        image {
            function        = FLAT_BOX
            recolorable     = TRUE
            file            = "menuitem_hilight.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
        }
    }
}

class "GtkRadioButton" style "CheckRadioButton"
class "GtkCheckButton" style "CheckRadioButton"


style "default"
{
    font = "-*-times-medium-r-normal--*-120-*-*-*-*-*-*"
    fg[NORMAL]      = { 0.00, 0.00, 0.00 }
    fg[PRELIGHT]    = { 0.00, 0.00, 0.00 }
    fg[ACTIVE]      = { 0.00, 0.00, 0.00 }
    fg[SELECTED]    = { 0.00, 0.00, 0.00 }
    fg[INSENSITIVE] = { 0.70, 0.70, 0.70 }
    bg[NORMAL]      = "#ffffff"
    bg[PRELIGHT]    = "#ffffff"
    bg[ACTIVE]      = "#ffffff"
    bg[INSENSITIVE] = "#ffffff"
    bg[SELECTED]    = "#a6b5bf"
    base[NORMAL]    = "#ffffff"
    engine "pixmap" {
	image {
            function        = CHECK
            recolorable     = TRUE
            shadow          = OUT
            overlay_file    = "checkbox_normal.png"
            overlay_stretch = FALSE
	}
	image {
            function        = CHECK
            recolorable     = TRUE
            shadow          = IN
            overlay_file    = "checkbox_hilight.png"
            overlay_stretch = FALSE
	}
    }
}
widget_class "*" style "default"

