1 group { name: "e/widgets/slider_horizontal";
2 images.image: "slider_run_base_horiz.png" COMP;
3 images.image: "slider_run_bevel_horiz.png" COMP;
4 images.image: "slider_run_base_light_horiz.png" COMP;
5 images.image: "horiz_glow_run.png" COMP;
6 images.image: "knob_round_small_normal.png" COMP;
7 images.image: "knob_round_small_selected.png" COMP;
9 part { name: "bg"; type: RECT;
11 description { state: "default" 0.0;
15 description { state: "active" 0.0;
16 inherit: "default" 0.0;
17 rel2.relative: 0.0 1.0;
19 rel2.to_x: "e.text.label";
22 part { name: "base"; mouse_events: 0;
23 description { state: "default" 0.0;
26 image.normal: "slider_run_base_horiz.png";
27 image.border: 4 4 0 0;
33 description { state: "disabled" 0.0;
34 inherit: "default" 0.0;
35 image.normal: "slider_run_base_light_horiz.png";
38 part { name: "glow"; mouse_events: 0;
39 description { state: "default" 0.0;
40 image.normal: "horiz_glow_run.png";
43 rel2.relative: 0.5 1.0;
47 image.border: 0 4 0 0;
49 description { state: "disabled" 0.0;
50 inherit: "default" 0.0;
51 color: 255 255 255 64;
54 part { name: "bevel"; mouse_events: 0;
55 description { state: "default" 0.0;
58 image.normal: "slider_run_bevel_horiz.png";
59 image.border: 5 5 0 0;
63 part { name: "clip1"; type: RECT;
64 description { state: "default" 0.0;
66 description { state: "disabled" 0.0;
67 inherit: "default" 0.0;
71 part { name: "e.text.label"; type: TEXT; mouse_events: 0;
73 effect: SHADOW BOTTOM;
75 description { state: "default" 0.0;
77 rel1.relative: 1.0 0.0;
80 color_class: "slider_text";
81 color3: 255 255 255 255;
82 text { font: FN; size: 10;
91 description { state: "active" 0.0;
92 inherit: "default" 0.0;
99 part { name: "clip2"; type: RECT;
100 description { state: "default" 0.0;
103 description { state: "disabled" 0.0;
104 inherit: "default" 0.0;
108 part { name: "label2"; type: TEXT; mouse_events: 0;
110 effect: SHADOW BOTTOM;
112 description { state: "default" 0.0;
113 rel1.to: "e.text.label";
114 rel2.to: "e.text.label";
115 color_class: "slider_text_disabled";
116 color3: 255 255 255 255;
117 text { font: FN; size: 10;
118 text_source: "e.text.label";
120 text_class: "slider";
124 description { state: "active" 0.0;
125 inherit: "default" 0.0;
130 description { state: "default" 0.0;
132 rel1.to: "e.dragable.slider";
134 rel2.to: "e.dragable.slider";
135 image.normal: "knob_round_small_normal.png";
140 description { state: "clicked" 0.0;
141 inherit: "default" 0.0;
142 image.normal: "knob_round_small_selected.png";
145 part { name: "e.swallow.bar"; type: SWALLOW;
146 description { state: "default" 0.0;
153 part { name: "e.dragable.slider"; type: RECT;
157 dragable.confine: "bg";
158 description { state: "default" 0.0;
161 rel1.relative: 0.5 0.0;
163 rel2.relative: 0.5 1.0;
169 part { name: "event"; type: RECT;
170 description { state: "default" 0.0;
174 description { state: "disabled" 0.0;
175 inherit: "default" 0.0;
182 signal: "mouse,down,1"; source: "e.dragable.slider";
183 action: STATE_SET "clicked" 0.0;
187 signal: "mouse,up,1"; source: "e.dragable.slider";
188 action: STATE_SET "default" 0.0;
192 signal: "e,action,show,label"; source: "e";
193 action: STATE_SET "active" 0.0;
195 target: "e.text.label";
199 signal: "e,action,hide,label"; source: "e";
200 action: STATE_SET "default" 0.0;
202 target: "e.text.label";
206 signal: "e,state,disabled"; source: "e";
207 action: STATE_SET "disabled" 0.0;
215 signal: "e,state,enabled"; source: "e";
216 action: STATE_SET "default" 0.0;
226 group { name: "e/widgets/slider_vertical";
227 images.image: "slider_run_base_vert.png" COMP;
228 images.image: "slider_run_bevel_vert.png" COMP;
229 images.image: "slider_run_base_light_vert.png" COMP;
230 images.image: "vert_glow_run.png" COMP;
231 images.image: "knob_round_small_normal.png" COMP;
232 images.image: "knob_round_small_selected.png" COMP;
234 part { name: "bg"; type: RECT;
236 description { state: "default" 0.0;
240 description { state: "active" 0.0;
241 inherit: "default" 0.0;
242 rel2.relative: 1.0 0.0;
244 rel2.to_y: "e.text.label";
247 part { name: "base"; mouse_events: 0;
248 description { state: "default" 0.0;
251 image.normal: "slider_run_base_vert.png";
252 image.border: 0 0 4 4;
258 description { state: "disabled" 0.0;
259 inherit: "default" 0.0;
260 image.normal: "slider_run_base_light_vert.png";
263 part { name: "glow"; mouse_events: 0;
264 description { state: "default" 0.0;
265 image.normal: "vert_glow_run.png";
267 rel1.relative: 0.0 0.5;
272 image.border: 0 0 0 4;
274 description { state: "disabled" 0.0;
275 inherit: "default" 0.0;
276 color: 255 255 255 64;
279 part { name: "bevel"; mouse_events: 0;
280 description { state: "default" 0.0;
283 image.normal: "slider_run_bevel_vert.png";
284 image.border: 0 0 5 5;
288 part { name: "clip1"; type: RECT;
289 description { state: "default" 0.0;
291 description { state: "disabled" 0.0;
292 inherit: "default" 0.0;
296 part { name: "e.text.label"; type: TEXT; mouse_events: 0;
298 effect: SHADOW BOTTOM;
300 description { state: "default" 0.0;
302 rel1.relative: 0.0 1.0;
305 color_class: "slider_text";
306 color3: 255 255 255 255;
307 text { font: FN; size: 10;
310 text_class: "slider";
316 description { state: "active" 0.0;
317 inherit: "default" 0.0;
324 part { name: "clip2"; type: RECT;
325 description { state: "default" 0.0;
328 description { state: "disabled" 0.0;
329 inherit: "default" 0.0;
333 part { name: "label2"; type: TEXT; mouse_events: 0;
335 effect: SHADOW BOTTOM;
337 description { state: "default" 0.0;
338 rel1.to: "e.text.label";
339 rel2.to: "e.text.label";
340 color_class: "slider_text_disabled";
341 color3: 255 255 255 255;
342 text { font: FN; size: 10;
343 text_source: "e.text.label";
345 text_class: "slider";
349 description { state: "active" 0.0;
350 inherit: "default" 0.0;
355 description { state: "default" 0.0;
357 rel1.to: "e.dragable.slider";
359 rel2.to: "e.dragable.slider";
360 image.normal: "knob_round_small_normal.png";
365 description { state: "clicked" 0.0;
366 inherit: "default" 0.0;
367 image.normal: "knob_round_small_selected.png";
370 part { name: "e.swallow.bar"; type: SWALLOW;
371 description { state: "default" 0.0;
378 part { name: "e.dragable.slider"; type: RECT;
382 dragable.confine: "bg";
383 description { state: "default" 0.0;
386 rel1.relative: 0.0 0.5;
388 rel2.relative: 1.0 0.5;
394 part { name: "event"; type: RECT;
395 description { state: "default" 0.0;
399 description { state: "disabled" 0.0;
400 inherit: "default" 0.0;
407 signal: "mouse,down,1"; source: "e.dragable.slider";
408 action: STATE_SET "clicked" 0.0;
412 signal: "mouse,up,1"; source: "e.dragable.slider";
413 action: STATE_SET "default" 0.0;
417 signal: "e,action,show,label"; source: "e";
418 action: STATE_SET "active" 0.0;
420 target: "e.text.label";
424 signal: "e,action,hide,label"; source: "e";
425 action: STATE_SET "default" 0.0;
427 target: "e.text.label";
431 signal: "e,state,disabled"; source: "e";
432 action: STATE_SET "disabled" 0.0;
440 signal: "e,state,enabled"; source: "e";
441 action: STATE_SET "default" 0.0;