]> git.tdb.fi Git - r2c2.git/blob - r2c2.res
d16f555e6bd452cca7a74620d62946705f39f4d6
[r2c2.git] / 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 style "button"
166 {
167         font_color 0 0 0;
168
169         part
170         {
171                 graphic NORMAL "grey_button";
172                 graphic ACTIVE "grey_button_pressed";
173                 align 0.5 0.0;
174                 fill 0.0 0.0;
175                 margin { horizontal 5; };
176         };
177
178         part "text"
179         {
180                 align 0.5 1.0;
181                 fill 0.0 0.0;
182                 margin { bottom 10; };
183         };
184 };
185
186 style "button-green"
187 {
188         font_color 0 0 0;
189
190         part
191         {
192                 graphic NORMAL "green_button";
193                 graphic ACTIVE "green_button_pressed";
194                 align 0.5 0.0;
195                 fill 0.0 0.0;
196                 margin { horizontal 5; };
197         };
198
199         part "text"
200         {
201                 align 0.5 1.0;
202                 fill 0.0 0.0;
203                 margin { bottom 10; };
204         };
205 };
206
207 style "button-red"
208 {
209         font_color 0 0 0;
210
211         part
212         {
213                 graphic NORMAL "red_button";
214                 graphic ACTIVE "red_button_pressed";
215                 align 0.5 0.0;
216                 fill 0.0 0.0;
217                 margin { horizontal 5; };
218         };
219
220         part "text"
221         {
222                 align 0.5 1.0;
223                 fill 0.0 0.0;
224                 margin { bottom 10; };
225         };
226 };
227
228 style "button-arrow_up"
229 {
230         part
231         {
232                 graphic NORMAL "up_arrow_button";
233                 graphic ACTIVE "up_arrow_button_pressed";
234                 align 0.5 0.5;
235                 fill 0.0 0.0;
236         };
237 };
238
239 style "button-arrow_down"
240 {
241         part
242         {
243                 graphic NORMAL "down_arrow_button";
244                 graphic ACTIVE "down_arrow_button_pressed";
245                 align 0.5 0.5;
246                 fill 0.0 0.0;
247         };
248 };
249
250 style "button-arrow_right"
251 {
252         part
253         {
254                 graphic NORMAL "right_arrow_button";
255                 graphic ACTIVE "right_arrow_button_pressed";
256                 align 0.5 0.5;
257                 fill 0.0 0.0;
258         };
259 };
260
261 style "button-arrow_left"
262 {
263         part
264         {
265                 graphic NORMAL "left_arrow_button";
266                 graphic ACTIVE "left_arrow_button_pressed";
267                 align 0.5 0.5;
268                 fill 0.0 0.0;
269         };
270 };
271
272 graphic "yellow_lamp"
273 {
274         texture "gui.png";
275         slice 28 105 10 10;
276 };
277
278 graphic "yellow_lamp_lit"
279 {
280         texture "gui.png";
281         slice 28 117 10 10;
282 };
283
284 graphic "green_lamp"
285 {
286         texture "gui.png";
287         slice 40 105 10 10;
288 };
289
290 graphic "green_lamp_lit"
291 {
292         texture "gui.png";
293         slice 40 117 10 10;
294 };
295
296 graphic "red_lamp"
297 {
298         texture "gui.png";
299         slice 52 105 10 10;
300 };
301
302 graphic "red_lamp_lit"
303 {
304         texture "gui.png";
305         slice 52 116 10 10;
306 };
307
308 style "indicator"
309 {
310         part
311         {
312                 graphic NORMAL "yellow_lamp";
313                 graphic ACTIVE "yellow_lamp_lit";
314                 align 0.5 0.5;
315                 fill 0.0 0.0;
316         };
317 };
318
319 style "indicator-green"
320 {
321         part
322         {
323                 graphic NORMAL "green_lamp";
324                 graphic ACTIVE "green_lamp_lit";
325                 align 0.5 0.5;
326                 fill 0.0 0.0;
327         };
328 };
329
330 style "indicator-red"
331 {
332         part
333         {
334                 graphic NORMAL "red_lamp";
335                 graphic ACTIVE "red_lamp_lit";
336                 align 0.5 0.5;
337                 fill 0.0 0.0;
338         };
339 };
340
341 graphic "raised_grey_bg"
342 {
343         texture "gui.png";
344         slice 2 74 24 16;
345         border { horizontal 4; vertical 4; };
346 };
347
348 style "panel"
349 {
350         part
351         {
352                 graphic NORMAL "raised_grey_bg";
353         };
354         part "children";
355 };
356
357 style "panel-group"
358 {
359         part "children";
360 };
361
362 graphic "sunken_black_bg"
363 {
364         texture "gui.png";
365         slice 2 110 24 16;
366         border { horizontal 4; vertical 4; };
367 };
368
369 style "label-digital"
370 {
371         font "digitalreadout-16.font";
372         font_color 0.3 1 0.3;
373
374         part
375         {
376                 graphic NORMAL "sunken_black_bg";
377         };
378
379         part "text"
380         {
381                 fill 0.0 0.0;
382                 align 0.5 0.5;
383                 margin { top 1; };
384         };
385 };
386
387 graphic "sunken_white_bg"
388 {
389         texture "gui.png";
390         slice 2 92 24 16;
391         border { horizontal 4; vertical 4; };
392 };
393
394 graphic "cursor"
395 {
396         texture "gui.png";
397         slice 40 81 2 10;
398 };
399
400 style "entry"
401 {
402         font_color 0 0 0;
403
404         part
405         {
406                 graphic NORMAL "sunken_white_bg";
407         };
408
409         part "text"
410         {
411                 align 0.0 0.5;
412                 fill 0.0 0.0;
413                 margin { horizontal 3; vertical 2; };
414         };
415
416         part "cursor"
417         {
418                 graphic FOCUS "cursor";
419                 align 0.0 0.5;
420                 fill 0.0 0.0;
421                 size 2 12;
422                 margin { left 3; right 3; };
423         };
424 };
425
426 style "entry-multiline"
427 {
428         font_color 0 0 0;
429
430         part
431         {
432                 graphic NORMAL "sunken_white_bg";
433         };
434
435         part "text"
436         {
437                 align 0.0 1.0;
438                 fill 0.0 0.0;
439                 margin { vertical 2; right 13; left 3; };
440         };
441
442         part "cursor"
443         {
444                 graphic FOCUS "cursor";
445                 size 2 12;
446         };
447
448         part "slider"
449         {
450                 align 1.0 0.0;
451                 fill 0.0 1.0;
452                 size 10 0;
453                 margin { vertical 3; right 2; };
454         };
455 };
456
457 graphic "selection"
458 {
459         texture "gui.png";
460         slice 44 81 20 10;
461         border { horizontal 4; vertical 4; };
462 };
463
464 style "list"
465 {
466         font_color 0.0 0.0 0.0;
467
468         part
469         {
470                 graphic NORMAL "sunken_white_bg";
471         };
472
473         part "selection"
474         {
475                 graphic NORMAL "selection";
476                 fill 1.0 1.0;
477                 margin { vertical 2; right 13; left 2; };
478         };
479
480         part "items"
481         {
482                 margin { vertical 2; right 13; left 2; };
483         };
484
485         part "slider"
486         {
487                 align 1.0 0.0;
488                 fill 0.0 1.0;
489                 size 10 0;
490                 margin { vertical 3; right 2; };
491         };
492 };
493
494 style "dropdown"
495 {
496         font_color 0.0 0.0 0.0;
497
498         part
499         {
500                 graphic NORMAL "sunken_white_bg";
501                 margin { right 14; };
502         };
503
504         part
505         {
506                 graphic NORMAL "down_arrow_button";
507                 graphic ACTIVE "down_arrow_button_pressed";
508                 align 1.0 0.5;
509                 fill 0.0 0.0;
510         };
511
512         part "text"
513         {
514                 align 0.0 0.5;
515                 fill 0.0 0.0;
516                 margin { vertical 2; left 3; right 17; };
517         };
518
519         part "list";
520 };
521
522 graphic "switch_up"
523 {
524         texture "gui.png";
525         slice 48 42 20 21;
526         shadow { top 0; right 2; bottom 3; left 0; };
527 };
528
529 graphic "switch_down"
530 {
531         texture "gui.png";
532         slice 48 20 20 21;
533         shadow { top 0; right 2; bottom 3; left 0; };
534 };
535
536 style "toggle"
537 {
538         font_color 0.0 0.0 0.0;
539
540         part "text"
541         {
542                 align 0.5 1.0;
543                 fill 0.0 0.0;
544         };
545
546         part
547         {
548                 align 0.5 0.0;
549                 fill 0.0 0.0;
550                 graphic NORMAL "switch_down";
551                 graphic ACTIVE "switch_up";
552         };
553 };
554
555 graphic "horizontal_slot"
556 {
557         texture "gui.png";
558         slice 32 97 12 2;
559         border { horizontal 1; };
560 };
561
562 graphic "horizontal_knob"
563 {
564         texture "gui.png";
565         slice 70 51 32 13;
566         shadow { top 0; right 2; bottom 3; left 0; };
567 };
568
569 style "hslider"
570 {
571         part
572         {
573                 graphic NORMAL "horizontal_slot";
574                 align 0.5 0.5;
575                 fill 1.0 0.0;
576                 margin { horizontal 4; };
577         };
578
579         part "slider"
580         {
581                 graphic NORMAL "horizontal_knob";
582                 fill 0.0 0.0;
583         };
584 };
585
586 graphic "vertical_slot"
587 {
588         texture "gui.png";
589         slice 32 75 2 12;
590         border { vertical 1; };
591 };
592
593 graphic "vertical_knob"
594 {
595         texture "gui.png";
596         slice 70 17 12 33;
597         shadow { top 0; right 2; bottom 3; left 0; };
598 };
599
600 style "vslider"
601 {
602         part
603         {
604                 graphic NORMAL "vertical_slot";
605                 align 0.5 0.5;
606                 fill 0.0 1.0;
607                 margin { vertical 4; };
608         };
609
610         part "slider"
611         {
612                 graphic NORMAL "vertical_knob";
613                 fill 0.0 0.0;
614                 align 0.0 1.0;
615         };
616 };