]> git.tdb.fi Git - r2c2.git/blob - data/r2c2.res
18cdfc828260824bebd7dce262dfd25e5658f12d
[r2c2.git] / data / r2c2.res
1 default_font "dejavu-12.font";
2
3 style "root"
4 {
5         part "children";
6 };
7
8 style "label"
9 {
10         font_color 0 0 0;
11         part "text"
12         {
13                 align 0.0 0.5;
14                 fill 0.0 0.0;
15         };
16 };
17
18 style "label-title"
19 {
20         font_color 0 0 0;
21         part "text"
22         {
23                 align 0.5 1.0;
24                 fill 0.0 0.0;
25                 margin { bottom 5; };
26         };
27 };
28
29 style "image"
30 {
31         part "image"
32         {
33                 fill 1.0 1.0;
34         };
35 };
36
37 graphic "tooltip"
38 {
39         texture "gui.png";
40         slice 50 93 20 10;
41         border { horizontal 2; vertical 2; };
42 };
43
44 style "label-tooltip"
45 {
46         font_color 0.0 0.0 0.0;
47
48         part
49         {
50                 graphic NORMAL "tooltip";
51         };
52
53         part "text"
54         {
55                 align 0.0 0.5;
56                 fill 0.0 0.0;
57                 margin { horizontal 2; vertical 2; };
58         };
59 };
60
61 graphic "grey_button"
62 {
63         texture "gui.png";
64         slice 2 54 21 10;
65         border { top 2; right 3; bottom 4; left 2; };
66         shadow { top 0; right 1; bottom 2; left 0; };
67 };
68
69 graphic "grey_button_pressed"
70 {
71         texture "gui.png";
72         slice 25 54 21 10;
73         border { top 2; right 3; bottom 4; left 2; };
74         shadow { top 0; right 1; bottom 2; left 0; };
75 };
76
77 graphic "green_button"
78 {
79         texture "gui.png";
80         slice 2 43 21 10;
81         border { top 2; right 3; bottom 4; left 2; };
82         shadow { top 0; right 1; bottom 2; left 0; };
83 };
84
85 graphic "green_button_pressed"
86 {
87         texture "gui.png";
88         slice 25 43 21 10;
89         border { top 2; right 3; bottom 4; left 2; };
90         shadow { top 0; right 1; bottom 2; left 0; };
91 };
92
93 graphic "red_button"
94 {
95         texture "gui.png";
96         slice 2 32 21 10;
97         border { top 2; right 3; bottom 4; left 2; };
98         shadow { top 0; right 1; bottom 2; left 0; };
99 };
100
101 graphic "red_button_pressed"
102 {
103         texture "gui.png";
104         slice 25 32 21 10;
105         border { top 2; right 3; bottom 4; left 2; };
106         shadow { top 0; right 1; bottom 2; left 0; };
107 };
108
109 graphic "up_arrow_button"
110 {
111         texture "gui.png";
112         slice 2 18 13 13;
113         shadow { right 1; bottom 2; };
114 };
115
116 graphic "up_arrow_button_pressed"
117 {
118         texture "gui.png";
119         slice 17 19 13 12;
120         shadow { right 1; bottom 1; };
121 };
122
123 graphic "down_arrow_button"
124 {
125         texture "gui.png";
126         slice 2 4 13 13;
127         shadow { right 1; bottom 2; };
128 };
129
130 graphic "down_arrow_button_pressed"
131 {
132         texture "gui.png";
133         slice 17 5 13 12;
134         shadow { right 1; bottom 1; };
135 };
136
137 graphic "right_arrow_button"
138 {
139         texture "gui.png";
140         slice 32 17 12 14;
141         shadow { right 1; bottom 2; };
142 };
143
144 graphic "right_arrow_button_pressed"
145 {
146         texture "gui.png";
147         slice 32 3 12 13;
148         shadow { right 1; bottom 1; };
149 };
150
151 graphic "left_arrow_button"
152 {
153         texture "gui.png";
154         slice 46 2 12 14;
155         shadow { right 1; bottom 2; };
156 };
157
158 graphic "left_arrow_button_pressed"
159 {
160         texture "gui.png";
161         slice 60 3 12 13;
162         shadow { right 1; bottom 1; };
163 };
164
165 graphic "red_cross_button"
166 {
167         texture "gui.png";
168         slice 74 2 13 14;
169         shadow { right 1; bottom 2; };
170 };
171
172 graphic "red_cross_button_pressed"
173 {
174         texture "gui.png";
175         slice 89 3 13 13;
176         shadow { right 1; bottom 1; };
177 };
178
179 style "button"
180 {
181         font_color 0 0 0;
182
183         part
184         {
185                 graphic NORMAL "grey_button";
186                 graphic ACTIVE "grey_button_pressed";
187                 align 0.5 0.0;
188                 fill 0.0 0.0;
189                 margin { horizontal 5; };
190         };
191
192         part "text"
193         {
194                 align 0.5 1.0;
195                 fill 0.0 0.0;
196                 margin { bottom 10; };
197         };
198 };
199
200 style "button-green"
201 {
202         font_color 0 0 0;
203
204         part
205         {
206                 graphic NORMAL "green_button";
207                 graphic ACTIVE "green_button_pressed";
208                 align 0.5 0.0;
209                 fill 0.0 0.0;
210                 margin { horizontal 5; };
211         };
212
213         part "text"
214         {
215                 align 0.5 1.0;
216                 fill 0.0 0.0;
217                 margin { bottom 10; };
218         };
219 };
220
221 style "button-red"
222 {
223         font_color 0 0 0;
224
225         part
226         {
227                 graphic NORMAL "red_button";
228                 graphic ACTIVE "red_button_pressed";
229                 align 0.5 0.0;
230                 fill 0.0 0.0;
231                 margin { horizontal 5; };
232         };
233
234         part "text"
235         {
236                 align 0.5 1.0;
237                 fill 0.0 0.0;
238                 margin { bottom 10; };
239         };
240 };
241
242 style "button-arrow_up"
243 {
244         part
245         {
246                 graphic NORMAL "up_arrow_button";
247                 graphic ACTIVE "up_arrow_button_pressed";
248                 align 0.5 0.5;
249                 fill 0.0 0.0;
250         };
251 };
252
253 style "button-arrow_down"
254 {
255         part
256         {
257                 graphic NORMAL "down_arrow_button";
258                 graphic ACTIVE "down_arrow_button_pressed";
259                 align 0.5 0.5;
260                 fill 0.0 0.0;
261         };
262 };
263
264 style "button-arrow_right"
265 {
266         part
267         {
268                 graphic NORMAL "right_arrow_button";
269                 graphic ACTIVE "right_arrow_button_pressed";
270                 align 0.5 0.5;
271                 fill 0.0 0.0;
272         };
273 };
274
275 style "button-arrow_left"
276 {
277         part
278         {
279                 graphic NORMAL "left_arrow_button";
280                 graphic ACTIVE "left_arrow_button_pressed";
281                 align 0.5 0.5;
282                 fill 0.0 0.0;
283         };
284 };
285
286 style "button-red_cross"
287 {
288         part
289         {
290                 graphic NORMAL "red_cross_button";
291                 graphic ACTIVE "red_cross_button_pressed";
292                 align 0.5 0.5;
293                 fill 0.0 0.0;
294         };
295 };
296
297 graphic "yellow_lamp"
298 {
299         texture "gui.png";
300         slice 28 105 10 10;
301 };
302
303 graphic "yellow_lamp_lit"
304 {
305         texture "gui.png";
306         slice 28 117 10 10;
307 };
308
309 graphic "green_lamp"
310 {
311         texture "gui.png";
312         slice 40 105 10 10;
313 };
314
315 graphic "green_lamp_lit"
316 {
317         texture "gui.png";
318         slice 40 117 10 10;
319 };
320
321 graphic "red_lamp"
322 {
323         texture "gui.png";
324         slice 52 105 10 10;
325 };
326
327 graphic "red_lamp_lit"
328 {
329         texture "gui.png";
330         slice 52 116 10 10;
331 };
332
333 style "indicator"
334 {
335         part
336         {
337                 graphic NORMAL "yellow_lamp";
338                 graphic ACTIVE "yellow_lamp_lit";
339                 align 0.5 0.5;
340                 fill 0.0 0.0;
341         };
342 };
343
344 style "indicator-green"
345 {
346         part
347         {
348                 graphic NORMAL "green_lamp";
349                 graphic ACTIVE "green_lamp_lit";
350                 align 0.5 0.5;
351                 fill 0.0 0.0;
352         };
353 };
354
355 style "indicator-red"
356 {
357         part
358         {
359                 graphic NORMAL "red_lamp";
360                 graphic ACTIVE "red_lamp_lit";
361                 align 0.5 0.5;
362                 fill 0.0 0.0;
363         };
364 };
365
366 graphic "raised_grey_bg"
367 {
368         texture "gui.png";
369         slice 2 74 24 16;
370         border { horizontal 4; vertical 4; };
371 };
372
373 style "panel"
374 {
375         part
376         {
377                 graphic NORMAL "raised_grey_bg";
378         };
379         part "children";
380 };
381
382 style "panel-group"
383 {
384         part "children";
385 };
386
387 graphic "sunken_black_bg"
388 {
389         texture "gui.png";
390         slice 2 110 24 16;
391         border { horizontal 4; vertical 4; };
392 };
393
394 style "label-digital"
395 {
396         font "digitalreadout-16.font";
397         font_color 0.3 1 0.3;
398
399         part
400         {
401                 graphic NORMAL "sunken_black_bg";
402         };
403
404         part "text"
405         {
406                 fill 0.0 0.0;
407                 align 0.5 0.5;
408                 margin { horizontal 4; top 2; bottom 1; };
409         };
410 };
411
412 graphic "sunken_white_bg"
413 {
414         texture "gui.png";
415         slice 2 92 24 16;
416         border { horizontal 4; vertical 4; };
417 };
418
419 graphic "cursor"
420 {
421         texture "gui.png";
422         slice 40 81 2 10;
423 };
424
425 style "entry"
426 {
427         font_color 0 0 0;
428
429         part
430         {
431                 graphic NORMAL "sunken_white_bg";
432         };
433
434         part "text"
435         {
436                 align 0.0 0.5;
437                 fill 0.0 0.0;
438                 margin { horizontal 3; vertical 2; };
439         };
440
441         part "cursor"
442         {
443                 graphic FOCUS "cursor";
444                 align 0.0 0.5;
445                 fill 0.0 0.0;
446                 size 2 12;
447                 margin { left 3; right 3; };
448         };
449 };
450
451 style "entry-multiline"
452 {
453         font_color 0 0 0;
454
455         part
456         {
457                 graphic NORMAL "sunken_white_bg";
458         };
459
460         part "text"
461         {
462                 align 0.0 1.0;
463                 fill 0.0 0.0;
464                 margin { vertical 2; right 13; left 3; };
465         };
466
467         part "cursor"
468         {
469                 graphic FOCUS "cursor";
470                 size 2 12;
471         };
472
473         part "slider"
474         {
475                 align 1.0 0.0;
476                 fill 0.0 1.0;
477                 size 10 0;
478                 margin { vertical 3; right 2; };
479         };
480 };
481
482 graphic "selection"
483 {
484         texture "gui.png";
485         slice 44 81 20 10;
486         border { horizontal 4; vertical 4; };
487 };
488
489 style "list"
490 {
491         part
492         {
493                 graphic NORMAL "sunken_white_bg";
494         };
495
496         part "items"
497         {
498                 margin { vertical 2; right 13; left 2; };
499         };
500
501         part "slider"
502         {
503                 align 1.0 0.0;
504                 fill 0.0 1.0;
505                 size 10 0;
506                 margin { vertical 3; right 2; };
507         };
508 };
509
510 style "listitem"
511 {
512         part
513         {
514                 graphic ACTIVE "selection";
515                 fill 1.0 1.0;
516         };
517
518         part "children"
519         {
520                 margin { vertical 1; horizontal 2; };
521         };
522 };
523
524 style "dropdown"
525 {
526         font_color 0.0 0.0 0.0;
527
528         part
529         {
530                 graphic NORMAL "sunken_white_bg";
531                 margin { right 14; };
532         };
533
534         part
535         {
536                 graphic NORMAL "down_arrow_button";
537                 graphic ACTIVE "down_arrow_button_pressed";
538                 align 1.0 0.5;
539                 fill 0.0 0.0;
540         };
541
542         part "text"
543         {
544                 align 0.0 0.5;
545                 fill 0.0 0.0;
546                 margin { vertical 2; left 3; right 17; };
547         };
548
549         part "list";
550 };
551
552 graphic "switch_up"
553 {
554         texture "gui.png";
555         slice 48 42 20 21;
556         shadow { top 0; right 2; bottom 3; left 0; };
557 };
558
559 graphic "switch_down"
560 {
561         texture "gui.png";
562         slice 48 20 20 21;
563         shadow { top 0; right 2; bottom 3; left 0; };
564 };
565
566 style "toggle"
567 {
568         font_color 0.0 0.0 0.0;
569
570         part "text"
571         {
572                 align 0.5 1.0;
573                 fill 0.0 0.0;
574                 margin { bottom 10; };
575         };
576
577         part
578         {
579                 align 0.5 0.0;
580                 fill 0.0 0.0;
581                 graphic NORMAL "switch_down";
582                 graphic ACTIVE "switch_up";
583         };
584 };
585
586 graphic "horizontal_slot"
587 {
588         texture "gui.png";
589         slice 32 97 12 2;
590         border { horizontal 1; };
591 };
592
593 graphic "horizontal_knob"
594 {
595         texture "gui.png";
596         slice 70 51 32 13;
597         shadow { top 0; right 2; bottom 3; left 0; };
598 };
599
600 style "hslider"
601 {
602         part
603         {
604                 graphic NORMAL "horizontal_slot";
605                 align 0.5 0.5;
606                 fill 1.0 0.0;
607                 margin { horizontal 4; };
608         };
609
610         part "slider"
611         {
612                 graphic NORMAL "horizontal_knob";
613                 align 0.0 0.5;
614                 fill 0.0 0.0;
615         };
616 };
617
618 graphic "vertical_slot"
619 {
620         texture "gui.png";
621         slice 32 75 2 12;
622         border { vertical 1; };
623 };
624
625 graphic "vertical_knob"
626 {
627         texture "gui.png";
628         slice 70 17 12 33;
629         shadow { top 0; right 2; bottom 3; left 0; };
630 };
631
632 style "vslider"
633 {
634         part
635         {
636                 graphic NORMAL "vertical_slot";
637                 align 0.5 0.5;
638                 fill 0.0 1.0;
639                 margin { vertical 4; };
640         };
641
642         part "slider"
643         {
644                 graphic NORMAL "vertical_knob";
645                 fill 0.0 0.0;
646                 align 0.0 1.0;
647         };
648 };
649
650 style "draghandle";
651
652 graphic "pointer_down"
653 {
654         texture "gui.png";
655         slice 98 36 13 14;
656         shadow { right 1; bottom 2; };
657 };
658
659 graphic "pointer_up"
660 {
661         texture "gui.png";
662         slice 83 36 13 14;
663         shadow { right 1; bottom 2; };
664 };
665
666 graphic "pointer_left"
667 {
668         texture "gui.png";
669         slice 83 21 13 14;
670         shadow { right 1; bottom 2; };
671 };
672
673 graphic "pointer_right"
674 {
675         texture "gui.png";
676         slice 98 21 13 14;
677         shadow { right 1; bottom 2; };
678 };
679
680 style "toggle-pointer_left"
681 {
682         font_color 0.0 0.0 0.0;
683
684         part "text"
685         {
686                 align 0.0 0.5;
687                 fill 0.0 0.0;
688                 margin { vertical 2; right 4; left 2; };
689         };
690
691         part
692         {
693                 graphic NORMAL "vertical_slot";
694                 align 1.0 0.0;
695                 fill 0.0 1.0;
696         };
697
698         part
699         {
700                 graphic ACTIVE "pointer_left";
701                 align 1.0 0.5;
702                 fill 0.0 0.0;
703         };
704 };
705
706 graphic "lever_down"
707 {
708         texture "gui.png";
709         slice 103 52 20 22;
710         shadow { right 3; bottom 4; };
711 };
712
713 graphic "lever_up"
714 {
715         texture "gui.png";
716         slice 103 76 20 22;
717         shadow { right 3; bottom 4; };
718 };
719
720 style "toggle-lever"
721 {
722         font_color 0.0 0.0 0.0;
723
724         part
725         {
726                 align 0.5 0.5;
727                 fill 0.0 0.0;
728                 graphic NORMAL "lever_down";
729                 graphic ACTIVE "lever_up";
730         };
731 };
732
733 style "clock"
734 {
735         part "hourhand";
736         part "minutehand";
737 };