227 lines
4.9 KiB
Plaintext
227 lines
4.9 KiB
Plaintext
|
########################################################################
|
||
|
# Scrollbar
|
||
|
########################################################################
|
||
|
|
||
|
style "scrollbar"
|
||
|
{
|
||
|
GtkRange::slider-width = 19
|
||
|
GtkRange::stepper-size = 19
|
||
|
|
||
|
GtkCheckButtonClass::indicator-size = 19
|
||
|
GtkRadioButtonClass::indicator-size = 19
|
||
|
|
||
|
engine "pixmap"
|
||
|
{
|
||
|
### Trough ###
|
||
|
image
|
||
|
{
|
||
|
function = BOX
|
||
|
detail = "trough"
|
||
|
file = "scrollbar/trough-v.png"
|
||
|
border = {2, 2, 2, 2}
|
||
|
stretch = TRUE
|
||
|
orientation = VERTICAL
|
||
|
}
|
||
|
|
||
|
image
|
||
|
{
|
||
|
function = BOX
|
||
|
detail = "trough"
|
||
|
file = "scrollbar/trough-h.png"
|
||
|
border = {2, 2, 2, 2}
|
||
|
stretch = TRUE
|
||
|
orientation = HORIZONTAL
|
||
|
}
|
||
|
|
||
|
### Scrollbar ###
|
||
|
image
|
||
|
{
|
||
|
function = SLIDER
|
||
|
file = "scrollbar/scrollbar_horizontal.png"
|
||
|
border = {3, 3, 3, 3}
|
||
|
stretch = TRUE
|
||
|
orientation = HORIZONTAL
|
||
|
}
|
||
|
|
||
|
image
|
||
|
{
|
||
|
function = SLIDER
|
||
|
file = "scrollbar/scrollbar_vertical.png"
|
||
|
border = {3, 3, 3, 3}
|
||
|
stretch = TRUE
|
||
|
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"
|
||
|
|