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