]> git.tdb.fi Git - r2c2.git/blob - marklin.res
Convert designer to use mspgbase instead of sdl
[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 "hsliderslot"
130 {
131         texture "gui.png";
132         slice 0 90 60 10;
133         border { top 0; right 5; bottom 0; left 5; };
134 };
135
136 graphic "hsliderknob"
137 {
138         texture "gui.png";
139         slice 0 15 32 13;
140         shadow { top 0; right 2; bottom 3; left 0; };
141 };
142
143 style "button"
144 {
145         font_color 0 0 0;
146
147         part
148         {
149                 graphic NORMAL "greybutton";
150                 graphic ACTIVE "greybuttondown";
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-green"
163 {
164         font_color 0 0 0;
165
166         part
167         {
168                 graphic NORMAL "greenbutton";
169                 graphic ACTIVE "greenbuttondown";
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-red"
182 {
183         font_color 0 0 0;
184
185         part
186         {
187                 graphic NORMAL "redbutton";
188                 graphic ACTIVE "redbuttondown";
189                 align 0.5 0.0;
190                 fill 0.0 0.0;
191         };
192
193         special "text"
194         {
195                 align 0.5 1.0;
196                 fill 0.0 0.0;
197         };
198 };
199
200 style "panel"
201 {
202         part
203         {
204                 graphic NORMAL "panelbg";
205         };
206         special "children";
207 };
208
209 style "indicator"
210 {
211         part
212         {
213                 graphic NORMAL "yellowlamp";
214                 graphic ACTIVE "yellowlamplit";
215                 align 0.5 0.5;
216                 fill 0.0 0.0;
217         };
218 };
219
220 style "indicator-green"
221 {
222         part
223         {
224                 graphic NORMAL "greenlamp";
225                 graphic ACTIVE "greenlamplit";
226                 align 0.5 0.5;
227                 fill 0.0 0.0;
228         };
229 };
230
231 style "indicator-red"
232 {
233         part
234         {
235                 graphic NORMAL "redlamp";
236                 graphic ACTIVE "redlamplit";
237                 align 0.5 0.5;
238                 fill 0.0 0.0;
239         };
240 };
241
242 style "label"
243 {
244         font_color 0 0 0;
245         special "text";
246 };
247
248 style "label-digital"
249 {
250         font "digitalreadout-16.font";
251         font_color 0.3 1 0.3;
252
253         part
254         {
255                 graphic NORMAL "digidisplay";
256         };
257
258         special "text"
259         {
260                 fill 0.0 0.0;
261                 align 0.5 0.5;
262         };
263 };
264
265 style "hslider"
266 {
267         part
268         {
269                 graphic NORMAL "hsliderslot";
270                 fill 1.0 0.0;
271         };
272
273         special "slider"
274         {
275                 graphic NORMAL "hsliderknob";
276                 fill 0.0 0.0;
277         };
278 };
279
280 style "entry"
281 {
282         font_color 0 0 0;
283
284         part
285         {
286                 graphic NORMAL "entrybg";
287         };
288
289         special "text"
290         {
291                 align 0.0 0.5;
292                 fill 0.0 0.0;
293                 margin { left 3; right 3; };
294         };
295
296         special "cursor"
297         {
298                 graphic FOCUS "entrycursor";
299                 align 0.0 0.5;
300                 fill 0.0 0.0;
301                 margin { left 3; right 3; };
302         };
303 };
304
305 style "root"
306 {
307         special "children";
308 };
309
310 style "dropdown"
311 {
312         font_color 0.0 0.0 0.0;
313
314         part
315         {
316                 graphic NORMAL "dropdownbg";
317         };
318
319         part
320         {
321                 graphic NORMAL "dropdownarrow";
322                 align 1.0 0.5;
323                 fill 0.0 0.0;
324                 margin { right 2; };
325         };
326
327         special "text"
328         {
329                 align 0.0 0.5;
330                 fill 0.0 0.0;
331                 margin { left 2; };
332         };
333
334         special "list";
335 };
336
337 style "list"
338 {
339         font_color 0.0 0.0 0.0;
340
341         part
342         {
343                 graphic NORMAL "entrybg";
344         };
345
346         special "items"
347         {
348                 margin { top 2; right 2; bottom 2; left 2; };
349         };
350 };
351
352 style "vslider";