Debian Codegraph @

src/gtk2/widgets/scrollbar

raw
1 style "scrollbar"
2 {
3 engine "pixmap"
4 {
5 image
6 {
7 function = BOX
8 detail = "trough"
9 file = "../assets/scrollbar-trough-horizontal.png"
10 border = { 25,25, 7, 7 } #large borders while LibreOffice won't use GtkScrollbar::stepper-spacing=1
11 stretch = TRUE
12 orientation = HORIZONTAL
13 }
14 image
15 {
16 function = BOX
17 detail = "trough"
18 file = "../assets/scrollbar-trough-vertical.png"
19 border = { 7, 7, 25, 25 }
20 stretch = TRUE
21 orientation = VERTICAL
22 }
23
24 # Sliders
25
26 image
27 {
28 function = SLIDER
29 state = NORMAL
30 file = "../assets/scrollbar-slider-horizontal.png"
31 border = { 5, 5, 5, 5 }
32 stretch = TRUE
33 orientation = HORIZONTAL
34
35 }
36 image
37 {
38 function = SLIDER
39 state = ACTIVE
40 file = "../assets/scrollbar-slider-horizontal-hover.png"
41 border = { 5, 5, 5, 5 }
42 stretch = TRUE
43 orientation = HORIZONTAL
44
45 }
46 image
47 {
48 function = SLIDER
49 state = PRELIGHT
50 file = "../assets/scrollbar-slider-horizontal-hover.png"
51 border = { 5, 5, 5, 5 }
52 stretch = TRUE
53 orientation = HORIZONTAL
54
55 }
56 image
57 {
58 function = SLIDER
59 state = INSENSITIVE
60 file = "../assets/scrollbar-slider-horizontal.png"
61 border = { 5, 5, 5, 5 }
62 stretch = TRUE
63 orientation = HORIZONTAL
64
65 }
66
67 # X Verticals
68
69 image
70 {
71 function = SLIDER
72 state = NORMAL
73 file = "../assets/scrollbar-slider-vertical.png"
74 border = { 5, 5, 5, 5 }
75 stretch = TRUE
76 orientation = VERTICAL
77
78 }
79 image
80 {
81 function = SLIDER
82 state = ACTIVE
83 file = "../assets/scrollbar-slider-vertical-hover.png"
84 border = { 5, 5, 5, 5 }
85 stretch = TRUE
86 orientation = VERTICAL
87
88 }
89 image
90 {
91 function = SLIDER
92 state = PRELIGHT
93 file = "../assets/scrollbar-slider-vertical-hover.png"
94 border = { 5, 5, 5, 5 }
95 stretch = TRUE
96 orientation = VERTICAL
97
98 }
99 image
100 {
101 function = SLIDER
102 state = INSENSITIVE
103 file = "../assets/scrollbar-slider-vertical.png"
104 border = { 5, 5, 5, 5 }
105 stretch = TRUE
106 orientation = VERTICAL
107
108 }
109 image
110 {
111 function = STEPPER
112 file = "../assets/null.png"
113 stretch = TRUE
114
115 }
116 }
117 }