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