Debian Codegraph @

src/gtk2/widgets/range

raw
1 style "range"
2 {
3 engine "pixmap"
4 {
5 image
6 {
7 function = BOX
8 detail = "trough"
9 file = "../assets/scale-trough-horizontal.png"
10 border = { 4, 4, 0, 0 }
11 stretch = TRUE
12 orientation = HORIZONTAL
13 }
14 image
15 {
16 function = BOX
17 detail = "trough"
18 file = "../assets/scale-trough-vertical.png"
19 border = { 0, 0, 4, 4 }
20 stretch = TRUE
21 orientation = VERTICAL
22 }
23
24 # Horizontal
25
26 image
27 {
28 function = SLIDER
29 state = NORMAL
30 file = "../assets/null.png"
31 border = { 0, 0, 0, 0 }
32 stretch = TRUE
33 overlay_file = "../assets/scale-slider.png"
34 overlay_stretch = FALSE
35 orientation = HORIZONTAL
36 }
37 image
38 {
39 function = SLIDER
40 state = PRELIGHT
41 file = "../assets/null.png"
42 border = { 0, 0, 0, 0 }
43 stretch = TRUE
44 overlay_file = "../assets/scale-slider-active.png"
45 overlay_stretch = FALSE
46 orientation = HORIZONTAL
47 }
48 image
49 {
50 function = SLIDER
51 state = INSENSITIVE
52 file = "../assets/null.png"
53 border = { 0, 0, 0, 0 }
54 stretch = TRUE
55 overlay_file = "../assets/scale-slider.png"
56 overlay_stretch = FALSE
57 orientation = HORIZONTAL
58 }
59
60 # Vertical
61
62 image
63 {
64 function = SLIDER
65 state = NORMAL
66 file = "../assets/null.png"
67 border = { 0, 0, 0, 0 }
68 stretch = TRUE
69 overlay_file = "../assets/scale-slider.png"
70 overlay_stretch = FALSE
71 orientation = VERTICAL
72 }
73 image
74 {
75 function = SLIDER
76 state = PRELIGHT
77 file = "../assets/null.png"
78 border = { 0, 0, 0, 0 }
79 stretch = TRUE
80 overlay_file = "../assets/scale-slider-active.png"
81 overlay_stretch = FALSE
82 orientation = VERTICAL
83 }
84
85 image
86 {
87 function = SLIDER
88 state = INSENSITIVE
89 file = "../assets/null.png"
90 border = { 0, 0, 0, 0 }
91 stretch = TRUE
92 overlay_file = "../assets/scale-slider.png"
93 overlay_stretch = FALSE
94 orientation = VERTICAL
95 }
96 # Function below removes ugly boxes
97
98 image
99 {
100 function = BOX
101 file = "../assets/null.png"
102 border = { 3, 3, 3, 3 }
103 stretch = TRUE
104 }
105
106 }
107 }
108