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