]> git.tdb.fi Git - r2c2.git/blob - r2c2.res
20bae38b1c41ce7910a79e995822b8f453d29a3e
[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         part
467         {
468                 graphic NORMAL "sunken_white_bg";
469         };
470
471         part "items"
472         {
473                 margin { vertical 2; right 13; left 2; };
474         };
475
476         part "slider"
477         {
478                 align 1.0 0.0;
479                 fill 0.0 1.0;
480                 size 10 0;
481                 margin { vertical 3; right 2; };
482         };
483 };
484
485 style "listitem"
486 {
487         part
488         {
489                 graphic ACTIVE "selection";
490                 fill 1.0 1.0;
491         };
492
493         part "children"
494         {
495                 margin { vertical 1; horizontal 2; };
496         };
497 };
498
499 style "dropdown"
500 {
501         font_color 0.0 0.0 0.0;
502
503         part
504         {
505                 graphic NORMAL "sunken_white_bg";
506                 margin { right 14; };
507         };
508
509         part
510         {
511                 graphic NORMAL "down_arrow_button";
512                 graphic ACTIVE "down_arrow_button_pressed";
513                 align 1.0 0.5;
514                 fill 0.0 0.0;
515         };
516
517         part "text"
518         {
519                 align 0.0 0.5;
520                 fill 0.0 0.0;
521                 margin { vertical 2; left 3; right 17; };
522         };
523
524         part "list";
525 };
526
527 graphic "switch_up"
528 {
529         texture "gui.png";
530         slice 48 42 20 21;
531         shadow { top 0; right 2; bottom 3; left 0; };
532 };
533
534 graphic "switch_down"
535 {
536         texture "gui.png";
537         slice 48 20 20 21;
538         shadow { top 0; right 2; bottom 3; left 0; };
539 };
540
541 style "toggle"
542 {
543         font_color 0.0 0.0 0.0;
544
545         part "text"
546         {
547                 align 0.5 1.0;
548                 fill 0.0 0.0;
549         };
550
551         part
552         {
553                 align 0.5 0.0;
554                 fill 0.0 0.0;
555                 graphic NORMAL "switch_down";
556                 graphic ACTIVE "switch_up";
557         };
558 };
559
560 graphic "horizontal_slot"
561 {
562         texture "gui.png";
563         slice 32 97 12 2;
564         border { horizontal 1; };
565 };
566
567 graphic "horizontal_knob"
568 {
569         texture "gui.png";
570         slice 70 51 32 13;
571         shadow { top 0; right 2; bottom 3; left 0; };
572 };
573
574 style "hslider"
575 {
576         part
577         {
578                 graphic NORMAL "horizontal_slot";
579                 align 0.5 0.5;
580                 fill 1.0 0.0;
581                 margin { horizontal 4; };
582         };
583
584         part "slider"
585         {
586                 graphic NORMAL "horizontal_knob";
587                 fill 0.0 0.0;
588         };
589 };
590
591 graphic "vertical_slot"
592 {
593         texture "gui.png";
594         slice 32 75 2 12;
595         border { vertical 1; };
596 };
597
598 graphic "vertical_knob"
599 {
600         texture "gui.png";
601         slice 70 17 12 33;
602         shadow { top 0; right 2; bottom 3; left 0; };
603 };
604
605 style "vslider"
606 {
607         part
608         {
609                 graphic NORMAL "vertical_slot";
610                 align 0.5 0.5;
611                 fill 0.0 1.0;
612                 margin { vertical 4; };
613         };
614
615         part "slider"
616         {
617                 graphic NORMAL "vertical_knob";
618                 fill 0.0 0.0;
619                 align 0.0 1.0;
620         };
621 };