]> git.tdb.fi Git - r2c2.git/blob - marklin.res
Convert designer to use mspgltk for UI
[r2c2.git] / marklin.res
1 /* $Id$ */
2
3 default_font "dejavu-12.font";
4
5 graphic "greybutton"
6 {
7         texture "gui.png";
8         slice 0 54 21 10;
9         border { top 2; right 3; bottom 4; left 2; };
10         shadow { top 0; right 1; bottom 2; left 0; };
11 };
12
13 graphic "greybuttondown"
14 {
15         texture "gui.png";
16         slice 24 54 21 10;
17         border { top 2; right 3; bottom 4; left 2; };
18         shadow { top 0; right 1; bottom 2; left 0; };
19 };
20
21 graphic "greenbutton"
22 {
23         texture "gui.png";
24         slice 0 42 21 10;
25         border { top 2; right 3; bottom 4; left 2; };
26         shadow { top 0; right 1; bottom 2; left 0; };
27 };
28
29 graphic "greenbuttondown"
30 {
31         texture "gui.png";
32         slice 24 42 21 10;
33         border { top 2; right 3; bottom 4; left 2; };
34         shadow { top 0; right 1; bottom 2; left 0; };
35 };
36
37 graphic "redbutton"
38 {
39         texture "gui.png";
40         slice 0 30 21 10;
41         border { top 2; right 3; bottom 4; left 2; };
42         shadow { top 0; right 1; bottom 2; left 0; };
43 };
44
45 graphic "redbuttondown"
46 {
47         texture "gui.png";
48         slice 24 30 21 10;
49         border { top 2; right 3; bottom 4; left 2; };
50         shadow { top 0; right 1; bottom 2; left 0; };
51 };
52
53 graphic "panelbg"
54 {
55         texture "gui.png";
56         slice 0 68 30 20;
57         border { top 2; right 2; bottom 2; left 2; };
58 };
59
60 graphic "entrybg"
61 {
62         texture "gui.png";
63         slice 32 72 20 16;
64         border { top 2; right 2; bottom 2; left 2; };
65 };
66
67 graphic "entrycursor"
68 {
69         texture "gui.png";
70         slice 54 74 2 12;
71 };
72
73 graphic "dropdownbg"
74 {
75         texture "gui.png";
76         slice 58 72 30 16;
77         border { top 4; right 20; bottom 4; left 2; };
78 };
79
80 graphic "dropdownarrow"
81 {
82         texture "gui.png";
83         slice 90 75 10 8;
84 };
85
86 graphic "yellowlamp"
87 {
88         texture "gui.png";
89         slice 30 102 12 12;
90 };
91
92 graphic "yellowlamplit"
93 {
94         texture "gui.png";
95         slice 30 116 12 12;
96 };
97
98 graphic "greenlamp"
99 {
100         texture "gui.png";
101         slice 44 102 12 12;
102 };
103
104 graphic "greenlamplit"
105 {
106         texture "gui.png";
107         slice 44 116 12 12;
108 };
109
110 graphic "redlamp"
111 {
112         texture "gui.png";
113         slice 58 102 12 12;
114 };
115
116 graphic "redlamplit"
117 {
118         texture "gui.png";
119         slice 58 116 12 12;
120 };
121
122 graphic "digidisplay"
123 {
124         texture "gui.png";
125         slice 0 108 28 20;
126         border { top 5; right 5; bottom 5; left 5; };
127 };
128
129 graphic "tooltip"
130 {
131         texture "gui.png";
132         slice 72 90 20 16;
133         border { top 2; right 2; bottom 2; left 2; };
134 };
135
136 graphic "hsliderslot"
137 {
138         texture "gui.png";
139         slice 0 90 60 10;
140         border { top 0; right 5; bottom 0; left 5; };
141 };
142
143 graphic "hsliderknob"
144 {
145         texture "gui.png";
146         slice 0 15 32 13;
147         shadow { top 0; right 2; bottom 3; left 0; };
148 };
149
150 graphic "switchdown"
151 {
152         texture "gui.png";
153         slice 47 43 20 21;
154         shadow { top 0; right 2; bottom 3; left 0; };
155 };
156
157 graphic "switchup"
158 {
159         texture "gui.png";
160         slice 69 43 20 21;
161         shadow { top 0; right 2; bottom 3; left 0; };
162 };
163
164 style "button"
165 {
166         font_color 0 0 0;
167
168         part
169         {
170                 graphic NORMAL "greybutton";
171                 graphic ACTIVE "greybuttondown";
172                 align 0.5 0.0;
173                 fill 0.0 0.0;
174         };
175
176         special "text"
177         {
178                 align 0.5 1.0;
179                 fill 0.0 0.0;
180         };
181 };
182
183 style "button-green"
184 {
185         font_color 0 0 0;
186
187         part
188         {
189                 graphic NORMAL "greenbutton";
190                 graphic ACTIVE "greenbuttondown";
191                 align 0.5 0.0;
192                 fill 0.0 0.0;
193         };
194
195         special "text"
196         {
197                 align 0.5 1.0;
198                 fill 0.0 0.0;
199         };
200 };
201
202 style "button-red"
203 {
204         font_color 0 0 0;
205
206         part
207         {
208                 graphic NORMAL "redbutton";
209                 graphic ACTIVE "redbuttondown";
210                 align 0.5 0.0;
211                 fill 0.0 0.0;
212         };
213
214         special "text"
215         {
216                 align 0.5 1.0;
217                 fill 0.0 0.0;
218         };
219 };
220
221 style "toggle"
222 {
223         font_color 0.0 0.0 0.0;
224
225         special "text"
226         {
227                 align 0.5 1.0;
228                 fill 0.0 0.0;
229         };
230
231         part
232         {
233                 align 0.5 0.0;
234                 fill 0.0 0.0;
235                 graphic NORMAL "switchdown";
236                 graphic ACTIVE "switchup";
237         };
238 };
239
240 style "panel"
241 {
242         part
243         {
244                 graphic NORMAL "panelbg";
245         };
246         special "children";
247 };
248
249 style "indicator"
250 {
251         part
252         {
253                 graphic NORMAL "yellowlamp";
254                 graphic ACTIVE "yellowlamplit";
255                 align 0.5 0.5;
256                 fill 0.0 0.0;
257         };
258 };
259
260 style "indicator-green"
261 {
262         part
263         {
264                 graphic NORMAL "greenlamp";
265                 graphic ACTIVE "greenlamplit";
266                 align 0.5 0.5;
267                 fill 0.0 0.0;
268         };
269 };
270
271 style "indicator-red"
272 {
273         part
274         {
275                 graphic NORMAL "redlamp";
276                 graphic ACTIVE "redlamplit";
277                 align 0.5 0.5;
278                 fill 0.0 0.0;
279         };
280 };
281
282 style "label"
283 {
284         font_color 0 0 0;
285         special "text";
286 };
287
288 style "label-digital"
289 {
290         font "digitalreadout-16.font";
291         font_color 0.3 1 0.3;
292
293         part
294         {
295                 graphic NORMAL "digidisplay";
296         };
297
298         special "text"
299         {
300                 fill 0.0 0.0;
301                 align 0.5 0.5;
302         };
303 };
304
305 style "label-tooltip"
306 {
307         font_color 0.0 0.0 0.0;
308
309         part
310         {
311                 graphic NORMAL "tooltip";
312         };
313
314         special "text"
315         {
316                 align 0.0 0.5;
317                 fill 0.0 0.0;
318                 margin { top 2; right 2; bottom 2; left 2; };
319         };
320 };
321
322 style "hslider"
323 {
324         part
325         {
326                 graphic NORMAL "hsliderslot";
327                 fill 1.0 0.0;
328         };
329
330         special "slider"
331         {
332                 graphic NORMAL "hsliderknob";
333                 fill 0.0 0.0;
334         };
335 };
336
337 style "entry"
338 {
339         font_color 0 0 0;
340
341         part
342         {
343                 graphic NORMAL "entrybg";
344         };
345
346         special "text"
347         {
348                 align 0.0 0.5;
349                 fill 0.0 0.0;
350                 margin { left 3; right 3; };
351         };
352
353         special "cursor"
354         {
355                 graphic FOCUS "entrycursor";
356                 align 0.0 0.5;
357                 fill 0.0 0.0;
358                 margin { left 3; right 3; };
359         };
360 };
361
362 style "root"
363 {
364         special "children";
365 };
366
367 style "dropdown"
368 {
369         font_color 0.0 0.0 0.0;
370
371         part
372         {
373                 graphic NORMAL "dropdownbg";
374         };
375
376         part
377         {
378                 graphic NORMAL "dropdownarrow";
379                 align 1.0 0.5;
380                 fill 0.0 0.0;
381                 margin { right 2; };
382         };
383
384         special "text"
385         {
386                 align 0.0 0.5;
387                 fill 0.0 0.0;
388                 margin { left 2; };
389         };
390
391         special "list";
392 };
393
394 style "list"
395 {
396         font_color 0.0 0.0 0.0;
397
398         part
399         {
400                 graphic NORMAL "entrybg";
401         };
402
403         special "items"
404         {
405                 margin { top 2; right 2; bottom 2; left 2; };
406         };
407 };
408
409 style "vslider";