]> git.tdb.fi Git - r2c2.git/blob - marklin.res
Make LCD output selectable at runtime through an extra I/O pin
[r2c2.git] / marklin.res
1 /* $Id$ */
2
3 default_font "dejavu-12.font";
4
5 style "root"
6 {
7         special "children";
8 };
9
10 style "label"
11 {
12         font_color 0 0 0;
13         special "text";
14 };
15
16 style "image"
17 {
18         special "image"
19         {
20                 fill 1.0 1.0;
21         };
22 };
23
24 graphic "tooltip"
25 {
26         texture "gui.png";
27         slice 50 93 20 10;
28         border { top 2; right 2; bottom 2; left 2; };
29 };
30
31 style "label-tooltip"
32 {
33         font_color 0.0 0.0 0.0;
34
35         part
36         {
37                 graphic NORMAL "tooltip";
38         };
39
40         special "text"
41         {
42                 align 0.0 0.5;
43                 fill 0.0 0.0;
44                 margin { top 2; right 2; bottom 2; left 2; };
45         };
46 };
47
48 graphic "grey_button"
49 {
50         texture "gui.png";
51         slice 2 54 21 10;
52         border { top 2; right 3; bottom 4; left 2; };
53         shadow { top 0; right 1; bottom 2; left 0; };
54 };
55
56 graphic "grey_button_pressed"
57 {
58         texture "gui.png";
59         slice 25 54 21 10;
60         border { top 2; right 3; bottom 4; left 2; };
61         shadow { top 0; right 1; bottom 2; left 0; };
62 };
63
64 graphic "green_button"
65 {
66         texture "gui.png";
67         slice 2 43 21 10;
68         border { top 2; right 3; bottom 4; left 2; };
69         shadow { top 0; right 1; bottom 2; left 0; };
70 };
71
72 graphic "green_button_pressed"
73 {
74         texture "gui.png";
75         slice 25 43 21 10;
76         border { top 2; right 3; bottom 4; left 2; };
77         shadow { top 0; right 1; bottom 2; left 0; };
78 };
79
80 graphic "red_button"
81 {
82         texture "gui.png";
83         slice 2 32 21 10;
84         border { top 2; right 3; bottom 4; left 2; };
85         shadow { top 0; right 1; bottom 2; left 0; };
86 };
87
88 graphic "red_button_pressed"
89 {
90         texture "gui.png";
91         slice 25 32 21 10;
92         border { top 2; right 3; bottom 4; left 2; };
93         shadow { top 0; right 1; bottom 2; left 0; };
94 };
95
96 graphic "up_arrow_button"
97 {
98         texture "gui.png";
99         slice 2 18 13 13;
100         shadow { top 0; right 1; bottom 2; left 0; };
101 };
102
103 graphic "up_arrow_button_pressed"
104 {
105         texture "gui.png";
106         slice 17 18 13 13;
107         shadow { top 0; right 1; bottom 2; left 0; };
108 };
109
110 graphic "down_arrow_button"
111 {
112         texture "gui.png";
113         slice 2 4 13 13;
114         shadow { top 0; right 1; bottom 2; left 0; };
115 };
116
117 graphic "down_arrow_button_pressed"
118 {
119         texture "gui.png";
120         slice 17 4 13 13;
121         shadow { top 0; right 1; bottom 2; left 0; };
122 };
123
124 style "button"
125 {
126         font_color 0 0 0;
127
128         part
129         {
130                 graphic NORMAL "grey_button";
131                 graphic ACTIVE "grey_button_pressed";
132                 align 0.5 0.0;
133                 fill 0.0 0.0;
134         };
135
136         special "text"
137         {
138                 align 0.5 1.0;
139                 fill 0.0 0.0;
140         };
141 };
142
143 style "button-green"
144 {
145         font_color 0 0 0;
146
147         part
148         {
149                 graphic NORMAL "green_button";
150                 graphic ACTIVE "green_button_pressed";
151                 align 0.5 0.0;
152                 fill 0.0 0.0;
153         };
154
155         special "text"
156         {
157                 align 0.5 1.0;
158                 fill 0.0 0.0;
159         };
160 };
161
162 style "button-red"
163 {
164         font_color 0 0 0;
165
166         part
167         {
168                 graphic NORMAL "red_button";
169                 graphic ACTIVE "red_button_pressed";
170                 align 0.5 0.0;
171                 fill 0.0 0.0;
172         };
173
174         special "text"
175         {
176                 align 0.5 1.0;
177                 fill 0.0 0.0;
178         };
179 };
180
181 style "button-arrow_up"
182 {
183         part
184         {
185                 graphic NORMAL "up_arrow_button";
186                 graphic ACTIVE "up_arrow_button_pressed";
187                 align 0.5 0.5;
188                 fill 0.0 0.0;
189         };
190 };
191
192 style "button-arrow_down"
193 {
194         part
195         {
196                 graphic NORMAL "down_arrow_button";
197                 graphic ACTIVE "down_arrow_button_pressed";
198                 align 0.5 0.5;
199                 fill 0.0 0.0;
200         };
201 };
202
203 graphic "yellow_lamp"
204 {
205         texture "gui.png";
206         slice 28 105 10 10;
207 };
208
209 graphic "yellow_lamp_lit"
210 {
211         texture "gui.png";
212         slice 28 117 10 10;
213 };
214
215 graphic "green_lamp"
216 {
217         texture "gui.png";
218         slice 40 105 10 10;
219 };
220
221 graphic "green_lamp_lit"
222 {
223         texture "gui.png";
224         slice 40 117 10 10;
225 };
226
227 graphic "red_lamp"
228 {
229         texture "gui.png";
230         slice 52 105 10 10;
231 };
232
233 graphic "red_lamp_lit"
234 {
235         texture "gui.png";
236         slice 52 116 10 10;
237 };
238
239 style "indicator"
240 {
241         part
242         {
243                 graphic NORMAL "yellow_lamp";
244                 graphic ACTIVE "yellow_lamp_lit";
245                 align 0.5 0.5;
246                 fill 0.0 0.0;
247         };
248 };
249
250 style "indicator-green"
251 {
252         part
253         {
254                 graphic NORMAL "green_lamp";
255                 graphic ACTIVE "green_lamp_lit";
256                 align 0.5 0.5;
257                 fill 0.0 0.0;
258         };
259 };
260
261 style "indicator-red"
262 {
263         part
264         {
265                 graphic NORMAL "red_lamp";
266                 graphic ACTIVE "red_lamp_lit";
267                 align 0.5 0.5;
268                 fill 0.0 0.0;
269         };
270 };
271
272 graphic "raised_grey_bg"
273 {
274         texture "gui.png";
275         slice 2 74 24 16;
276         border { top 4; right 4; bottom 4; left 4; };
277 };
278
279 style "panel"
280 {
281         part
282         {
283                 graphic NORMAL "raised_grey_bg";
284         };
285         special "children";
286 };
287
288 style "panel-group"
289 {
290         special "children";
291 };
292
293 graphic "sunken_black_bg"
294 {
295         texture "gui.png";
296         slice 2 110 24 16;
297         border { top 4; right 4; bottom 4; left 4; };
298 };
299
300 style "label-digital"
301 {
302         font "digitalreadout-16.font";
303         font_color 0.3 1 0.3;
304
305         part
306         {
307                 graphic NORMAL "sunken_black_bg";
308         };
309
310         special "text"
311         {
312                 fill 0.0 0.0;
313                 align 0.5 0.5;
314                 margin { top 1; };
315         };
316 };
317
318 graphic "sunken_white_bg"
319 {
320         texture "gui.png";
321         slice 2 92 24 16;
322         border { top 4; right 4; bottom 4; left 4; };
323 };
324
325 graphic "cursor"
326 {
327         texture "gui.png";
328         slice 40 81 2 10;
329 };
330
331 style "entry"
332 {
333         font_color 0 0 0;
334
335         part
336         {
337                 graphic NORMAL "sunken_white_bg";
338         };
339
340         special "text"
341         {
342                 align 0.0 0.5;
343                 fill 0.0 0.0;
344                 margin { left 3; right 3; };
345         };
346
347         special "cursor"
348         {
349                 graphic FOCUS "cursor";
350                 align 0.0 0.5;
351                 fill 0.0 0.0;
352                 size 2 12;
353                 margin { left 3; right 3; };
354         };
355 };
356
357 style "entry-multiline"
358 {
359         font_color 0 0 0;
360
361         part
362         {
363                 graphic NORMAL "sunken_white_bg";
364         };
365
366         special "text"
367         {
368                 align 0.0 1.0;
369                 fill 0.0 0.0;
370                 margin { top 2; right 13; left 3; bottom 2; };
371         };
372
373         special "cursor"
374         {
375                 graphic FOCUS "cursor";
376                 size 2 12;
377         };
378
379         special "slider"
380         {
381                 align 1.0 0.0;
382                 fill 0.0 1.0;
383                 size 10 0;
384                 margin { top 3; right 2; bottom 3; };
385         };
386 };
387
388 graphic "selection"
389 {
390         texture "gui.png";
391         slice 44 81 20 10;
392         border { top 4; right 4; bottom 4; left 4; };
393 };
394
395 style "list"
396 {
397         font_color 0.0 0.0 0.0;
398
399         part
400         {
401                 graphic NORMAL "sunken_white_bg";
402         };
403
404         special "selection"
405         {
406                 graphic NORMAL "selection";
407                 fill 1.0 1.0;
408                 margin { top 2; right 13; bottom 2; left 2; };
409         };
410
411         special "items"
412         {
413                 margin { top 2; right 13; bottom 2; left 2; };
414         };
415
416         special "slider"
417         {
418                 align 1.0 0.0;
419                 fill 0.0 1.0;
420                 size 10 0;
421                 margin { top 3; right 2; bottom 3; };
422         };
423 };
424
425 style "dropdown"
426 {
427         font_color 0.0 0.0 0.0;
428
429         part
430         {
431                 graphic NORMAL "sunken_white_bg";
432                 margin { right 14; };
433         };
434
435         part
436         {
437                 graphic NORMAL "down_arrow_button";
438                 graphic ACTIVE "down_arrow_button_pressed";
439                 align 1.0 0.5;
440                 fill 0.0 0.0;
441         };
442
443         special "text"
444         {
445                 align 0.0 0.5;
446                 fill 0.0 0.0;
447                 margin { left 2; };
448         };
449
450         special "list";
451 };
452
453 graphic "switch_up"
454 {
455         texture "gui.png";
456         slice 48 42 20 21;
457         shadow { top 0; right 2; bottom 3; left 0; };
458 };
459
460 graphic "switch_down"
461 {
462         texture "gui.png";
463         slice 48 20 20 21;
464         shadow { top 0; right 2; bottom 3; left 0; };
465 };
466
467 style "toggle"
468 {
469         font_color 0.0 0.0 0.0;
470
471         special "text"
472         {
473                 align 0.5 1.0;
474                 fill 0.0 0.0;
475         };
476
477         part
478         {
479                 align 0.5 0.0;
480                 fill 0.0 0.0;
481                 graphic NORMAL "switch_down";
482                 graphic ACTIVE "switch_up";
483         };
484 };
485
486 graphic "horizontal_slot"
487 {
488         texture "gui.png";
489         slice 32 97 12 2;
490         border { left 1; right 1; };
491 };
492
493 graphic "horizontal_knob"
494 {
495         texture "gui.png";
496         slice 70 51 32 13;
497         shadow { top 0; right 2; bottom 3; left 0; };
498 };
499
500 style "hslider"
501 {
502         part
503         {
504                 graphic NORMAL "horizontal_slot";
505                 align 0.5 0.5;
506                 fill 1.0 0.0;
507                 margin { left 4; right 4; };
508         };
509
510         special "slider"
511         {
512                 graphic NORMAL "horizontal_knob";
513                 fill 0.0 0.0;
514         };
515 };
516
517 graphic "vertical_slot"
518 {
519         texture "gui.png";
520         slice 32 75 2 12;
521         border { top 1; bottom 1; };
522 };
523
524 graphic "vertical_knob"
525 {
526         texture "gui.png";
527         slice 70 17 12 33;
528         shadow { top 0; right 2; bottom 3; left 0; };
529 };
530
531 style "vslider"
532 {
533         part
534         {
535                 graphic NORMAL "vertical_slot";
536                 align 0.5 0.5;
537                 fill 0.0 1.0;
538                 margin { top 4; bottom 4; };
539         };
540
541         special "slider"
542         {
543                 graphic NORMAL "vertical_knob";
544                 fill 0.0 0.0;
545                 align 0.0 1.0;
546         };
547 };