240 lines
5.4 KiB
Plaintext
240 lines
5.4 KiB
Plaintext
########################################################################
|
|
# Scrollbar
|
|
########################################################################
|
|
|
|
style "scrollbar"
|
|
{
|
|
GtkRange::slider-width = 16
|
|
GtkRange::stepper-size = 14
|
|
|
|
GtkCheckButtonClass::indicator-size = 16
|
|
GtkRadioButtonClass::indicator-size = 16
|
|
|
|
GtkScrollbar::has-backward-stepper = 0
|
|
GtkScrollbar::has-secondary-backward-stepper = 1
|
|
|
|
engine "pixmap"
|
|
{
|
|
### Trough ###
|
|
image
|
|
{
|
|
function = BOX
|
|
detail = "trough"
|
|
file = "scrollbar/trough-dots.png"
|
|
border = {2, 2, 2, 2}
|
|
stretch = FALSE
|
|
overlay_file = "scrollbar/trough-v.png"
|
|
overlay_border = {4, 4, 3, 3}
|
|
overlay_stretch = TRUE
|
|
orientation = VERTICAL
|
|
}
|
|
|
|
image
|
|
{
|
|
function = BOX
|
|
detail = "trough"
|
|
file = "scrollbar/trough-dots.png"
|
|
border = {2, 2, 2, 2}
|
|
stretch = FALSE
|
|
overlay_file = "scrollbar/trough-h.png"
|
|
overlay_border = {3, 3, 4, 4}
|
|
overlay_stretch = TRUE
|
|
orientation = HORIZONTAL
|
|
}
|
|
|
|
### Scrollbar ###
|
|
image
|
|
{
|
|
function = SLIDER
|
|
file = "scrollbar/scrollbar_horizontal.png"
|
|
border = {4, 4, 4, 4}
|
|
stretch = TRUE
|
|
overlay_file = "scrollbar/thumb-h.png"
|
|
overlay_stretch = FALSE
|
|
orientation = HORIZONTAL
|
|
}
|
|
|
|
image
|
|
{
|
|
function = SLIDER
|
|
file = "scrollbar/scrollbar_vertical.png"
|
|
border = {4, 4, 4, 4}
|
|
stretch = TRUE
|
|
overlay_file = "scrollbar/thumb-v.png"
|
|
overlay_stretch = FALSE
|
|
orientation = VERTICAL
|
|
}
|
|
|
|
### Arrow UP ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "scrollbar/arrow_up.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "scrollbar/arrow_up.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "scrollbar/arrow_up.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "scrollbar/arrow_up_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = UP
|
|
}
|
|
|
|
### Arrow DOWN ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "scrollbar/arrow_down.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "scrollbar/arrow_down.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "scrollbar/arrow_down.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "scrollbar/arrow_down_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = DOWN
|
|
}
|
|
|
|
### Arrow LEFT ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "scrollbar/arrow_left.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "scrollbar/arrow_left.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "scrollbar/arrow_left.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "scrollbar/arrow_left_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = LEFT
|
|
}
|
|
|
|
### Arrow RIGHT ###
|
|
|
|
## Normal
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = NORMAL
|
|
overlay_file = "scrollbar/arrow_right.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
|
|
## Prelight
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = PRELIGHT
|
|
overlay_file = "scrollbar/arrow_right.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
|
|
## Insensitive
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = INSENSITIVE
|
|
overlay_file = "scrollbar/arrow_right.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
|
|
## Active
|
|
image
|
|
{
|
|
function = ARROW
|
|
state = ACTIVE
|
|
overlay_file = "scrollbar/arrow_right_clicked.png"
|
|
overlay_stretch = FALSE
|
|
arrow_direction = RIGHT
|
|
}
|
|
}
|
|
}
|
|
|
|
class "GtkScrollbar*" style "scrollbar"
|
|
|