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