aschwerin.moses
June 15th, 2009, 12:13 PM
http://gnome-look.org/content/show.php/F6F6F6?content=101200&PHPSESSID=691cc8368236f68021e44d873dddc0ac
This is one of the themes that I did. Infact I did use the Santay_Origianl gtk theme to make this. I would like to know how to get the "select" item field highlighted with a .png rather than just colour.
The below code is the code for menubar, i somehow cannot get a .png for selected items, please help...
#--------------------------------------------------------------------------------------
# MENUBAR
#--------------------------------------------------------------------------------------
style "menubar-panel" = "default"
{
fg[NORMAL] = @tooltip_fg_color
# bg[NORMAL] = @tooltip_bg_color
xthickness = 3
}
style "menubar"="wide"
{
xthickness = 5
fg[NORMAL] = shade(0.85, @tooltip_fg_color)
fg[PRELIGHT] = @tooltip_fg_color
bg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = @bg_color
engine "pixmap"
{
image
{
function = BOX
state = NORMAL
recolorable = TRUE
file = "ventana/menubar.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
}
image
{
function = BOX
state = PRELIGHT
recolorable = TRUE
file = "ventana/menubarselect.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
}
}
}
This is one of the themes that I did. Infact I did use the Santay_Origianl gtk theme to make this. I would like to know how to get the "select" item field highlighted with a .png rather than just colour.
The below code is the code for menubar, i somehow cannot get a .png for selected items, please help...
#--------------------------------------------------------------------------------------
# MENUBAR
#--------------------------------------------------------------------------------------
style "menubar-panel" = "default"
{
fg[NORMAL] = @tooltip_fg_color
# bg[NORMAL] = @tooltip_bg_color
xthickness = 3
}
style "menubar"="wide"
{
xthickness = 5
fg[NORMAL] = shade(0.85, @tooltip_fg_color)
fg[PRELIGHT] = @tooltip_fg_color
bg[NORMAL] = @tooltip_fg_color
bg[SELECTED] = @bg_color
engine "pixmap"
{
image
{
function = BOX
state = NORMAL
recolorable = TRUE
file = "ventana/menubar.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
}
image
{
function = BOX
state = PRELIGHT
recolorable = TRUE
file = "ventana/menubarselect.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
}
}
}