You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
273 lines
5.8 KiB
273 lines
5.8 KiB
########################################################################
|
|
# Scrollbar
|
|
########################################################################
|
|
|
|
style "scrollbar"
|
|
{
|
|
GtkRange::slider-width = 14
|
|
GtkRange::stepper-size = 13
|
|
GtkCheckButtonClass::indicator-size = 14
|
|
GtkRadioButtonClass::indicator-size = 14
|
|
|
|
engine "pixmap"
|
|
{
|
|
### Trough ###
|
|
image
|
|
{
|
|
function = BOX
|
|
detail = "trough"
|
|
file = "images/trough-v.png"
|
|
border = {7, 7, 22, 22}
|
|
stretch = TRUE
|
|
orientation = VERTICAL
|
|
}
|
|
|
|
image
|
|
{
|
|
function = BOX
|
|
detail = "trough"
|
|
file = "images/trough-h.png"
|
|
border = {22, 22, 7, 7}
|
|
stretch = TRUE
|
|
orientation = HORIZONTAL
|
|
}
|
|
|
|
### Scrollbar ###
|
|
## Normal
|
|
image
|
|
{
|
|
function = SLIDER
|
|
state = NORMAL
|
|
file = "images/scrollbar_horizontal.png"
|
|
border = {7, 7, 7, 7}
|
|
stretch = TRUE
|
|
orientation = HORIZONTAL
|
|
}
|
|
|
|
image
|
|
{
|
|
function = SLIDER
|
|
state = NORMAL
|
|
file = "images/scrollbar_vertical.png"
|
|
border = {7, 7, 7, 7}
|
|
stretch = TRUE
|
|
orientation = VERTICAL
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = SLIDER
|
|
state = PRELIGHT
|
|
file = "images/scrollbar_horizontal-sel.png"
|
|
border = {7, 7, 7, 7}
|
|
stretch = TRUE
|
|
orientation = HORIZONTAL
|
|
}
|
|
|
|
image
|
|
{
|
|
function = SLIDER
|
|
state = PRELIGHT
|
|
file = "images/scrollbar_vertical-sel.png"
|
|
border = {7, 7, 7, 7}
|
|
stretch = TRUE
|
|
orientation = VERTICAL
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = SLIDER
|
|
state = INSENSITIVE
|
|
file = "images/scrollbar_horizontal.png"
|
|
border = {7, 7, 7, 7}
|
|
stretch = TRUE
|
|
orientation = HORIZONTAL
|
|
}
|
|
|
|
image
|
|
{
|
|
function = SLIDER
|
|
state = INSENSITIVE
|
|
file = "images/scrollbar_vertical.png"
|
|
border = {7, 7, 7, 7}
|
|
stretch = TRUE
|
|
orientation = VERTICAL
|
|
}
|
|
|
|
|
|
### Arrow UP ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "images/arrow_up.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "images/arrow_up.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "images/arrow_up_ins.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "images/arrow_up_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
### Arrow DOWN ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "images/arrow_down.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "images/arrow_down.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "images/arrow_down_ins.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "images/arrow_down_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
### Arrow LEFT ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "images/arrow_left.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "images/arrow_left.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "images/arrow_left_ins.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "images/arrow_left_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
### Arrow RIGHT ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "images/arrow_right.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "images/arrow_right.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "images/arrow_right_ins.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "images/arrow_right_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
class "GtkScrollbar*" style "scrollbar"
|
|
|