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