~greasedbolt/dusttheme/0.5r10

« back to all changes in this revision

Viewing changes to Dust/gtk-2.0/scrollbars/scrollbar.rc

  • Committer: Ricardo Mariano III
  • Date: 2009-05-02 15:51:51 UTC
  • Revision ID: kido@kido-laptop-20090502155151-bau1vj4t6ycqls1d
Initial commit. Things are not yet finished. Big thanks to dashua for 
this series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
############################# scROLLBAR ####################
 
2
 
 
3
style "scrollbar" = "default"
 
4
{
 
5
    GtkRange::trough_border = 0
 
6
    GtkRange::slider_width = 15
 
7
    GtkRange::stepper_size = 19
 
8
    
 
9
  engine "pixmap" 
 
10
  {
 
11
    image 
 
12
    {
 
13
      function                  = BOX
 
14
      recolorable               = TRUE
 
15
      detail                            = "trough"
 
16
      file                              = "scrollbars/trough-scrollbar-horiz.png"
 
17
      border                    = { 0, 0, 5, 5 }
 
18
      stretch                   = TRUE
 
19
      orientation               = HORIZONTAL
 
20
    }
 
21
    image 
 
22
    {
 
23
      function                  = BOX
 
24
      recolorable               = TRUE
 
25
      detail                            = "trough"
 
26
      file                              = "scrollbars/trough-scrollbar-vert.png"
 
27
      border                    = { 5, 5, 0, 0 }
 
28
      stretch                   = TRUE
 
29
      orientation               = VERTICAL
 
30
    }
 
31
 
 
32
###########x SLIDERS ##################x
 
33
 
 
34
  image 
 
35
    {
 
36
      function                          = SLIDER
 
37
      recolorable                       = TRUE
 
38
      state                     = NORMAL
 
39
      file                                      = "scrollbars/slider-horiz.png" 
 
40
      border                            = { 5, 5, 0, 0 }
 
41
      stretch                           = TRUE
 
42
      orientation                       = HORIZONTAL
 
43
    }
 
44
  image 
 
45
    {
 
46
      function                          = SLIDER
 
47
      recolorable                       = TRUE
 
48
      state                     = ACTIVE
 
49
      shadow                            = IN
 
50
      file                                      = "scrollbars/slider-horiz.png" 
 
51
      border                            = { 5, 5, 0, 0 }
 
52
      stretch                           = TRUE
 
53
      orientation                       = HORIZONTAL
 
54
 
 
55
    }
 
56
    image 
 
57
    {
 
58
      function                          = SLIDER
 
59
      recolorable                       = TRUE
 
60
      state                     = PRELIGHT
 
61
      file                                      = "scrollbars/slider-horiz-prelight.png" 
 
62
      border                            = { 5, 5, 0, 0 }
 
63
      stretch                           = TRUE
 
64
      orientation                       = HORIZONTAL
 
65
 
 
66
    }
 
67
    image 
 
68
    {
 
69
      function                          = SLIDER
 
70
      recolorable                       = TRUE
 
71
      state                     = INSENSITIVE
 
72
      file                                      = "scrollbars/slider-horiz-insens.png"
 
73
      border                            = { 5, 5, 0, 0 }
 
74
      stretch                           = TRUE
 
75
      orientation                       = HORIZONTAL
 
76
 
 
77
    }
 
78
 
 
79
#############x verticals################xx
 
80
 
 
81
 image 
 
82
    {
 
83
      function                          = SLIDER
 
84
      recolorable                       = TRUE
 
85
      state                     = NORMAL
 
86
      file                                      = "scrollbars/slider-vert.png" 
 
87
      border                            = { 0, 0, 5, 5 }
 
88
      stretch                           = TRUE
 
89
      orientation                       = VERTICAL
 
90
 
 
91
    }
 
92
   image 
 
93
    {
 
94
      function                          = SLIDER
 
95
      recolorable                       = TRUE
 
96
      state                     = ACTIVE
 
97
      shadow                            = IN
 
98
      file                                      = "scrollbars/slider-vert.png" 
 
99
      border                            = { 0, 0, 5, 5 }
 
100
      stretch                           = TRUE
 
101
      orientation                       = VERTICAL
 
102
 
 
103
    }
 
104
    image 
 
105
    {
 
106
      function                          = SLIDER
 
107
      recolorable                       = TRUE
 
108
      state                     = PRELIGHT
 
109
      file                                      = "scrollbars/slider-vert-prelight.png" 
 
110
      border                            = { 0, 0, 5, 5 }
 
111
      stretch                           = TRUE
 
112
      orientation                       = VERTICAL
 
113
 
 
114
    }
 
115
    image 
 
116
    {
 
117
      function                          = SLIDER
 
118
      recolorable                       = TRUE
 
119
      state                     = INSENSITIVE
 
120
      file                                      = "scrollbars/slider-vert-insens.png"
 
121
      border                            = { 0, 0, 5, 5 }
 
122
      stretch                           = TRUE
 
123
      orientation                       = VERTICAL
 
124
 
 
125
    }
 
126
 
 
127
###########x END SLIDERS ##################x
 
128
 
 
129
########### Steppers ######################
 
130
#### UP #######
 
131
    image 
 
132
    {
 
133
      function                          = STEPPER
 
134
      recolorable                       = TRUE
 
135
      state                                     = NORMAL
 
136
      file                                      = "scrollbars/stepper-up.png"
 
137
      stretch                           = TRUE
 
138
      arrow_direction   = UP
 
139
    }
 
140
 image 
 
141
    {
 
142
      function                          = STEPPER
 
143
      recolorable                       = TRUE
 
144
      state                                     = PRELIGHT
 
145
      file                                      = "scrollbars/stepper-up-prelight.png"
 
146
      stretch                           = TRUE
 
147
      arrow_direction   = UP
 
148
    }
 
149
 image 
 
150
    {
 
151
      function                          = STEPPER
 
152
      recolorable                       = TRUE
 
153
      state                                     = ACTIVE
 
154
      file                                      = "scrollbars/stepper-up-prelight.png"
 
155
      stretch                           = TRUE
 
156
      arrow_direction   = UP
 
157
    }
 
158
 image 
 
159
    {
 
160
      function                          = STEPPER
 
161
      recolorable                       = TRUE
 
162
      state                                     = INSENSITIVE
 
163
      file                                      = "scrollbars/stepper-up-insens.png"
 
164
      stretch                           = TRUE
 
165
      arrow_direction   = UP
 
166
    }
 
167
 
 
168
 ######### DOWN ############
 
169
 
 
170
    image 
 
171
    {
 
172
      function                          = STEPPER
 
173
      recolorable                       = TRUE
 
174
      state                             = NORMAL
 
175
      file                              = "scrollbars/stepper-down.png"
 
176
      stretch                           = TRUE
 
177
      arrow_direction   = DOWN
 
178
    }
 
179
 image 
 
180
    {
 
181
      function                          = STEPPER
 
182
      recolorable                       = TRUE
 
183
      state                             = PRELIGHT
 
184
      file                              = "scrollbars/stepper-down-prelight.png"
 
185
      stretch                           = TRUE
 
186
      arrow_direction   = DOWN
 
187
    }
 
188
 image 
 
189
    {
 
190
      function                          = STEPPER
 
191
      recolorable                       = TRUE
 
192
      state                                     = ACTIVE
 
193
      file                                      = "scrollbars/stepper-down-prelight.png"
 
194
      stretch                           = TRUE
 
195
      arrow_direction   = DOWN
 
196
    }
 
197
 image 
 
198
    {
 
199
      function                          = STEPPER
 
200
      recolorable                       = TRUE
 
201
      state                                     = INSENSITIVE
 
202
      file                                      = "scrollbars/stepper-down-insens.png"
 
203
      stretch                           = TRUE
 
204
      arrow_direction   = DOWN
 
205
    }
 
206
 
 
207
############ RIGHT ################
 
208
 
 
209
    image 
 
210
    {
 
211
      function                          = STEPPER
 
212
      recolorable                       = TRUE
 
213
      state                                     = NORMAL
 
214
      file                                      = "scrollbars/stepper-right.png"
 
215
      stretch                           = TRUE
 
216
      arrow_direction   = RIGHT
 
217
    }
 
218
 image 
 
219
    {
 
220
      function                          = STEPPER
 
221
      recolorable                       = TRUE
 
222
      state                                     = PRELIGHT
 
223
      file                                      = "scrollbars/stepper-right-prelight.png"
 
224
      stretch                           = TRUE
 
225
      arrow_direction   = RIGHT
 
226
    }
 
227
 image 
 
228
    {
 
229
      function                          = STEPPER
 
230
      recolorable                       = TRUE
 
231
      state                                     = ACTIVE
 
232
      file                                      = "scrollbars/stepper-right-prelight.png"
 
233
      stretch                           = TRUE
 
234
      arrow_direction   = RIGHT
 
235
    }
 
236
 image 
 
237
    {
 
238
      function                          = STEPPER
 
239
      recolorable                       = TRUE
 
240
      state                             = INSENSITIVE
 
241
      file                              = "scrollbars/stepper-right-insens.png"
 
242
      stretch                           = TRUE
 
243
      arrow_direction   = RIGHT
 
244
    }
 
245
 
 
246
############### LEFT ###################
 
247
 
 
248
    image 
 
249
    {
 
250
      function                          = STEPPER
 
251
      recolorable                       = TRUE
 
252
      state                             = NORMAL
 
253
      file                              = "scrollbars/stepper-left.png"
 
254
      stretch                           = TRUE
 
255
      arrow_direction   = LEFT
 
256
    }
 
257
  image 
 
258
    {
 
259
      function                          = STEPPER
 
260
      recolorable                       = TRUE
 
261
      state                             = PRELIGHT
 
262
      file                              = "scrollbars/stepper-left-prelight.png"
 
263
      stretch                           = TRUE
 
264
      arrow_direction   = LEFT
 
265
    }
 
266
  image 
 
267
    {
 
268
      function                          = STEPPER
 
269
      recolorable                       = TRUE
 
270
      state                                     = ACTIVE
 
271
      file                                      = "scrollbars/stepper-left-prelight.png"
 
272
      stretch                           = TRUE
 
273
      arrow_direction   = LEFT
 
274
    }
 
275
  image 
 
276
    {
 
277
      function                          = STEPPER
 
278
      recolorable                       = TRUE
 
279
      state                             = INSENSITIVE
 
280
      file                              = "scrollbars/stepper-left-insens.png"
 
281
      stretch                           = TRUE
 
282
      arrow_direction   = LEFT
 
283
    }
 
284
  }
 
285
}
 
286
class "GtkScrollbar"            style "scrollbar"
 
287
class "GtkHScrollbar"           style "scrollbar"
 
288
class "GtkVScrollbar"           style "scrollbar"