]> git.tdb.fi Git - r2c2.git/blob - data/r2c2.res
Some other minor UI tweaks
[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 style "label-digital_borderless"
413 {
414         font "digitalreadout-16.font";
415         font_color 0.3 1 0.3;
416
417         part "text"
418         {
419                 fill 0.0 0.0;
420                 align 0.0 0.5;
421         };
422 };
423
424 style "panel-digital_background"
425 {
426         part
427         {
428                 graphic NORMAL "sunken_black_bg";
429         };
430
431         part "children";
432 };
433
434 graphic "sunken_white_bg"
435 {
436         texture "gui.png";
437         slice 2 92 24 16;
438         border { horizontal 4; vertical 4; };
439 };
440
441 graphic "cursor"
442 {
443         texture "gui.png";
444         slice 40 81 2 10;
445         shadow { bottom 1; };
446 };
447
448 style "entry"
449 {
450         font_color 0 0 0;
451
452         part
453         {
454                 graphic NORMAL "sunken_white_bg";
455         };
456
457         part "text"
458         {
459                 align 0.0 0.5;
460                 fill 0.0 0.0;
461                 margin { horizontal 3; vertical 2; };
462         };
463
464         part "cursor"
465         {
466                 graphic FOCUS "cursor";
467                 align 0.0 0.5;
468                 fill 0.0 0.0;
469                 size 2 12;
470                 margin { horizontal 3; };
471         };
472 };
473
474 style "entry-multiline"
475 {
476         font_color 0 0 0;
477
478         part
479         {
480                 graphic NORMAL "sunken_white_bg";
481         };
482
483         part "text"
484         {
485                 align 0.0 1.0;
486                 fill 0.0 0.0;
487                 margin { vertical 2; right 13; left 3; };
488         };
489
490         part "cursor"
491         {
492                 graphic FOCUS "cursor";
493                 size 2 12;
494         };
495
496         part "slider"
497         {
498                 align 1.0 0.0;
499                 fill 0.0 1.0;
500                 size 10 0;
501                 margin { vertical 3; right 2; };
502         };
503 };
504
505 graphic "selection"
506 {
507         texture "gui.png";
508         slice 44 81 20 10;
509         border { horizontal 4; vertical 4; };
510 };
511
512 style "list"
513 {
514         part
515         {
516                 graphic NORMAL "sunken_white_bg";
517         };
518
519         part "items"
520         {
521                 margin { vertical 2; right 13; left 2; };
522         };
523
524         part "slider"
525         {
526                 align 1.0 0.0;
527                 fill 0.0 1.0;
528                 size 10 0;
529                 margin { vertical 3; right 2; };
530         };
531 };
532
533 style "listitem"
534 {
535         part
536         {
537                 graphic ACTIVE "selection";
538                 fill 1.0 1.0;
539         };
540
541         part "children"
542         {
543                 margin { vertical 1; horizontal 2; };
544         };
545 };
546
547 style "dropdown"
548 {
549         font_color 0.0 0.0 0.0;
550
551         part
552         {
553                 graphic NORMAL "sunken_white_bg";
554                 margin { right 14; };
555         };
556
557         part
558         {
559                 graphic NORMAL "down_arrow_button";
560                 graphic ACTIVE "down_arrow_button_pressed";
561                 align 1.0 0.5;
562                 fill 0.0 0.0;
563         };
564
565         part "text"
566         {
567                 align 0.0 0.5;
568                 fill 0.0 0.0;
569                 margin { vertical 2; left 3; right 17; };
570         };
571
572         part "list";
573 };
574
575 graphic "switch_up"
576 {
577         texture "gui.png";
578         slice 48 42 20 21;
579         shadow { top 0; right 2; bottom 3; left 0; };
580 };
581
582 graphic "switch_down"
583 {
584         texture "gui.png";
585         slice 48 20 20 21;
586         shadow { top 0; right 2; bottom 3; left 0; };
587 };
588
589 style "toggle"
590 {
591         font_color 0.0 0.0 0.0;
592
593         part "text"
594         {
595                 align 0.5 1.0;
596                 fill 0.0 0.0;
597                 margin { bottom 10; };
598         };
599
600         part
601         {
602                 align 0.5 0.0;
603                 fill 0.0 0.0;
604                 graphic NORMAL "switch_down";
605                 graphic ACTIVE "switch_up";
606         };
607 };
608
609 graphic "horizontal_slot"
610 {
611         texture "gui.png";
612         slice 32 97 12 2;
613         border { horizontal 1; };
614 };
615
616 graphic "horizontal_knob"
617 {
618         texture "gui.png";
619         slice 70 51 32 13;
620         shadow { top 0; right 2; bottom 3; left 0; };
621 };
622
623 style "hslider"
624 {
625         part
626         {
627                 graphic NORMAL "horizontal_slot";
628                 align 0.5 0.5;
629                 fill 1.0 0.0;
630                 margin { horizontal 4; };
631         };
632
633         part "slider"
634         {
635                 graphic NORMAL "horizontal_knob";
636                 align 0.0 0.5;
637                 fill 0.0 0.0;
638         };
639 };
640
641 graphic "vertical_slot"
642 {
643         texture "gui.png";
644         slice 32 75 2 12;
645         border { vertical 1; };
646 };
647
648 graphic "vertical_knob"
649 {
650         texture "gui.png";
651         slice 70 17 12 33;
652         shadow { top 0; right 2; bottom 3; left 0; };
653 };
654
655 style "vslider"
656 {
657         part
658         {
659                 graphic NORMAL "vertical_slot";
660                 align 0.5 0.5;
661                 fill 0.0 1.0;
662                 margin { vertical 4; };
663         };
664
665         part "slider"
666         {
667                 graphic NORMAL "vertical_knob";
668                 fill 0.0 0.0;
669                 align 0.5 1.0;
670         };
671 };
672
673 style "draghandle";
674
675 graphic "pointer_down"
676 {
677         texture "gui.png";
678         slice 98 36 13 14;
679         shadow { right 1; bottom 2; };
680 };
681
682 graphic "pointer_up"
683 {
684         texture "gui.png";
685         slice 83 36 13 14;
686         shadow { right 1; bottom 2; };
687 };
688
689 graphic "pointer_left"
690 {
691         texture "gui.png";
692         slice 83 21 13 14;
693         shadow { right 1; bottom 2; };
694 };
695
696 graphic "pointer_right"
697 {
698         texture "gui.png";
699         slice 98 21 13 14;
700         shadow { right 1; bottom 2; };
701 };
702
703 style "toggle-pointer_left"
704 {
705         font_color 0.0 0.0 0.0;
706
707         part "text"
708         {
709                 align 0.0 0.5;
710                 fill 0.0 0.0;
711                 margin { vertical 2; right 4; left 2; };
712         };
713
714         part
715         {
716                 graphic NORMAL "vertical_slot";
717                 align 1.0 0.0;
718                 fill 0.0 1.0;
719         };
720
721         part
722         {
723                 graphic ACTIVE "pointer_left";
724                 align 1.0 0.5;
725                 fill 0.0 0.0;
726         };
727 };
728
729 graphic "lever_down"
730 {
731         texture "gui.png";
732         slice 103 52 20 22;
733         shadow { right 3; bottom 4; };
734 };
735
736 graphic "lever_up"
737 {
738         texture "gui.png";
739         slice 103 76 20 22;
740         shadow { right 3; bottom 4; };
741 };
742
743 style "toggle-lever"
744 {
745         font_color 0.0 0.0 0.0;
746
747         part
748         {
749                 align 0.5 0.5;
750                 fill 0.0 0.0;
751                 graphic NORMAL "lever_down";
752                 graphic ACTIVE "lever_up";
753         };
754 };
755
756 graphic "clock_face"
757 {
758         texture "clock.png";
759         slice 0 0 200 200;
760 };
761
762 graphic "clock_hour"
763 {
764         texture "clock.png";
765         slice 202 0 10 63;
766 };
767
768 graphic "clock_minute"
769 {
770         texture "clock.png";
771         slice 204 65 6 99;
772 };
773
774 style "clock"
775 {
776         part
777         {
778                 graphic NORMAL "clock_face";
779                 align 0.5 0.5;
780                 fill 0.0 0.0;
781         };
782
783         part "hourhand"
784         {
785                 graphic NORMAL "clock_hour";
786                 align 0.5 0.159;
787         };
788
789         part "minutehand"
790         {
791                 graphic NORMAL "clock_minute";
792                 align 0.5 0.101;
793         };
794 };