1
################################################################################
3
################################################################################
7
# The values I set here have to do with the relative size of three graphic elements
8
# I have used: the slider, the arrow box, and the trough. They all have the same width
9
# of 15 pixels, but gtk wants to put in some spacing between them. It seems like it
10
# places the sliders inside the trough with a default 1 pixel border on either side of the slider,
11
# so that the trough has its width stretched by an additional two pixels(?). Setting the
12
# trough border makes the arrow box sit on top of the trough squarely, by making sure that
13
# the trough stays the same width as the arrowbox(?). I could be totally wrong here.
14
GtkRange::trough_border = 0
15
GtkRange::slider_width = 17
17
# This sets the size of the steppers (arrow buttons on the end of the scrollbar).
18
# The image I am using is 15x15 pixels, and if I dont set this a one pixel line
19
# gets cut off of the top of the "up" stepper.
20
GtkRange::stepper_size = 17
22
# Set a minimum length for the slider. Since I set the border on the slider
23
# image to 15 pixels on either end of the slider I want the min length to be
24
# at least 30 pixels to avoid an ugly slider when gtk wants to make it smaller
26
GtkScrollbar::min-slider-length = 64
30
# Horizontal slider background
36
file = "scrollbars/trough-scrollbar-horiz.png"
37
border = { 30, 30, 0, 0 }
39
orientation = HORIZONTAL
42
# Vertical slider background
48
file = "scrollbars/trough-scrollbar-vert.png"
49
border = { 0, 0, 30, 30 }
51
orientation = VERTICAL
54
# Normal horizontal slider
60
file = "scrollbars/slider-horiz.png"
61
border = { 15, 15, 6, 6 }
63
orientation = HORIZONTAL
64
overlay_file = "scrollbars/thumb-h-scrollbar.png"
65
overlay_stretch = FALSE
68
# Horizontal slider (active)
74
file = "scrollbars/slider-horiz-prelight.png"
75
border = { 15, 15, 6, 6 }
77
orientation = HORIZONTAL
78
overlay_file = "scrollbars/thumb-h-scrollbar.png"
79
overlay_stretch = FALSE
82
# Horizontal slider (mouse over)
88
file = "scrollbars/slider-horiz-prelight.png"
89
border = { 15, 15, 6, 6 }
91
orientation = HORIZONTAL
92
overlay_file = "scrollbars/thumb-h-scrollbar.png"
93
overlay_stretch = FALSE
96
# Horizontal slider (Insesitive)
102
file = "scrollbars/slider-horiz.png"
103
border = { 15, 15, 6, 6 }
105
orientation = HORIZONTAL
106
overlay_file = "scrollbars/thumb-h-scrollbar.png"
107
overlay_stretch = FALSE
110
# Normal vertical slider
116
file = "scrollbars/slider-vert.png"
117
border = { 6, 6, 15, 15 }
119
orientation = VERTICAL
120
overlay_file = "scrollbars/thumb-v-scrollbar.png"
121
overlay_stretch = FALSE
124
# Vertical slider (Active)
130
file = "scrollbars/slider-vert.png"
131
border = { 6, 6, 15, 15 }
133
orientation = VERTICAL
134
overlay_file = "scrollbars/thumb-v-scrollbar.png"
135
overlay_stretch = FALSE
138
# Vertical slider (mouse over)
144
file = "scrollbars/slider-vert-prelight.png"
145
border = { 6, 6, 15, 15 }
147
orientation = VERTICAL
148
overlay_file = "scrollbars/thumb-v-scrollbar.png"
149
overlay_stretch = FALSE
152
# Vertical slider (Insesitive)
158
file = "scrollbars/slider-vert-prelight.png"
159
border = { 6, 6, 15, 15 }
161
orientation = VERTICAL
162
overlay_file = "scrollbars/thumb-v-scrollbar.png"
163
overlay_stretch = FALSE
166
################################################################################
168
################################################################################
176
file = "scrollbars/stepper-up.png"
177
#border = { 2, 2, 2, 2 }
186
file = "scrollbars/stepper-up.png"
187
#border = { 12, 2, 2, 9 }
196
file = "scrollbars/stepper-up.png"
197
#border = { 12, 2, 2, 9 }
206
file = "scrollbars/stepper-up.png"
207
#border = { 12, 2, 2, 9 }
212
######### DOWN ############
220
file = "scrollbars/stepper-down.png"
221
#border = { 12, 2, 10, 2 }
223
arrow_direction = DOWN
230
file = "scrollbars/stepper-down.png"
231
#border = { 12, 2, 10, 2 }
233
arrow_direction = DOWN
240
file = "scrollbars/stepper-down.png"
241
#border = { 12, 2, 10, 2 }
243
arrow_direction = DOWN
250
file = "scrollbars/stepper-down.png"
251
#border = { 12, 2, 10, 2 }
253
arrow_direction = DOWN
256
############ RIGHT ################
263
file = "scrollbars/stepper-right.png"
264
#border = { 2, 9, 2, 13 }
266
arrow_direction = RIGHT
273
file = "scrollbars/stepper-right.png"
274
#border = { 2, 9, 2, 13 }
276
arrow_direction = RIGHT
283
file = "scrollbars/stepper-right.png"
284
#border = { 2, 9, 2, 13 }
286
arrow_direction = RIGHT
293
file = "scrollbars/stepper-right.png"
294
#border = { 2, 9, 2, 13 }
296
arrow_direction = RIGHT
299
############### LEFT ###################
307
file = "scrollbars/stepper-left.png"
308
#border = { 2, 9, 2, 13 }
310
arrow_direction = LEFT
317
file = "scrollbars/stepper-left.png"
318
#border = { 2, 9, 2, 13 }
320
arrow_direction = LEFT
327
file = "scrollbars/stepper-left.png"
328
#border = { 2, 9, 2, 13 }
330
arrow_direction = LEFT
337
file = "scrollbars/stepper-left.png"
338
#border = { 2, 9, 2, 13 }
340
arrow_direction = LEFT
344
class "GtkScrollbar" style "scrollbar"
345
class "GtkHScrollbar" style "scrollbar"
346
class "GtkVScrollbar" style "scrollbar"