]> git.tdb.fi Git - libs/gltk.git/blob - basic.skin
Rename the basic skin to encourage reusability
[libs/gltk.git] / basic.skin
1 /* $Id$ */
2
3 default_font "dejavu-10.font";
4
5 graphic "grey_raised"
6 {
7         texture "basic_skin.png";
8         slice 0 52 12 12;
9         border { left 3; right 3; top 3; bottom 3; };
10 };
11
12 graphic "light_grey_raised"
13 {
14         texture "basic_skin.png";
15         slice 0 39 12 12;
16         border { left 3; right 3; top 3; bottom 3; };
17 };
18
19 graphic "dark_grey_sunken"
20 {
21         texture "basic_skin.png";
22         slice 14 52 12 12;
23         border { left 3; right 3; top 3; bottom 3; };
24 };
25
26 style "button"
27 {
28         font_color 0.0 0.0 0.0;
29
30         part
31         {
32                 graphic NORMAL "grey_raised";
33                 graphic HOVER "light_grey_raised";
34                 graphic ACTIVE "dark_grey_sunken";
35         };
36
37         special "text"
38         {
39                 align 0.5 0.5;
40                 fill 0.0 0.0;
41                 margin { left 3; right 3; top 3; bottom 3; };
42         };
43 };
44
45 graphic "white_sunken"
46 {
47         texture "basic_skin.png";
48         slice 0 26 12 12;
49         border { left 3; right 3; top 3; bottom 3; };
50 };
51
52 graphic "check_tick"
53 {
54         texture "basic_skin.png";
55         slice 28 56 8 8;
56 };
57
58 graphic "light_grey_flat"
59 {
60         texture "basic_skin.png";
61         slice 14 14 10 10;
62 };
63
64 style "toggle"
65 {
66         font_color 0.0 0.0 0.0;
67
68         part
69         {
70                 graphic HOVER "light_grey_flat";
71         };
72
73         part
74         {
75                 graphic NORMAL "white_sunken";
76                 align 0.0 0.5;
77                 fill 0.0 0.0;
78         };
79
80         part
81         {
82                 graphic ACTIVE "check_tick";
83                 align 0.0 0.5;
84                 fill 0.0 0.0;
85                 margin { left 2; };
86         };
87
88         special "text"
89         {
90                 align 0.0 0.5;
91                 fill 0.0 0.0;
92                 margin { left 14; };
93         };
94 };
95
96 graphic "white_circle_sunken"
97 {
98         texture "basic_skin.png";
99         slice 13 26 12 12;
100 };
101
102 graphic "option_dot"
103 {
104         texture "basic_skin.png";
105         slice 37 58 6 6;
106 };
107
108 style "toggle-option"
109 {
110         font_color 0.0 0.0 0.0;
111
112         part
113         {
114                 graphic HOVER "light_grey_flat";
115         };
116
117         part
118         {
119                 graphic NORMAL "white_circle_sunken";
120                 align 0.0 0.5;
121                 fill 0.0 0.0;
122         };
123
124         part
125         {
126                 graphic ACTIVE "option_dot";
127                 align 0.0 0.5;
128                 fill 0.0 0.0;
129                 margin { left 3; };
130         };
131
132         special "text"
133         {
134                 align 0.0 0.5;
135                 fill 0.0 0.0;
136                 margin { left 14; };
137         };
138 };
139
140 style "label"
141 {
142         font_color 0.0 0.0 0.0;
143
144         special "text"
145         {
146                 align 0.5 0.5;
147                 fill 0.0 0.0;
148         };
149 };
150
151 graphic "entry_cursor"
152 {
153         texture "basic_skin.png";
154         slice 26 56 1 8;
155 };
156
157 style "entry"
158 {
159         font_color 0.0 0.0 0.0;
160
161         part
162         {
163                 graphic NORMAL "white_sunken";
164         };
165
166         special "text"
167         {
168                 align 0.0 0.5;
169                 fill 0.0 0.0;
170                 margin { left 3; right 3; top 3; bottom 3; };
171         };
172
173         special "cursor"
174         {
175                 graphic FOCUS "entry_cursor";
176                 align 0.0 0.0;
177                 fill 0.0 1.0;
178                 margin { left 3; right 3; top 3; bottom 3; };
179         };
180 };
181
182 graphic "dark_grey_sunken_shallow"
183 {
184         texture "basic_skin.png";
185         slice 13 39 12 12;
186         border { left 3; right 3; top 3; bottom 3; };
187 };
188
189 graphic "hthumb"
190 {
191         texture "basic_skin.png";
192         slice 26 45 20 10;
193         border { left 3; right 3; top 3; bottom 3; };
194 };
195
196 graphic "hthumb_light"
197 {
198         texture "basic_skin.png";
199         slice 26 34 20 10;
200         border { left 3; right 3; top 3; bottom 3; };
201 };
202
203 style "hslider"
204 {
205         part
206         {
207                 graphic NORMAL "dark_grey_sunken_shallow";
208         };
209
210         special "slider"
211         {
212                 graphic NORMAL "hthumb";
213                 graphic HOVER "hthumb_light";
214                 fill 0.0 1.0;
215                 margin { left 1; right 1; top 1; bottom 1; };
216         };
217 };
218
219 graphic "vthumb"
220 {
221         texture "basic_skin.png";
222         slice 26 13 10 20;
223         border { left 3; right 3; top 3; bottom 3; };
224 };
225
226 graphic "vthumb_light"
227 {
228         texture "basic_skin.png";
229         slice 37 13 10 20;
230         border { left 3; right 3; top 3; bottom 3; };
231 };
232
233 style "vslider"
234 {
235         part
236         {
237                 graphic NORMAL "dark_grey_sunken_shallow";
238         };
239
240         special "slider"
241         {
242                 graphic NORMAL "vthumb";
243                 graphic HOVER "vthumb_light";
244                 fill 1.0 0.0;
245                 margin { left 1; right 1; top 1; bottom 1; };
246         };
247 };
248
249 graphic "blue_flat"
250 {
251         texture "basic_skin.png";
252         slice 1 1 10 10;
253 };
254
255 style "list"
256 {
257         font_color 0.0 0.0 0.0;
258
259         part
260         {
261                 graphic NORMAL "white_sunken";
262                 margin { right 12; };
263         };
264
265         special "slider"
266         {
267                 size 12 12;
268                 fill 0.0 1.0;
269                 align 1.0 0.5;
270                 //margin { right 1; top 1; bottom 1; };
271         };
272
273         special "selection"
274         {
275                 graphic NORMAL "blue_flat";
276                 margin { left 3; right 14; top 3; bottom 3; };
277         };
278
279         special "items"
280         {
281                 margin { left 3; right 14; top 3; bottom 3; };
282         };
283 };
284
285 graphic "grey_raised_divided"
286 {
287         texture "basic_skin.png";
288         slice 13 0 20 12;
289         border { left 3; right 15; top 5; bottom 5; };
290 };
291
292 graphic "light_grey_raised_divided"
293 {
294         texture "basic_skin.png";
295         slice 34 0 20 12;
296         border { left 3; right 15; top 5; bottom 5; };
297 };
298
299 graphic "arrow_down"
300 {
301         texture "basic_skin.png";
302         slice 44 56 8 8;
303 };
304
305 graphic "arrow_left"
306 {
307         texture "basic_skin.png";
308         slice 53 56 8 8;
309 };
310
311 style "dropdown"
312 {
313         font_color 0.0 0.0 0.0;
314
315         part
316         {
317                 graphic NORMAL "grey_raised_divided";
318                 graphic HOVER "light_grey_raised_divided";
319         };
320
321         part
322         {
323                 graphic NORMAL "arrow_left";
324                 graphic ACTIVE "arrow_down";
325                 fill 0.0 0.0;
326                 align 1.0 0.5;
327                 margin { right 3; };
328         };
329
330         special "text"
331         {
332                 fill 0.0 0.0;
333                 align 0.0 0.5;
334                 margin { left 4; };
335         };
336
337         special "list";
338 };
339
340 graphic "grey_beveled"
341 {
342         texture "basic_skin.png";
343         slice 0 13 12 12;
344         border { left 4; right 4; top 4; bottom 4; };
345 };
346
347 style "panel"
348 {
349         part
350         {
351                 graphic NORMAL "grey_beveled";
352         };
353
354         special "children";
355 };
356
357 style "root"
358 {
359         special "children";
360 };