1group { name: "e/fileman/default/list/variable";
2   alias: "e/fileman/default/list/fixed";
3//   data.item: "stacking" "above";
4   data.item: "stacking" "below";
5   data.item: "selectraise" "on";
6   images.image: "bevel_curved_horiz_out.png" COMP;
7   images.image: "shadow_rounded_horiz.png" COMP;
8   images.image: "vgrad_med_dark.png" COMP;
9   images.image: "bevel_horiz_out.png" COMP;
10   images.image: "shine.png" COMP;
11   images.image: "shadow_square_tiny.png" COMP;
12   images.image: "ball_small_glow.png" COMP;
13   images.image: "ball_small_glow_intense.png" COMP;
14   images.image: "sym_icon_op_ask.png" COMP;
15   images.image: "sym_icon_op_copy.png" COMP;
16   images.image: "sym_icon_op_move.png" COMP;
17   script {
18      public longpressed;
19   }
20   parts {
21      part { name: "base"; type: RECT; mouse_events: 0;
22         description { state: "default" 0.0;
23            color: 64 64 64 255;
24            color_class: "ilist_item_base";
25         }
26      }
27      part { name: "bevel"; mouse_events: 0;
28         description { state: "default" 0.0;
29            image.normal: "bevel_curved_horiz_out.png";
30            image.border: 0 0 2 2;
31            image.middle: 0;
32            fill.smooth: 0;
33         }
34      }
35      part { name: "sel_shadow"; mouse_events: 0;
36         description { state: "default" 0.0;
37            image.normal: "shadow_rounded_horiz.png";
38            image.border: 0 0 9 9;
39            rel1.offset: 0 -4;
40            rel2.offset: -1 5;
41            fill.smooth: 0;
42            visible: 0;
43         }
44         description { state: "selected" 0.0;
45            inherit: "default" 0.0;
46            visible: 1;
47         }
48      }
49      part { name: "sel_base"; mouse_events: 0;
50         description { state: "default" 0.0;
51            image.normal: "vgrad_med_dark.png";
52            fill.smooth: 0;
53            TILED_HORIZ(120)
54            visible: 0;
55         }
56         description { state: "selected" 0.0;
57            inherit: "default" 0.0;
58            visible: 1;
59         }
60      }
61      part { name: "sel_bevel"; mouse_events: 0;
62         description { state: "default" 0.0;
63            image.normal: "bevel_horiz_out.png";
64            image.border: 0 0 2 2;
65            image.middle: 0;
66            fill.smooth: 0;
67            visible: 0;
68         }
69         description { state: "selected" 0.0;
70            inherit: "default" 0.0;
71            visible: 1;
72         }
73      }
74      part { name: "e.text.label"; type: TEXT; mouse_events: 0;
75         effect: SHADOW BOTTOM;
76         scale: 1;
77         description { state: "default" 0.0;
78            rel1.offset: 2 3;
79            rel1.relative: 1.0 0.0;
80            rel1.to_x: "icon0";
81            rel2.offset: -3 -3;
82            rel2.relative: 1.0 1.0;
83            color2: 255 255 255 255;
84            color3: 255 255 255 255;
85            color_class: "ilist_item";
86            text { font: FN; size: 10;
87               min: 0 1;
88               align: 0.0 0.5;
89               text_class: "ilist_item";
90               ellipsis: 0.0;
91            }
92         }
93         description { state: "selected" 0.0;
94            inherit: "default" 0.0;
95            visible: 0;
96         }
97         description { state: "disabled" 0.0;
98            inherit: "default" 0.0;
99            visible: 0;
100         }
101      }
102      part { name: "label2"; type: TEXT; mouse_events: 0;
103         effect: SHADOW BOTTOM;
104         scale: 1;
105         description { state: "default" 0.0;
106            rel1.to: "e.text.label";
107            rel2.to: "e.text.label";
108            color2: 255 255 255 255;
109            color3: 255 255 255 255;
110            color_class: "ilist_item_disabled";
111            text { font: FN; size: 10;
112               text_source: "e.text.label";
113               align: 0.0 0.5;
114               text_class: "ilist_item";
115               ellipsis: 0.0;
116            }
117            visible: 0;
118         }
119         description { state: "selected" 0.0;
120            inherit: "default" 0.0;
121            visible: 0;
122         }
123         description { state: "disabled" 0.0;
124            inherit: "default" 0.0;
125            visible: 1;
126         }
127      }
128      part { name: "label3"; type: TEXT; mouse_events: 0;
129         effect: GLOW;
130         scale: 1;
131         description { state: "default" 0.0;
132            rel1.offset: -2 -3;
133            rel1.to: "e.text.label";
134            rel2.offset: 2 1;
135            rel2.to: "e.text.label";
136            color2: 255 255 255 255;
137            color3: 255 255 255 255;
138            color_class: "ilist_item_selected";
139            text { font: FN; size: 10;
140               text_source: "e.text.label";
141               align: 0.0 0.5;
142               text_class: "ilist_item";
143               ellipsis: 0.0;
144            }
145            visible: 0;
146         }
147         description { state: "selected" 0.0;
148            inherit: "default" 0.0;
149            visible: 1;
150         }
151         description { state: "disabled" 0.0;
152            inherit: "default" 0.0;
153            visible: 0;
154         }
155      }
156//////////////////////////
157      part { name: "icon0"; type: SPACER;
158         description { state: "default" 0.0;
159            align: 0.0 0.5;
160            aspect: 1.0 1.0; aspect_preference: VERTICAL;
161            rel1.offset: 4 4;
162            rel2.relative: 0.0 1.0;
163            rel2.offset: 4 -5;
164         }
165      }
166      part { name: "icon"; type: SPACER;
167         description { state: "default" 0.0;
168            aspect: 1.0 1.0; aspect_preference: BOTH;
169            rel1.to: "icon0";
170            rel2.to: "icon0";
171         }
172         description { state: "start" 0.0;
173            inherit: "default" 0.0;
174            max: 0 0;
175         }
176         description { state: "visible" 0.0;
177            inherit: "default" 0.0;
178         }
179      }
180      part { name: "shadow"; mouse_events: 0;
181         description { state: "default" 0.0;
182            rel1.offset: -3 -2;
183            rel1.to: "icon_base";
184            rel2.offset: 2 4;
185            rel2.to: "icon_base";
186            image.normal: "shadow_square_tiny.png";
187            image.border: 6 6 6 6;
188            fill.smooth: 0;
189            visible: 0;
190         }
191         description { state: "start" 0.0;
192            inherit: "default" 0.0;
193            visible: 1;
194         }
195      }
196      part { name: "icon_base"; type: RECT; mouse_events: 0;
197         description { state: "default" 0.0;
198            color: 48 48 48 255;
199            rel1.to: "e.swallow.icon";
200            rel2.to: "e.swallow.icon";
201            visible: 0;
202         }
203         description { state: "start" 0.0;
204            inherit: "default" 0.0;
205            visible: 1;
206         }
207      }
208      part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
209         description { state: "default" 0.0;
210            rel1.to: "icon";
211            rel2.to: "icon";
212            fixed: 1 1;
213         }
214      }
215      part { name: "vol"; mouse_events: 0;
216         description { state: "default" 0.0;
217            image.normal: "ball_small_glow.png";
218            min: 14 14;
219            max: 14 14;
220            rel1.relative: 1.0 1.0;
221            rel1.to: "e.swallow.icon";
222            rel2.to: "e.swallow.icon";
223            visible: 0;
224            fixed: 1 1;
225         }
226         description { state: "unmounted" 0.0;
227            inherit: "default" 0.0;
228            image.normal: "ball_small_glow.png";
229            visible: 1;
230         }
231         description { state: "mounted" 0.0;
232            inherit: "default" 0.0;
233            image.normal: "ball_small_glow_intense.png";
234            visible: 1;
235         }
236      }
237      part { name: "op";
238         description { state: "default" 0.0;
239            align: 1.0 0.5;
240            aspect: 1.0 1.0; aspect_preference: VERTICAL;
241            rel1.relative: 1.0 0.0;
242            rel1.offset: -5 4;
243            rel2.offset: -5 -5;
244            image.normal: "sym_icon_op_ask.png";
245            max: 32 32;
246            visible: 0;
247         }
248         description { state: "ask" 0.0;
249            inherit: "default" 0.0;
250            image.normal: "sym_icon_op_ask.png";
251            visible: 1;
252         }
253         description { state: "copy" 0.0;
254            inherit: "default" 0.0;
255            image.normal: "sym_icon_op_copy.png";
256            visible: 1;
257         }
258         description { state: "move" 0.0;
259            inherit: "default" 0.0;
260            image.normal: "sym_icon_op_move.png";
261            visible: 1;
262         }
263      }
264//////////////////////////
265      part { name: "sel_shine"; mouse_events: 0;
266         description { state: "default" 0.0;
267            image.normal: "shine.png";
268            rel1.offset: 0 -2;
269            rel1.to: "sel_base";
270            rel2.relative: 1.0 0.0;
271            rel2.offset: -1 2;
272            rel2.to: "sel_base";
273            FIXED_SIZE(69, 5)
274            visible: 0;
275         }
276         description { state: "selected" 0.0;
277            inherit: "default" 0.0;
278            visible: 1;
279         }
280      }
281      part { name: "event"; type: RECT;
282         description { state: "default" 0.0;
283            color: 0 0 0 0;
284            rel1.to: "icon_base";
285            rel2.to: "icon_base";
286         }
287         description { state: "disabled" 0.0;
288            inherit: "default" 0.0;
289            visible: 0;
290         }
291      }
292      part { name: "label_event"; type: RECT;
293         ignore_flags: ON_HOLD;
294         description { state: "default" 0.0;
295            color: 0 0 0 0;
296            rel1.to: "e.text.label";
297            rel1.relative: 0.0 0.2;
298            rel1.offset: -3 0;
299            rel2.to: "e.text.label";
300            rel2.relative: 1.0 0.8;
301         }
302      }
303      part { name: "e.swallow.entry"; type: SWALLOW;
304         description {state: "default" 0.0;
305            rel1.to: "e.text.label";
306            rel2.to: "e.text.label";
307         }
308      }
309   }
310   programs {
311      program {
312         signal: "e,state,selected"; source: "e";
313         action: STATE_SET "selected" 0.0;
314         target: "sel_shadow";
315         target: "sel_base";
316         target: "sel_bevel";
317         target: "sel_shine";
318         target: "e.text.label";
319         target: "label2";
320         target: "label3";
321      }
322      program {
323         signal: "e,state,unselected"; source: "e";
324         action: STATE_SET "default" 0.0;
325         target: "sel_shadow";
326         target: "sel_base";
327         target: "sel_bevel";
328         target: "sel_shine";
329         target: "e.text.label";
330         target: "label2";
331         target: "label3";
332      }
333      program {
334         signal: "mouse,down,1"; source: "label_event";
335         script {
336            set_int(longpressed, 0);
337         }
338      }
339      program { name: "rename1";
340         signal: "mouse,down,1"; source: "label_event";
341         in: 0.4 0.0;
342         script {
343            set_int(longpressed, 1);
344         }
345      }
346      program { name: "rename2";
347         signal: "mouse,up,1"; source: "label_event";
348         script {
349            if (get_int(longpressed)) {
350               set_int(longpressed, 0);
351               emit("e,action,label,click", "e");
352            }
353         }
354      }
355      program {
356         signal: "e,action,thumb,gen"; source: "e";
357         action: STATE_SET "start" 0.0;
358         target: "icon";
359         target: "icon_base";
360         target: "shadow";
361         after: "gen";
362      }
363      program {
364         signal: "e,action,thumb,gen,alpha"; source: "e";
365         action: STATE_SET "start" 0.0;
366         target: "icon";
367         target: "icon_base";
368         target: "shadow";
369         after: "gen";
370      }
371      program { name: "gen";
372         action: STATE_SET "visible" 0.0;
373         transition: SPRING 0.4 1.7 5;
374         target: "icon";
375      }
376      program {
377         signal: "e,state,ask"; source: "e";
378         action: STATE_SET "ask" 0.0;
379         target: "op";
380      }
381      program {
382         signal: "e,state,move"; source: "e";
383         action: STATE_SET "move" 0.0;
384         target: "op";
385      }
386      program {
387         signal: "e,state,copy"; source: "e";
388         action: STATE_SET "copy" 0.0;
389         target: "op";
390      }
391      program {
392         signal: "e,state,volume,off"; source: "e";
393         action: STATE_SET "default" 0.0;
394         target: "vol";
395      }
396      program {
397         signal: "e,state,volume,unmounted"; source: "e";
398         action: STATE_SET "unmounted" 0.0;
399         target: "vol";
400      }
401      program {
402         signal: "e,state,volume,mounted"; source: "e";
403         action: STATE_SET "mounted" 0.0;
404         target: "vol";
405      }
406   }
407}
408
409group { name: "e/fileman/default/list_odd/variable";
410   inherit: "e/fileman/default/list/variable";
411   alias: "e/fileman/default/list_odd/fixed";
412   parts {
413      part { name: "base";
414         description { state: "default" 0.0;
415            color: 56 56 56 255;
416         }
417      }
418   }
419}
420
421group { name: "e/fileman/desktop/list/fixed";
422   alias: "e/fileman/desktop/list/variable";
423   alias: "e/fileman/desktop/list_odd/fixed";
424   alias: "e/fileman/desktop/list_odd/variable";
425   inherit: "e/fileman/default/list/variable";
426   parts {
427      part { name: "base";
428         description { state: "default" 0.0;
429            visible: 0;
430         }
431      }
432   }
433}
434
435group { name: "e/fileman/default/icon/fixed";
436   alias: "e/fileman/default/icon/variable";
437   images.image: "vgrad_med_dark.png" COMP;
438   images.image: "bevel_out.png" COMP;
439   images.image: "shine.png" COMP;
440   images.image: "glow_small.png" COMP;
441   images.image: "shadow_square_tiny.png" COMP;
442   images.image: "sym_icon_op_ask.png" COMP;
443   images.image: "sym_icon_op_copy.png" COMP;
444   images.image: "sym_icon_op_move.png" COMP;
445   styles {
446      style { name: "fileman_icon_name";
447         base: "font="FN" font_size=10 text_class=fileman_icon align=center color=#ffffffff wrap=mixed style=shadow,bottom shadow_color=#00000080 align=center ellipsis=1.0";
448      }
449      style { name: "fileman_icon_name_selected";
450         base: "font="FN" font_size=10 text_class=fileman_icon align=center color=#3399ffff wrap=mixed style=glow glow_color=#3399ff18 align=center glow2_color=#3399ff12 ellipsis=1.0";
451      }
452   }
453   script {
454      public longpressed;
455   }
456   parts {
457      part { name: "shadow"; mouse_events: 0;
458         description { state: "default" 0.0;
459            image.normal: "shadow_square_tiny.png";
460            image.border: 6 6 6 6;
461            fill.smooth: 0;
462            rel1.offset: -3 -2;
463            rel1.to: "sel_base";
464            rel2.offset: 2 3;
465            rel2.to: "sel_base";
466            fill.smooth: 0;
467            visible: 0;
468         }
469         description { state: "selected" 0.0;
470            inherit: "default" 0.0;
471            visible: 1;
472         }
473      }
474      part { name: "sel_glow"; mouse_events: 0;
475         description { state: "default" 0.0;
476            rel1.to: "sel_base";
477            rel2.to: "sel_base";
478            image.normal: "glow_small.png";
479            image.border: 7 7 7 7;
480            fill.smooth: 0;
481            color: 255 255 255 0;
482            visible: 0;
483         }
484         description { state: "visible" 0.0;
485            inherit: "default" 0.0;
486            rel1.offset: -4 -4;
487            rel2.offset: 3 3;
488            color: 255 255 255 128;
489            visible: 1;
490         }
491         description { state: "hilighted" 0.0;
492            inherit: "default" 0.0;
493            rel1.offset: -4 -4;
494            rel2.offset: 3 3;
495            color: 255 255 255 255;
496            visible: 1;
497         }
498      }
499      part { name: "sel_base"; mouse_events: 0;
500         description { state: "default" 0.0;
501            rel1.offset: 2 2;
502            rel2.offset: -3 -3;
503            image.normal: "vgrad_med_dark.png";
504            fill.smooth: 0;
505            TILED_HORIZ(120)
506            visible: 0;
507         }
508         description { state: "selected" 0.0;
509            inherit: "default" 0.0;
510            visible: 1;
511         }
512      }
513      part { name: "sel_bevel"; mouse_events: 0;
514         description { state: "default" 0.0;
515            rel1.to: "sel_base";
516            rel2.to: "sel_base";
517            image.normal: "bevel_out.png";
518            image.border: 1 1 1 1;
519            image.middle: 0;
520            fill.smooth: 0;
521            visible: 0;
522         }
523         description { state: "selected" 0.0;
524            inherit: "default" 0.0;
525            visible: 1;
526         }
527      }
528//////////////////////////////
529      part { name: "label0"; type: SPACER;
530         scale: 1;
531         clip_to: "textmaster";
532         description { state: "default" 0.0;
533            align: 0.5 1.0;
534            rel1.offset: 4 -5;
535            rel2.relative: 1.0 1.0;
536            rel2.offset: -5 -5;
537            min: 0 20;
538            max: 99999 26;
539            fixed: 0 1;
540         }
541      }
542      part { name: "e.text.label"; type: TEXTBLOCK; mouse_events: 0;
543         scale: 1;
544         clip_to: "textmaster";
545         description { state: "default" 0.0;
546            align: 0.5 0.0;
547            rel1.to: "label0";
548            rel2.to: "label0";
549            rel2.offset: -1 6;
550            color_class: "fileman_icon";
551            text {
552               style: "fileman_icon_name";
553               align: 0.5 0.0;
554               text_class: "fileman_icon";
555            }
556            fixed: 1 1;
557         }
558         description { state: "selected" 0.0;
559            inherit: "default" 0.0;
560            visible: 0;
561         }
562      }
563      part { name: "label2"; type: TEXTBLOCK; mouse_events: 0;
564         scale: 1;
565         clip_to: "textmaster";
566         description { state: "default" 0.0;
567            align: 0.5 0.0;
568            rel1.to: "e.text.label";
569            rel2.to: "e.text.label";
570            color_class: "fileman_icon_selected";
571            text {
572               text_source: "e.text.label";
573               style: "fileman_icon_name_selected";
574               align: 0.5 0.0;
575               text_class: "fileman_icon_selected";
576            }
577            fixed: 1 1;
578            visible: 0;
579         }
580         description { state: "selected" 0.0;
581            inherit: "default" 0.0;
582            visible: 1;
583         }
584      }
585      part { name: "textmaster"; type: RECT;
586         description { state: "default" 0.0;
587            rel1.offset: -20 -20;
588            rel2.offset: 19 19;
589         }
590         description { state: "hidden" 0.0;
591            inherit: "default" 0.0;
592            visible: 0;
593         }
594      }
595//////////////////////////
596      part { name: "icon0"; type: SPACER;
597         description { state: "default" 0.0;
598            rel1.offset: 4 4;
599            rel2.relative: 1.0 0.0;
600            rel2.offset: -5 -1;
601            rel2.to_y: "label0";
602         }
603      }
604      part { name: "icon"; type: SPACER;
605         description { state: "default" 0.0;
606            aspect: 1.0 1.0; aspect_preference: BOTH;
607            rel1.to: "icon0";
608            rel2.to: "icon0";
609         }
610         description { state: "start" 0.0;
611            inherit: "default" 0.0;
612            max: 0 0;
613         }
614         description { state: "visible" 0.0;
615            inherit: "default" 0.0;
616         }
617      }
618      part { name: "icon_shadow"; mouse_events: 0;
619         description { state: "default" 0.0;
620            rel1.offset: -3 -2;
621            rel1.to: "icon_base";
622            rel2.offset: 2 4;
623            rel2.to: "icon_base";
624            image.normal: "shadow_square_tiny.png";
625            image.border: 6 6 6 6;
626            fill.smooth: 0;
627            visible: 0;
628         }
629         description { state: "start" 0.0;
630            inherit: "default" 0.0;
631            visible: 1;
632         }
633      }
634      part { name: "icon_base"; type: RECT; mouse_events: 0;
635         description { state: "default" 0.0;
636            color: 48 48 48 255;
637            rel1.to: "e.swallow.icon";
638            rel2.to: "e.swallow.icon";
639            visible: 0;
640         }
641         description { state: "start" 0.0;
642            inherit: "default" 0.0;
643            visible: 1;
644         }
645      }
646      part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
647         description { state: "default" 0.0;
648            rel1.to: "icon";
649            rel2.to: "icon";
650         }
651      }
652      part { name: "vol"; mouse_events: 0;
653         description { state: "default" 0.0;
654            image.normal: "ball_small_glow.png";
655            min: 14 14;
656            max: 14 14;
657            rel1.relative: 1.0 1.0;
658            rel1.to: "e.swallow.icon";
659            rel2.to: "e.swallow.icon";
660            visible: 0;
661            fixed: 1 1;
662         }
663         description { state: "unmounted" 0.0;
664            inherit: "default" 0.0;
665            image.normal: "ball_small_glow.png";
666            visible: 1;
667         }
668         description { state: "mounted" 0.0;
669            inherit: "default" 0.0;
670            image.normal: "ball_small_glow_intense.png";
671            visible: 1;
672         }
673      }
674      part { name: "op";
675         description { state: "default" 0.0;
676            align: 1.0 0.0;
677            aspect: 1.0 1.0; aspect_preference: VERTICAL;
678            rel1.relative: 0.5 0.0;
679            rel1.offset: 0 4;
680            rel2.relative: 1.0 0.5;
681            rel2.offset: -5 -1;
682            image.normal: "sym_icon_op_ask.png";
683            max: 32 32;
684            visible: 0;
685         }
686         description { state: "ask" 0.0;
687            inherit: "default" 0.0;
688            image.normal: "sym_icon_op_ask.png";
689            visible: 1;
690         }
691         description { state: "copy" 0.0;
692            inherit: "default" 0.0;
693            image.normal: "sym_icon_op_copy.png";
694            visible: 1;
695         }
696         description { state: "move" 0.0;
697            inherit: "default" 0.0;
698            image.normal: "sym_icon_op_move.png";
699            visible: 1;
700         }
701      }
702//////////////////////////////
703      part { name: "sel_shine"; mouse_events: 0;
704         description { state: "default" 0.0;
705            image.normal: "shine.png";
706            rel1.offset: 0 -2;
707            rel1.to: "sel_base";
708            rel2.relative: 1.0 0.0;
709            rel2.offset: -1 2;
710            rel2.to: "sel_base";
711            FIXED_SIZE(69, 5)
712            visible: 0;
713         }
714         description { state: "selected" 0.0;
715            inherit: "default" 0.0;
716            visible: 1;
717         }
718      }
719//////////////////////////////
720      part { name: "event"; type: RECT;
721         ignore_flags: ON_HOLD;
722         description { state: "default" 0.0;
723            color: 0 0 0 0;
724            rel1.to: "icon0";
725            rel2.to: "icon0";
726            rel1.relative: 0.1 0.1;
727            rel2.relative: 0.9 0.9;
728            rel2.offset: 0 5;
729         }
730      }
731      part { name: "label_event"; type: RECT;
732         ignore_flags: ON_HOLD;
733         description { state: "default" 0.0;
734            color: 0 0 0 0;
735            rel1.to: "e.text.label";
736            rel2.to: "e.text.label";
737            rel1.relative: 0.1 0.0;
738            rel2.relative: 0.9 0.9;
739         }
740      }
741      part { name: "e.swallow.entry"; type: SWALLOW;
742         description {state: "default" 0.0;
743            rel1.to: "label0";
744            rel2.to: "label0";
745         }
746      }
747   }
748   programs {
749      program { name: "rename-on";
750         signal: "e,state,rename,on"; source: "e";
751         action: STATE_SET "hidden" 0.0;
752         target: "textmaster";
753      }
754      program { name: "rename-off";
755         signal: "e,state,rename,off"; source: "e";
756         action: STATE_SET "default" 0.0;
757         target: "textmaster";
758      }
759      program {
760         signal: "e,state,selected"; source: "e";
761         action: STATE_SET "selected" 0.0;
762         target: "e.text.label";
763         target: "label2";
764         target: "shadow";
765         target: "sel_base";
766         target: "sel_bevel";
767         target: "sel_shine";
768      }
769      program {
770         signal: "e,state,selected"; source: "e";
771         action: STATE_SET "hilighted" 0.0;
772         transition: DECELERATE 0.2;
773         target: "sel_glow";
774         after: "sel2";
775      }
776      program { name: "sel2";
777         action: STATE_SET "visible" 0.0;
778         transition: SINUSOIDAL 0.3;
779         target: "sel_glow";
780      }
781      program {
782         signal: "e,state,unselected"; source: "e";
783         action: STATE_SET "default" 0.0;
784         target: "e.text.label";
785         target: "label2";
786         target: "shadow";
787         target: "sel_base";
788         target: "sel_bevel";
789         target: "sel_shine";
790         target: "sel_glow";
791      }
792      program {
793         signal: "mouse,down,1"; source: "label_event";
794         script {
795            set_int(longpressed, 0);
796         }
797      }
798      program { name: "rename1";
799         signal: "mouse,down,1"; source: "label_event";
800         in: 0.4 0.0;
801         script {
802            set_int(longpressed, 1);
803         }
804      }
805      program { name: "rename2";
806         signal: "mouse,up,1"; source: "label_event";
807         script {
808            if (get_int(longpressed)) {
809               set_int(longpressed, 0);
810               emit("e,action,label,click", "e");
811            }
812         }
813      }
814      program {
815         signal: "e,action,thumb,gen"; source: "e";
816         action: STATE_SET "start" 0.0;
817         target: "icon";
818         target: "icon_base";
819         target: "icon_shadow";
820         after: "gen";
821      }
822      program {
823         signal: "e,action,thumb,gen,alpha"; source: "e";
824         action: STATE_SET "start" 0.0;
825         target: "icon";
826         target: "icon_base";
827         target: "icon_shadow";
828         after: "gen";
829      }
830      program { name: "gen";
831         action: STATE_SET "visible" 0.0;
832         transition: SPRING 0.4 1.7 5;
833         target: "icon";
834      }
835      program {
836         signal: "e,state,ask"; source: "e";
837         action: STATE_SET "ask" 0.0;
838         target: "op";
839      }
840      program {
841         signal: "e,state,move"; source: "e";
842         action: STATE_SET "move" 0.0;
843         target: "op";
844      }
845      program {
846         signal: "e,state,copy"; source: "e";
847         action: STATE_SET "copy" 0.0;
848         target: "op";
849      }
850      program {
851         signal: "e,state,volume,off"; source: "e";
852         action: STATE_SET "default" 0.0;
853         target: "vol";
854      }
855      program {
856         signal: "e,state,volume,unmounted"; source: "e";
857         action: STATE_SET "unmounted" 0.0;
858         target: "vol";
859      }
860      program {
861         signal: "e,state,volume,mounted"; source: "e";
862         action: STATE_SET "mounted" 0.0;
863         target: "vol";
864      }
865   }
866}
867
868group { name: "e/fileman/desktop/icon/fixed";
869   inherit: "e/fileman/default/icon/fixed";
870   alias: "e/fileman/desktop/icon/variable";
871   images.image: "darken_square.png" COMP;
872   styles {
873      style { name: "fileman_icon_full";
874         base: "font="FN" font_size=10 text_class=fileman_icon align=center color=#ff00ffff wrap=mixed style=shadow,bottom shadow_color=#00000080 align=center";
875      }
876   }
877   parts {
878      part { name: "label1"; type: TEXTBLOCK; mouse_events: 0;
879         insert_after: "e.text.label";
880         scale: 1;
881         description { state: "default" 0.0;
882            align: 0.5 0.0;
883            rel1.to: "e.text.label";
884            rel2.to: "e.text.label";
885            color_class: "fileman_icon";
886            text {
887               text: "xxxxx";
888               text_source: "e.text.label";
889               style: "fileman_icon_full";
890               align: 0.5 0.0;
891               text_class: "fileman_icon";
892               max: 0 1;
893            }
894            fixed: 1 1;
895            visible: 0;
896         }
897      }
898      part { name: "label_min"; type: SPACER;
899         scale: 1;
900         description { state: "default" 0.0;
901            align: 0.5 0.0;
902            rel1.to: "label1";
903            rel2.to: "label1";
904            max: 99999 26;
905            fixed: 1 1;
906         }
907      }
908      part { name: "bevel"; mouse_events: 0;
909         insert_before: "e.text.label";
910         clip_to: "textmaster";
911         description { state: "default" 0.0;
912            rel1.offset: -8 -7;
913            rel1.to: "e.text.label";
914            rel2.offset: 7 7;
915            rel2.to: "label_min";
916            image.normal: "darken_square.png";
917            image.border: 6 6 6 6;
918            fill.smooth: 0;
919            fixed: 1 1;
920         }
921         description { state: "selected" 0.0;
922            inherit: "default" 0.0;
923            visible: 0;
924         }
925      }
926   }
927   programs {
928      program {
929         signal: "e,state,selected"; source: "e";
930         action: STATE_SET "selected" 0.0;
931         target: "bevel";
932      }
933      program {
934         signal: "e,state,unselected"; source: "e";
935         action: STATE_SET "default" 0.0;
936         target: "bevel";
937      }
938   }
939}
940
941group { name: "e/fileman/default/scrollframe";
942   inherit: "e/widgets/scrollframe";
943   parts {
944      part { name: "bg";
945         description { state: "default" 0.0;
946            color_class: "fileman_base";
947         }
948      }
949      part { name: "e.swallow.bg"; type: SWALLOW; insert_before: "e.swallow.content";
950         clip_to: "clipper";
951         description { state: "default" 0.0;
952            rel1.to: "bg";
953            rel2.to: "bg";
954         }
955      }
956      part { name: "e.swallow.overlay"; type: SWALLOW;
957         insert_after: "e.swallow.content";
958         clip_to: "clipper";
959         description { state: "default" 0.0;
960            rel1.to: "bg";
961            rel2.to: "bg";
962         }
963      }
964      part { name: "e.box.operations"; type: BOX;
965         insert_after: "inset";
966         description { state: "default" 0.0;
967            rel1.offset: 3 3;
968            rel1.to: "bg";
969            rel2.offset: -4 -4;
970            rel2.to: "bg";
971            align: 1.0 1.0;
972            box { layout: "vertical";
973               padding: 0 0;
974               align: 1.0 1.0;
975               min: 1 1;
976            }
977         }
978      }
979   }
980}
981
982group { name: "e/fileman/default/window/main";
983   images.image: "bevel_dark_out.png" COMP;
984   parts {
985      part { name: "base"; type: RECT;
986         description { state: "default" 0.0;
987            color_class: "fwin_base";
988            color: 64 64 64 255;
989         }
990      }
991      part { name: "e.swallow.bg"; type: SWALLOW;
992         description { state: "default" 0.0;
993         }
994      }
995      part { name: "bevel";
996         description { state: "default" 0.0;
997            image.normal: "bevel_dark_out.png";
998            image.border: 1 1 1 1;
999            image.middle: 0;
1000            fill.smooth: 0;
1001         }
1002      }
1003      part { name: "e.swallow.favorites"; type: SWALLOW;
1004         description { state: "default" 0.0;
1005            align: 0.0 1.0;
1006            rel1.offset: 4 4;
1007            rel1.to: "region";
1008            rel2.offset: 4 -5;
1009            rel2.relative: 0.0 1.0;
1010            rel2.to: "region";
1011            fixed: 1 0;
1012         }
1013      }
1014      part { name: "e.swallow.content"; type: SWALLOW;
1015         description { state: "default" 0.0;
1016            rel1.offset: 4 4;
1017            rel1.to: "region";
1018            rel2.offset: -5 -5;
1019            rel2.to: "region";
1020            align: 1.0 1.0;
1021         }
1022         description { state: "fav" 0.0;
1023            inherit: "default" 0.0;
1024            rel1.relative: 1.0 0.0;
1025            rel1.to_x: "e.swallow.favorites";
1026         }
1027      }
1028      part { name: "e.swallow.toolbar"; type: SWALLOW;
1029         description { state: "default" 0.0;
1030         }
1031         description { state: "tb_top" 0.0;
1032            align: 0.5 0.0;
1033            rel1.offset: 4 4;
1034            // XXX: this is a bug workaround. should be -4 4;
1035            rel2.offset: -9 4;
1036            rel2.relative: 1.0 0.0;
1037            fixed: 0 1;
1038         }
1039         description { state: "tb_bottom" 0.0;
1040            align: 0.5 1.0;
1041            rel1.offset: 4 -5;
1042            rel1.relative: 0.0 1.0;
1043            // XXX: this is a bug workaround. should be -4 -5;
1044            rel2.offset: -9 -5;
1045            fixed: 0 1;
1046         }
1047      }
1048      part { name: "region"; type: SPACER;
1049         description { state: "default" 0.0;
1050         }
1051         description { state: "tb_top" 0.0;
1052            inherit: "default" 0.0;
1053            rel1.relative: 0.0 1.0;
1054            rel1.to_y: "e.swallow.toolbar";
1055         }
1056         description { state: "tb_bottom" 0.0;
1057            inherit: "default" 0.0;
1058            rel2.relative: 1.0 0.0;
1059            rel2.to_y: "e.swallow.toolbar";
1060         }
1061         description { state: "tb_left" 0.0;
1062            inherit: "default" 0.0;
1063            rel1.relative: 1.0 0.0;
1064            rel1.to_x: "e.swallow.toolbar";
1065         }
1066         description { state: "tb_right" 0.0;
1067            inherit: "default" 0.0;
1068            rel2.relative: 0.0 1.0;
1069            rel2.to_x: "e.swallow.toolbar";
1070         }
1071      }
1072   }
1073   programs {
1074      program {
1075         signal: "e,favorites,enabled"; source: "e";
1076         action: STATE_SET "fav" 0.0;
1077         target: "e.swallow.content";
1078      }
1079      program {
1080         signal: "e,favorites,disabled"; source: "e";
1081         action: STATE_SET "default" 0.0;
1082         target: "e.swallow.content";
1083      }
1084      program {
1085         signal: "e,toolbar,left"; source: "e";
1086         action: STATE_SET "tb_left" 0.0;
1087         target: "region";
1088      }
1089      program {
1090         signal: "e,toolbar,right"; source: "e";
1091         action: STATE_SET "tb_right" 0.0;
1092         target: "region";
1093      }
1094      program {
1095         signal: "e,toolbar,top"; source: "e";
1096         action: STATE_SET "tb_top" 0.0;
1097         target: "e.swallow.toolbar";
1098         target: "region";
1099      }
1100      program {
1101         signal: "e,toolbar,bottom"; source: "e";
1102         action: STATE_SET "tb_bottom" 0.0;
1103         target: "e.swallow.toolbar";
1104         target: "region";
1105      }
1106      program {
1107         signal: "e,toolbar,disabled"; source: "e";
1108         action: STATE_SET "default" 0.0;
1109         target: "e.swallow.toolbar";
1110         target: "region";
1111      }
1112   }
1113}
1114
1115group { name: "e/fileman/toolbar/default/base";
1116   images.image: "vgrad_med_lighter.png" COMP;
1117   images.image: "bevel_out.png" COMP;
1118   images.image: "shine.png" COMP;
1119   images.image: "shadow_square_tiny.png" COMP;
1120   parts {
1121      part { name: "shadow"; mouse_events: 0;
1122         description { state: "default" 0.0;
1123            rel1.offset: -1 0;
1124            rel2.offset: 0 1;
1125            image.normal: "shadow_square_tiny.png";
1126            image.border: 6 6 6 6;
1127            fill.smooth: 0;
1128         }
1129      }
1130      part { name: "base";
1131         description { state: "default" 0.0;
1132            image.normal: "vgrad_med_lighter.png";
1133            rel1.offset: 2 2;
1134            rel2.offset: -3 -3;
1135            fill.smooth: 0;
1136            TILED_HORIZ(120)
1137         }
1138      }
1139      part { name: "e.swallow.event"; type: SWALLOW;
1140         description { state: "default" 0.0;
1141            rel1.to: "e.swallow.content";
1142            rel2.to: "e.swallow.content";
1143         }
1144      }
1145      part { name: "e.swallow.content"; type: SWALLOW;
1146         description { state: "default" 0.0;
1147            rel1.offset: 2 2;
1148            rel2.offset: -3 -3;
1149         }
1150      }
1151      part { name: "bevel"; mouse_events: 0;
1152         description { state: "default" 0.0;
1153            rel1.to: "base";
1154            rel2.to: "base";
1155            image.normal: "bevel_out.png";
1156            image.border: 1 1 1 1;
1157            image.middle: 0;
1158            fill.smooth: 0;
1159         }
1160      }
1161      part { name: "shine"; mouse_events: 0;
1162         description { state: "default" 0.0;
1163            image.normal: "shine.png";
1164            rel1.offset: 0 -2;
1165            rel1.to: "base";
1166            rel2.relative: 1.0 0.0;
1167            rel2.offset: -1 2;
1168            rel2.to: "base";
1169            FIXED_SIZE(69, 5)
1170         }
1171      }
1172   }
1173   programs {
1174//      program {
1175//         signal: "e,state,orientation,left"; source: "e";
1176//      }
1177//      program {
1178//         signal: "e,state,orientation,right"; source: "e";
1179//      }
1180//      program {
1181//        signal: "e,state,orientation,top"; source: "e";
1182//      }
1183//      program {
1184//         signal: "e,state,orientation,bottom"; source: "e";
1185//      }
1186   }
1187}
1188
1189group { name: "e/fileman/popup/default";
1190   images.image: "vgrad_med_lighter.png" COMP;
1191   images.image: "bevel_out.png" COMP;
1192   images.image: "shine.png" COMP;
1193   parts {
1194      part { name: "base"; type: RECT; mouse_events: 0;
1195         description { state: "default" 0.0;
1196            color: 64 64 64 255;
1197         }
1198      }
1199      part { name: "bevel"; mouse_events: 0;
1200         description { state: "default" 0.0;
1201            image.normal: "bevel_out.png";
1202            image.border: 1 1 1 1;
1203            image.middle: 0;
1204            fill.smooth: 0;
1205         }
1206      }
1207      part { name: "e.swallow.content"; type: SWALLOW;
1208         description { state: "default" 0.0;
1209            rel1.offset: 4 0;
1210            rel1.relative: 0.0 1.0;
1211            rel1.to_y: "e.text.title";
1212            rel2.offset: -5 -5;
1213         }
1214      }
1215      part { name: "e.text.title"; type: TEXT; mouse_events: 0;
1216         scale: 1;
1217         effect: SHADOW BOTTOM;
1218         description { state: "default" 0.0;
1219            color_class: "fileman_popup_title";
1220            rel1.relative: 0.0 0.0;
1221            rel1.offset: 1 3;
1222            rel2.relative: 1.0 0.0;
1223            rel2.offset: -2 3;
1224            align: 0.5 0.0;
1225            color: FN_COL_DEFAULT;
1226            text { font: FNBD; size: 10;
1227               text_class: "fileman_popup_title";
1228               align: 0.5 0.0;
1229               min: 0 1;
1230            }
1231            fixed: 0 1;
1232         }
1233      }
1234      part { name: "shine"; mouse_events: 0;
1235         description { state: "default" 0.0;
1236            image.normal: "shine.png";
1237            rel1.offset: 0 -2;
1238            rel1.to: "base";
1239            rel2.relative: 1.0 0.0;
1240            rel2.offset: -1 2;
1241            rel2.to: "base";
1242            FIXED_SIZE(69, 5)
1243         }
1244      }
1245   }
1246}
1247
1248group { name: "e/fileman/desktop/scrollframe";
1249   inherit: "e/fileman/default/scrollframe";
1250   parts {
1251      part { name: "bg";
1252         description { state: "default" 0.0;
1253            visible: 0;
1254         }
1255      }
1256      part { name: "e.swallow.content";
1257         description { state: "default" 0.0;
1258            rel1.offset: 0 0;
1259            rel2.offset: -1 -1;
1260         }
1261      }
1262      part { name: "shadow";
1263         description { state: "default" 0.0;
1264            visible: 0;
1265         }
1266      }
1267      part { name: "inset";
1268         description { state: "default" 0.0;
1269            visible: 0;
1270         }
1271      }
1272   }
1273}
1274
1275group { name: "e/fileman/default/overlay";
1276   alias: "e/fileman/desktop/overlay";
1277   images.image: "darken_rounded_square.png" COMP;
1278   images.image: "knob_round_busy.png" COMP;
1279   images.image: "glow_round_corners.png" COMP;
1280   parts {
1281      part { name: "typebuf_clip"; type: RECT;
1282         description { state: "default" 0.0;
1283            visible: 0;
1284            color: 255 255 255 0;
1285         }
1286         description { state: "active" 0.0;
1287            visible: 1;
1288            color: 255 255 255 255;
1289         }
1290      }
1291      part { name: "busy_clip"; type: RECT;
1292         description { state: "default" 0.0;
1293            visible: 0;
1294            color: 255 255 255 0;
1295         }
1296         description { state: "active" 0.0;
1297            visible: 1;
1298            color: 255 255 255 255;
1299         }
1300      }
1301      part { name: "busy_bevel"; mouse_events: 0;
1302         clip_to: "busy_clip";
1303         description { state: "default" 0.0;
1304            rel1.offset: -12 0;
1305            rel1.to: "e.text.busy_label";
1306            rel2.offset: 11 -1;
1307            rel2.to: "e.text.busy_label";
1308            image.normal: "darken_rounded_square.png";
1309            image.border: 15 15 15 15;
1310            fill.smooth: 0;
1311         }
1312      }
1313      part { name: "e.text.busy_label"; type: TEXT; mouse_events: 0;
1314         clip_to: "busy_clip";
1315         effect: SHADOW BOTTOM;
1316         scale: 1;
1317         description { state: "default" 0.0;
1318            rel1.relative: 1.0 0.0;
1319            rel1.offset: 12 0;
1320            rel1.to: "knob";
1321            rel2.offset: 12 -1;
1322            rel2.to: "knob";
1323            align: 0.0 0.5;
1324            color: FN_COL_DEFAULT;
1325            color_class: "fileman_busy";
1326            text { font: FNBD; size: 10;
1327               min: 1 1;
1328               ellipsis: -1;
1329               align: 0.0 0.5;
1330               text_class: "fileman_busy";
1331            }
1332         }
1333      }
1334      part { name: "knob"; mouse_events: 0;
1335         clip_to: "busy_clip";
1336         description { state: "default" 0.0;
1337            fixed: 1 1;
1338            image.normal: "knob_round_busy.png";
1339            min: 40 40;
1340            max: 40 40;
1341            rel1.relative: 0.0 1.0;
1342            rel1.offset: 7 -8;
1343            rel2.relative: 0.0 1.0;
1344            rel2.offset: 7 -8;
1345            align: 0.0 1.0;
1346            fixed: 1 1;
1347         }
1348      }
1349      part { name: "knob_spinner"; mouse_events: 0;
1350         clip_to: "busy_clip";
1351         description { state: "default" 0.0;
1352            fixed: 1 1;
1353            rel1.to: "knob";
1354            rel2.to: "knob";
1355            image.normal: "glow_round_corners.png";
1356            map.on: 1;
1357            map.smooth: 1;
1358            map.rotation.center: "knob";
1359         }
1360         description { state: "spin" 0.0;
1361            inherit: "default" 0.0;
1362            map.rotation.z: 360;
1363         }
1364      }
1365      part { name: "bevel"; mouse_events: 0;
1366         clip_to: "typebuf_clip";
1367         description { state: "default" 0.0;
1368            rel1.offset: -15 -15;
1369            rel1.to: "e.text.typebuf_label";
1370            rel2.offset: 14 14;
1371            rel2.to: "e.text.typebuf_label";
1372            image.normal: "darken_rounded_square.png";
1373            image.border: 15 15 15 15;
1374            fill.smooth: 0;
1375         }
1376      }
1377      part { name: "e.text.typebuf_label"; type: TEXT; mouse_events: 0;
1378         clip_to: "typebuf_clip";
1379         effect: SHADOW BOTTOM;
1380         scale: 1;
1381         description { state: "default" 0.0;
1382            rel1.relative: 0.5 0.5;
1383            rel1.offset: -8 -8;
1384            rel2.relative: 0.5 0.5;
1385            rel2.offset: 7 7;
1386            color: FN_COL_DEFAULT;
1387            color_class: "fileman_typebuf";
1388            text { font: FNBD; size: 10;
1389               min: 1 1;
1390               ellipsis: -1;
1391               align: 0.5 0.5;
1392               text_class: "fileman_typebuf";
1393            }
1394         }
1395      }
1396   }
1397   programs {
1398      program { name: "spin";
1399         signal: "e,state,busy,start"; source: "e";
1400         action: STATE_SET "spin" 0.0;
1401         transition: LINEAR 1.0;
1402         target: "knob_spinner";
1403         after: "spin2";
1404      }
1405      program { name: "spin2";
1406         action: STATE_SET "default" 0.0;
1407         target: "knob_spinner";
1408         after: "spin";
1409      }
1410      program {
1411         signal: "e,state,busy,start"; source: "e";
1412         action: STATE_SET "active" 0.0;
1413         transition: SINUSOIDAL 0.25;
1414         target: "busy_clip";
1415      }
1416      program {
1417         signal: "e,state,busy,stop"; source: "e";
1418         action: STATE_SET "default" 0.0;
1419         transition: SINUSOIDAL 1.0;
1420         target: "busy_clip";
1421         after: "spin3";
1422      }
1423      program { name: "spin3";
1424         action: ACTION_STOP;
1425         target: "spin";
1426         target: "spin2";
1427         after: "spin4";
1428      }
1429      program { name: "spin4";
1430         action: STATE_SET "default" 0.0;
1431         target: "knob_spinner";
1432      }
1433      program {
1434         signal: "e,state,typebuf,start"; source: "e";
1435         action: STATE_SET "active" 0.0;
1436         transition: SINUSOIDAL 0.25;
1437         target: "typebuf_clip";
1438      }
1439      program {
1440         signal: "e,state,typebuf,stop"; source: "e";
1441         action: STATE_SET "default" 0.0;
1442         transition: SINUSOIDAL 1.0;
1443         target: "typebuf_clip";
1444      }
1445   }
1446}
1447
1448group { name: "e/fileman/default/list/drop_in";
1449   alias: "e/fileman/desktop/list/drop_in";
1450   images.image: "mini_blue_glow_arrow_0.png" COMP;
1451   images.image: "mini_blue_glow_arrow_1.png" COMP;
1452   images.image: "mini_blue_glow_arrow_2.png" COMP;
1453   images.image: "mini_blue_glow_arrow_3.png" COMP;
1454   images.image: "outline_glow.png" COMP;
1455   images.image: "diagonal_stripes.png" COMP;
1456   parts {
1457      part { name: "base"; mouse_events: 0;
1458         description { state: "default" 0.0;
1459            image.normal: "outline_glow.png";
1460            image.border: 4 4 4 4;
1461            image.middle: 0;
1462            fill.smooth: 0;
1463            visible: 0;
1464         }
1465         description { state: "active" 0.0;
1466            inherit: "default" 0.0;
1467            visible: 1;
1468         }
1469      }
1470      part { name: "pat"; mouse_events: 0;
1471         description { state: "default" 0.0;
1472            rel1.to: "base";
1473            rel1.offset: 1 1;
1474            rel2.offset: -2 -2;
1475            rel2.to: "base";
1476            image.normal: "diagonal_stripes.png";
1477            color: 255 255 255 25;
1478            TILED_PATTERN(240, 240)
1479            visible: 0;
1480         }
1481         description { state: "active" 0.0;
1482            inherit: "default" 0.0;
1483            visible: 1;
1484         }
1485      }
1486      part { name: "drop0"; mouse_events: 0;
1487         description { state: "default" 0.0;
1488            image.normal: "mini_blue_glow_arrow_0.png";
1489            rel1.offset: -10 -10;
1490            rel1.relative: 0.0 0.0;
1491            rel2.offset: -10 -10;
1492            rel2.relative: 0.0 0.0;
1493            align: 0.0 0.0;
1494            min: 10 10;
1495            fixed: 1 1;
1496            visible: 0;
1497         }
1498         description { state: "active" 0.0;
1499            inherit: "default" 0.0;
1500            visible: 1;
1501         }
1502         description { state: "hidden" 0.0;
1503            inherit: "default" 0.0;
1504            rel1.offset: 11 11;
1505            rel2.offset: 11 11;
1506            min: 1 1;
1507            color: 255 255 255 0;
1508         }
1509      }
1510      part { name: "drop1"; mouse_events: 0;
1511         description { state: "default" 0.0;
1512            image.normal: "mini_blue_glow_arrow_1.png";
1513            rel1.offset: 9 -10;
1514            rel1.relative: 1.0 0.0;
1515            rel2.offset: 9 -10;
1516            rel2.relative: 1.0 0.0;
1517            align: 1.0 0.0;
1518            min: 10 10;
1519            fixed: 1 1;
1520            visible: 0;
1521         }
1522         description { state: "active" 0.0;
1523            inherit: "default" 0.0;
1524            visible: 1;
1525         }
1526         description { state: "hidden" 0.0;
1527            inherit: "default" 0.0;
1528            rel1.offset: -12 11;
1529            rel2.offset: -12 11;
1530            min: 1 1;
1531            color: 255 255 255 0;
1532         }
1533      }
1534      part { name: "drop2"; mouse_events: 0;
1535         description { state: "default" 0.0;
1536            image.normal: "mini_blue_glow_arrow_2.png";
1537            rel1.offset: 9 9;
1538            rel1.relative: 1.0 1.0;
1539            rel2.offset: 9 9;
1540            rel2.relative: 1.0 1.0;
1541            align: 1.0 1.0;
1542            min: 10 10;
1543            fixed: 1 1;
1544            visible: 0;
1545         }
1546         description { state: "active" 0.0;
1547            inherit: "default" 0.0;
1548            visible: 1;
1549         }
1550         description { state: "hidden" 0.0;
1551            inherit: "default" 0.0;
1552            rel1.offset: -12 -12;
1553            rel2.offset: -12 -12;
1554            min: 1 1;
1555            color: 255 255 255 0;
1556         }
1557      }
1558      part { name: "drop3"; mouse_events: 0;
1559         description { state: "default" 0.0;
1560            image.normal: "mini_blue_glow_arrow_3.png";
1561            rel1.offset: -10 9;
1562            rel1.relative: 0.0 1.0;
1563            rel2.offset: -10 9;
1564            rel2.relative: 0.0 1.0;
1565            align: 0.0 1.0;
1566            min: 10 10;
1567            fixed: 1 1;
1568            visible: 0;
1569         }
1570         description { state: "active" 0.0;
1571            inherit: "default" 0.0;
1572            visible: 1;
1573         }
1574         description { state: "hidden" 0.0;
1575            inherit: "default" 0.0;
1576            rel1.offset: 11 -12;
1577            rel2.offset: 11 -12;
1578            min: 1 1;
1579            color: 255 255 255 0;
1580         }
1581      }
1582   }
1583   programs {
1584      program { name: "drop1";
1585         signal: "e,state,selected"; source: "e";
1586         action: STATE_SET "active" 0.0;
1587         target: "drop0";
1588         target: "drop1";
1589         target: "drop2";
1590         target: "drop3";
1591         after: "drop2";
1592      }
1593      program { name: "drop2";
1594         action: STATE_SET "hidden" 0.0;
1595         transition: LINEAR 0.5;
1596         target: "drop0";
1597         target: "drop1";
1598         target: "drop2";
1599         target: "drop3";
1600         after: "drop1";
1601      }
1602      program {
1603         signal: "e,state,selected"; source: "e";
1604         action: STATE_SET "active" 0.0;
1605         target: "base";
1606         target: "pat";
1607      }
1608      program {
1609         signal: "e,state,unselected"; source: "e";
1610         action: STATE_SET "default" 0.0;
1611         target: "drop0";
1612         target: "drop1";
1613         target: "drop2";
1614         target: "drop3";
1615      }
1616      program {
1617         signal: "e,state,unselected"; source: "e";
1618         action: STATE_SET "default" 0.0;
1619         target: "base";
1620         target: "pat";
1621      }
1622   }
1623}
1624
1625group { name: "e/fileman/default/list/drop_between";
1626   alias: "e/fileman/desktop/list/drop_between";
1627   images.image: "glow_small.png" COMP;
1628   images.image: "sym_down_glow_normal.png" COMP;
1629   images.image: "sym_up_glow_normal.png" COMP;
1630   parts {
1631      part { name: "base"; mouse_events: 0;
1632         description { state: "default" 0.0;
1633            rel1.offset: -4 -4;
1634            rel2.offset: 3 3;
1635            image.normal: "glow_small.png";
1636            image.border: 7 7 7 7;
1637            fill.smooth: 0;
1638            min: 8 8;
1639            visible: 0;
1640         }
1641         description { state: "active" 0.0;
1642            inherit: "default" 0.0;
1643            visible: 1;
1644         }
1645      }
1646      part { name: "drop0"; mouse_events: 0;
1647         description { state: "default" 0.0;
1648            image.normal: "sym_down_glow_normal.png";
1649            rel1.offset: 0 -20;
1650            rel1.relative: 0.5 0.0;
1651            rel2.offset: -1 -20;
1652            rel2.relative: 0.5 0.0;
1653            align: 0.5 1.0;
1654            min: 10 10;
1655            fixed: 1 1;
1656            visible: 0;
1657         }
1658         description { state: "active" 0.0;
1659            inherit: "default" 0.0;
1660            visible: 1;
1661         }
1662         description { state: "hidden" 0.0;
1663            inherit: "default" 0.0;
1664            rel1.offset: 0 -1;
1665            rel2.offset: -1 -1;
1666            min: 1 1;
1667            color: 255 255 255 0;
1668         }
1669      }
1670      part { name: "drop1"; mouse_events: 0;
1671         description { state: "default" 0.0;
1672            image.normal: "sym_up_glow_normal.png";
1673            rel1.offset: 0 19;
1674            rel1.relative: 0.5 0.0;
1675            rel2.offset: -1 19;
1676            rel2.relative: 0.5 0.0;
1677            align: 0.5 1.0;
1678            min: 10 10;
1679            fixed: 1 1;
1680            visible: 0;
1681         }
1682         description { state: "active" 0.0;
1683            inherit: "default" 0.0;
1684            visible: 1;
1685         }
1686         description { state: "hidden" 0.0;
1687            inherit: "default" 0.0;
1688            rel1.offset: 0 0;
1689            rel2.offset: -1 0;
1690            min: 1 1;
1691            color: 255 255 255 0;
1692         }
1693      }
1694   }
1695   programs {
1696      program { name: "drop1";
1697         signal: "e,state,selected"; source: "e";
1698         action: STATE_SET "active" 0.0;
1699         target: "drop0";
1700         target: "drop1";
1701         after: "drop2";
1702      }
1703      program { name: "drop2";
1704         action: STATE_SET "hidden" 0.0;
1705         transition: LINEAR 0.5;
1706         target: "drop0";
1707         target: "drop1";
1708         after: "drop1";
1709      }
1710      program {
1711         signal: "e,state,selected"; source: "e";
1712         action: STATE_SET "active" 0.0;
1713         target: "base";
1714      }
1715      program {
1716         signal: "e,state,unselected"; source: "e";
1717         action: STATE_SET "default" 0.0;
1718         target: "drop0";
1719         target: "drop1";
1720      }
1721      program {
1722         signal: "e,state,unselected"; source: "e";
1723         action: STATE_SET "default" 0.0;
1724         target: "base";
1725      }
1726   }
1727}
1728
1729group { name: "e/fileman/default/rubberband";
1730   images.image: "outline_glow.png" COMP;
1731   images.image: "diagonal_stripes.png" COMP;
1732   parts {
1733      part { name: "base"; mouse_events: 0;
1734         description { state: "default" 0.0;
1735            image.normal: "outline_glow.png";
1736            image.border: 4 4 4 4;
1737            image.middle: 0;
1738            fill.smooth: 0;
1739         }
1740      }
1741      part { name: "pat"; mouse_events: 0;
1742         description { state: "default" 0.0;
1743            rel1.to: "base";
1744            rel1.offset: 1 1;
1745            rel2.offset: -2 -2;
1746            rel2.to: "base";
1747            image.normal: "diagonal_stripes.png";
1748            color: 255 255 255 25;
1749            TILED_PATTERN(240, 240)
1750         }
1751      }
1752   }
1753}
1754
1755group { name: "e/fileman/default/progress";
1756   images.image: "darken_rounded_square.png" COMP;
1757   images.image: "knob_round_busy.png" COMP;
1758   images.image: "glow_round_corners.png" COMP;
1759   images.image: "media_busy_progress.png" COMP;
1760   images.image: "sym_close_light_normal.png" COMP;
1761   images.image: "sym_close_light_selected.png" COMP;
1762   images.image: "led_red_light.png" COMP;
1763   images.image: "led_strobe.png" COMP;
1764   parts {
1765      part { name: "base"; type: SPACER;
1766         description { state: "default" 0.0;
1767            rel1.to_x: "e.text.info";
1768            rel2.to_x: "e.text.info";
1769            min: 0 35;
1770         }
1771      }
1772      part { name: "bevel"; mouse_events: 0;
1773         description { state: "default" 0.0;
1774            rel1.offset: -5 -5;
1775            rel2.offset: 4 4;
1776            image.normal: "darken_rounded_square.png";
1777            image.border: 15 15 15 15;
1778            fill.smooth: 0;
1779            fixed: 1 1;
1780         }
1781      }
1782      part { name: "e.text.info"; type: TEXT; mouse_events: 0;
1783         effect: SHADOW BOTTOM;
1784         scale: 1;
1785         description { state: "default" 0.0;
1786            color_class: "fileman_icon";
1787            rel1.relative: 1.0 0.0;
1788            rel1.to_x: "knob";
1789            rel2.relative: 0.0 1.0;
1790            rel2.to_x: "close_event";
1791            rel2.offset: -3 -1;
1792            text { font: FN; size: 10;
1793               min: 1 0;
1794               ellipsis: -1;
1795               align: 0.0 0.5;
1796               text_class: "fileman_icon";
1797            }
1798         }
1799      }
1800      part { name: "busy_clip"; type: RECT;
1801         description { state: "default" 0.0;
1802            rel1.offset: -20 0;
1803            color: 255 255 255 0;
1804            visible: 0;
1805         }
1806         description { state: "active" 0.0;
1807            inherit: "default" 0.0;
1808            color: 255 255 255 255;
1809            visible: 1;
1810         }
1811      }
1812      part { name: "led_clip"; type: RECT;
1813         description { state: "default" 0.0;
1814            rel1.offset: -20 0;
1815            color: 255 255 255 0;
1816            visible: 0;
1817         }
1818         description { state: "active" 0.0;
1819            inherit: "default" 0.0;
1820            color: 255 255 255 255;
1821            visible: 1;
1822         }
1823      }
1824      part { name: "knob"; mouse_events: 0;
1825         clip_to: "busy_clip";
1826         description { state: "default" 0.0;
1827            image.normal: "knob_round_busy.png";
1828            min: 40 40;
1829            max: 40 40;
1830            fixed: 1 1;
1831            align: 0.0 0.5;
1832         }
1833      }
1834      part { name: "knob_spinner"; mouse_events: 0;
1835         clip_to: "busy_clip";
1836         description { state: "default" 0.0;
1837            rel1.to: "knob";
1838            rel2.to: "knob";
1839            image.normal: "glow_round_corners.png";
1840            fixed: 1 1;
1841            map {
1842               on: 1;
1843               smooth: 1;
1844               rotation.center: "knob";
1845            }
1846         }
1847         description { state: "spin" 0.0;
1848            inherit: "default" 0.0;
1849            map.rotation.z: 360;
1850         }
1851      }
1852      part { name: "attention_event"; mouse_events: 1;
1853         type: RECT;
1854         description { state: "default" 0.0;
1855            color: 0 0 0 0;
1856            visible: 0;
1857         }
1858         description { state: "active" 0.0;
1859            color: 0 0 0 0;
1860            visible: 1;
1861         }
1862      }
1863      part { name: "led"; mouse_events: 0;
1864         clip_to: "led_clip";
1865         description { state: "default" 0.0;
1866            image.normal: "led_red_light.png";
1867            min: 30 30;
1868            max: 30 30;
1869            fixed: 1 1;
1870            rel1.offset: 5 0;
1871            align: 0.0 0.5;
1872         }
1873      }
1874      part { name: "led_spinner"; mouse_events: 0;
1875         clip_to: "led_clip";
1876         description { state: "default" 0.0;
1877            rel1.to: "led";
1878            rel2.to: "led";
1879            min: 40 40;
1880            max: 40 40;
1881            fixed: 1 1;
1882            image.normal: "led_strobe.png";
1883            map {
1884               on: 1;
1885               smooth: 1;
1886               rotation.center: "led";
1887            }
1888         }
1889         description { state: "spin" 0.0;
1890            inherit: "default" 0.0;
1891            map.rotation.z: 360;
1892         }
1893      }
1894      part { name: "close";
1895         description { state: "default" 0.0;
1896            image.normal: "sym_close_light_normal.png";
1897            rel1.to: "close_event";
1898            rel2.to: "close_event";
1899            fixed: 1 1;
1900         }
1901         description { state: "selected" 0.0;
1902            inherit: "default" 0.0;
1903            image.normal: "sym_close_light_selected.png";
1904         }
1905      }
1906      part { name: "close_event"; type: RECT;
1907         scale: 1;
1908         description { state: "default" 0.0;
1909            align: 1.0 0.5;
1910            rel1.relative: 1.0 0.0;
1911            rel1.offset: -4 0;
1912            rel2.offset: -4 -1;
1913            color: 0 0 0 0;
1914            min: 15 15;
1915            max: 15 15;
1916            fixed: 1 1;
1917         }
1918      }
1919      part { name: "progress"; mouse_events: 0;
1920         clip_to: "busy_clip";
1921         description { state: "default" 0.0;
1922            rel1.to: "base";
1923            rel1.offset: -5 0;
1924            rel2.to: "e.gauge.bar";
1925            rel2.offset: 4 -1;
1926            image.normal: "media_busy_progress.png";
1927            image.border: 5 5 0 0;
1928            min: 10 40;
1929            align: 0.0 1.0;
1930            fixed: 1 1;
1931         }
1932      }
1933      part { name: "e.gauge.bar"; type: SPACER; mouse_events: 0;
1934         dragable.x: 1 1 0;
1935         dragable.y: 0 0 0;
1936         dragable.confine: "base";
1937         description { state: "default" 0.0;
1938         }
1939      }
1940   }
1941/* we can also use messages with floats for progresss.
1942   script {
1943    public message(Msg_Type:type, id, ...) {
1944       if ((type == MSG_FLOAT) && (id == 1)) {
1945          new Float:val;
1946          val = getfarg(2);
1947          // val 0.0 -. 1.0 percentage
1948          custom_state(PART:"progress", "default", 0.0);
1949          set_state_val(PART:"progress", STATE_REL2, val, 1.0);
1950          set_state(PART:"progress", "custom", 0.0);
1951       }
1952    }
1953   }
1954 */
1955   programs {
1956      program { name: "spin";
1957         signal: "e,state,busy,start"; source: "e";
1958         action: STATE_SET "spin" 0.0;
1959         transition: LINEAR 1.0;
1960         target: "knob_spinner";
1961         after: "spin2";
1962      }
1963      program { name: "spin2";
1964         action: STATE_SET "default" 0.0;
1965         target: "knob_spinner";
1966         after: "spin";
1967      }
1968      program {
1969         signal: "e,state,busy,start"; source: "e";
1970         action: STATE_SET "active" 0.0;
1971         transition: SINUSOIDAL 0.25;
1972         target: "busy_clip";
1973      }
1974      program {
1975         signal: "e,state,busy,stop"; source: "e";
1976         action: STATE_SET "default" 0.0;
1977         transition: SINUSOIDAL 1.0;
1978         target: "busy_clip";
1979         after: "spin3";
1980      }
1981      program { name: "spin3";
1982         action: ACTION_STOP;
1983         target: "spin";
1984         target: "spin2";
1985         after: "spin4";
1986      }
1987      program { name: "spin4";
1988         action: STATE_SET "default" 0.0;
1989         target: "knob_spinner";
1990      }
1991      program {
1992         signal: "e,state,attention,start"; source: "e";
1993         action: STATE_SET "active" 0.0;
1994         target: "led_clip";
1995         target: "attention_event";
1996      }
1997      program {
1998         signal: "e,state,attention,stop"; source: "e";
1999         action: STATE_SET "default" 0.0;
2000         transition: SINUSOIDAL 0.6;
2001         target: "led_clip";
2002         target: "attention_event";
2003         after: "led_stop_spin";
2004      }
2005      program { name: "led_spin";
2006         signal: "e,state,attention,start"; source: "e";
2007         action: STATE_SET "spin" 0.0;
2008         transition: LINEAR 0.6;
2009         target: "led_spinner";
2010         after: "led_spin2";
2011      }
2012      program { name: "led_spin2";
2013         action: STATE_SET "default" 0.0;
2014         target: "led_spinner";
2015         after: "led_spin";
2016      }
2017      program { name: "led_stop_spin";
2018         action: ACTION_STOP;
2019         target: "led_spin";
2020      }
2021      program {
2022         signal: "mouse,down,1*"; source: "close_event";
2023         action: STATE_SET "selected" 0.0;
2024         target: "close";
2025      }
2026      program {
2027         signal: "mouse,up,1*"; source: "close_event";
2028         action: STATE_SET "default" 0.0;
2029         target: "close";
2030      }
2031      program {
2032         signal: "mouse,clicked,1*"; source: "close_event";
2033         action: SIGNAL_EMIT "e,fm,operation,abort" "";
2034      }
2035      program {
2036         signal: "mouse,clicked,1*"; source: "attention_event";
2037         action: SIGNAL_EMIT "e,fm,window,jump" "";
2038      }
2039/* XXX: implement these
2040      program {
2041         signal: "e,action,set,normal"; source: "e";
2042      }
2043      program {
2044         signal: "e,action,icon,unknown"; source: "e";
2045      }
2046      program {
2047         signal: "e,action,icon,copy"; source: "e";
2048      }
2049      program {
2050         signal: "e,action,icon,move"; source: "e";
2051      }
2052      program {
2053         signal: "e,action,icon,secure_delete"; source: "e";
2054      }
2055 */
2056   }
2057}
2058
2059group { name: "e/modules/efm_navigation/main";
2060   alias: "modules/efm_navigation/main";
2061   images.image: "shadow_inset_light.png" COMP;
2062   images.image: "shadow_angled_in_light.png" COMP;
2063   images.image: "sym_left_light_normal.png" COMP;
2064   images.image: "sym_left_glow_normal.png" COMP;
2065   images.image: "sym_right_light_normal.png" COMP;
2066   images.image: "sym_right_glow_normal.png" COMP;
2067   images.image: "sym_up_light_normal.png" COMP;
2068   images.image: "sym_up_glow_normal.png" COMP;
2069   images.image: "sym_reload_light_normal.png" COMP;
2070   images.image: "sym_reload_glow_normal.png" COMP;
2071   images.image: "sym_heart_light_normal.png" COMP;
2072   images.image: "sym_heart_glow_normal.png" COMP;
2073   parts {
2074      part { name: "base"; type: SPACER;
2075         description { state: "default" 0.0;
2076            rel1.to: "back";
2077            rel2.to: "favorite";
2078            fixed: 1 1;
2079         }
2080      }
2081      part { name: "e.swallow.pathbar"; type: SWALLOW;
2082         description { state: "default" 0.0;
2083            align: 0.0 0.5;
2084            rel1.to_x: "base";
2085            rel1.relative: 1.0 0.0;
2086            rel1.offset: 3 4;
2087            rel2.offset: -4 -4;
2088         }
2089      }
2090
2091#define BUTTON(_NAME, _REL, _ICON, _ACTION) \
2092      part { name: _NAME"_shadow1"; \
2093         description { state: "default" 0.0; \
2094            rel1.to: _REL; \
2095            rel2.to: _REL; \
2096            image.normal: "shadow_inset_light.png"; \
2097            fixed: 1 1; \
2098            visible: 0; \
2099         } \
2100         description { state: "active" 0.0; \
2101            inherit: "default" 0; \
2102            visible: 1; \
2103         } \
2104      } \
2105      part { name: _NAME"_shadow2"; \
2106         description { state: "default" 0.0; \
2107            rel1.to: _REL; \
2108            rel2.to: _REL; \
2109            image.normal: "shadow_angled_in_light.png"; \
2110            image.border: 16 16 0 0; \
2111            fixed: 1 1; \
2112            visible: 0; \
2113         } \
2114         description { state: "active" 0.0; \
2115            inherit: "default" 0; \
2116            visible: 1; \
2117         } \
2118      } \
2119      part { name: _NAME"_icon"; \
2120         description { state: "default" 0.0; \
2121            rel1.to: _REL; \
2122            rel2.to: _REL; \
2123            image.normal: "sym_"_ICON"_light_normal.png"; \
2124            min: 15 15; \
2125            max: 15 15; \
2126            fixed: 1 1; \
2127         } \
2128         description { state: "active" 0.0; \
2129            inherit: "default" 0; \
2130            image.normal: "sym_"_ICON"_glow_normal.png"; \
2131         } \
2132      } \
2133      program { \
2134         signal: "mouse,down,1*"; source: _REL; \
2135         action: STATE_SET "active" 0.0; \
2136         target: _NAME"_shadow1"; \
2137         target: _NAME"_shadow2"; \
2138         target: _NAME"_icon"; \
2139      } \
2140      program { \
2141         signal: "mouse,up,1*"; source: _REL; \
2142         action: STATE_SET "default" 0.0; \
2143         target: _NAME"_shadow1"; \
2144         target: _NAME"_shadow2"; \
2145         target: _NAME"_icon"; \
2146      } \
2147      program { \
2148         signal: "mouse,clicked,1*"; source: _REL; \
2149         action: SIGNAL_EMIT "e,action,"_ACTION",click" ""; \
2150      } \
2151
2152      BUTTON("go_back", "back", "left", "back")
2153      BUTTON("go_forward", "forward", "right", "forward")
2154      BUTTON("go_parent", "parent", "up", "up")
2155      BUTTON("go_reload", "reload", "reload", "refresh")
2156      BUTTON("go_fav", "favorite", "heart", "favorites")
2157
2158      part { name: "back"; type: RECT;
2159         description { state: "default" 0.0;
2160            rel1.offset: 6 0;
2161            rel2.relative: 0.0 1.0;
2162            rel2.offset: 6 -1;
2163            align: 0.0 0.5;
2164            color: 0 0 0 0;
2165            aspect: 1.0 1.0; aspect_preference: VERTICAL;
2166            fixed: 0 1;
2167         }
2168      }
2169      part { name: "forward"; type: RECT;
2170         description { state: "default" 0.0;
2171            rel1.to: "back";
2172            rel1.relative: 1.0 0.0;
2173            rel2.to: "back";
2174            align: 0.0 0.5;
2175            color: 0 0 0 0;
2176            aspect: 1.0 1.0; aspect_preference: VERTICAL;
2177            fixed: 0 1;
2178         }
2179      }
2180      part { name: "parent"; type: RECT;
2181         description { state: "default" 0.0;
2182            rel1.to: "forward";
2183            rel1.relative: 1.0 0.0;
2184            rel2.to: "forward";
2185            align: 0.0 0.5;
2186            color: 0 0 0 0;
2187            aspect: 1.0 1.0; aspect_preference: VERTICAL;
2188            fixed: 0 1;
2189         }
2190      }
2191      part { name: "reload"; type: RECT;
2192         description { state: "default" 0.0;
2193            rel1.to: "parent";
2194            rel1.relative: 1.0 0.0;
2195            rel2.to: "parent";
2196            align: 0.0 0.5;
2197            color: 0 0 0 0;
2198            aspect: 1.0 1.0; aspect_preference: VERTICAL;
2199            fixed: 0 1;
2200         }
2201      }
2202      part { name: "favorite"; type: RECT;
2203         description { state: "default" 0.0;
2204            rel1.to: "reload";
2205            rel1.relative: 1.0 0.0;
2206            rel2.to: "reload";
2207            align: 0.0 0.5;
2208            color: 0 0 0 0;
2209            aspect: 1.0 1.0; aspect_preference: VERTICAL;
2210            fixed: 0 1;
2211         }
2212      }
2213   }
2214}
2215
2216group { name: "e/modules/efm_navigation/pathbar_button";
2217   alias: "modules/efm_navigation/pathbar_button";
2218   images.image: "horizontal_separated_bar_small_glow.png" COMP;
2219   parts {
2220      part { name: "e.text.label"; type: TEXT; mouse_events: 0;
2221         effect: SHADOW BOTTOM;
2222         scale: 1;
2223         description { state: "default" 0.0;
2224            rel1.offset: 6 6;
2225            rel2.offset: -7 -6;
2226            color: FN_COL_DEFAULT;
2227            color_class: "button_text";
2228            text { font: FN; size: 10;
2229               min: 1 1;
2230               ellipsis: -1;
2231               align: 0.5 0.5;
2232               text_class: "button";
2233            }
2234         }
2235         description { state: "selected" 0.0;
2236            inherit: "default" 0.0;
2237            visible: 0;
2238         }
2239      }
2240      part { name: "sel_label"; type: TEXT; mouse_events: 0;
2241         effect: GLOW;
2242         scale: 1;
2243         description { state: "default" 0.0;
2244            rel1.offset: -3 -3;
2245            rel1.to: "e.text.label";
2246            rel2.offset: 3 1;
2247            rel2.to: "e.text.label";
2248            color: FN_COL_HIGHLIGHT;
2249            color_class: "button_selected";
2250            text { font: FN; size: 10;
2251              text_source: "e.text.label";
2252              align: 0.5 0.5;
2253              text_class: "button_text";
2254            }
2255            visible: 0;
2256         }
2257         description { state: "selected" 0.0;
2258            inherit: "default" 0.0;
2259            visible: 1;
2260         }
2261      }
2262      part { name: "bar"; mouse_events: 0;
2263         description { state: "default" 0.0;
2264            image.normal: "horizontal_separated_bar_small_glow.png";
2265            image.border: 4 4 4 4;
2266            fill.smooth: 0;
2267            rel1.relative: 0.0 1.0;
2268            rel1.offset: -3 -6;
2269            rel2.offset: 2 3;
2270            visible: 0;
2271         }
2272         description { state: "selected" 0.0;
2273            inherit: "default" 0.0;
2274            visible: 1;
2275         }
2276      }
2277      part { name: "event"; type: RECT;
2278         description { state: "default" 0.0;
2279            color: 0 0 0 0;
2280         }
2281      }
2282   }
2283   programs {
2284      program {
2285         signal: "mouse,clicked,1"; source: "event";
2286         action: SIGNAL_EMIT "e,action,click" "";
2287      }
2288      program {
2289         signal: "e,state,selected"; source: "e";
2290         action: STATE_SET "selected" 0.0;
2291         target: "e.text.label";
2292         target: "sel_label";
2293         target: "bar";
2294      }
2295      program {
2296         signal: "e,state,default"; source: "e";
2297         action: STATE_SET "default" 0.0;
2298         target: "e.text.label";
2299         target: "sel_label";
2300         target: "bar";
2301      }
2302   }
2303}
2304
2305group { name: "e/modules/efm_navigation/pathbar_scrollframe";
2306   alias: "modules/efm_navigation/pathbar_scrollframe";
2307   images.image: "sym_left_light_normal.png" COMP;
2308   images.image: "sym_right_light_normal.png" COMP;
2309   images.image: "sym_left_glow_normal.png" COMP;
2310   images.image: "sym_right_glow_normal.png" COMP;
2311   images.image: "horiz_bar_inset.png" COMP;
2312   parts {
2313      part { name: "clipper"; type: RECT;
2314         description { state: "default" 0.0;
2315            rel1.to: "e.swallow.content";
2316            rel1.offset: -3 -50;
2317            rel2.to: "e.swallow.content";
2318            rel2.offset: 2 49;
2319         }
2320      }
2321      part { name: "e.swallow.content"; type: SWALLOW;
2322         clip_to: "clipper";
2323         description { state: "default" 0.0;
2324            rel1.relative: 1.0 0.0;
2325            rel1.to_x: "arrow1_ev";
2326            rel2.relative: 0.0 1.0;
2327            rel2.to_x: "arrow2_ev";
2328         }
2329      }
2330      part { name: "inset"; mouse_events: 0;
2331         description { state: "default" 0.0;
2332            rel1.offset: -1 -4;
2333            rel1.to_x: "clipper";
2334            rel2.offset: 0 2;
2335            rel2.to_x: "clipper";
2336            image.normal: "horiz_bar_inset.png";
2337            image.border: 7 7 1 1;
2338            image.middle: 0;
2339            fill.smooth: 0;
2340         }
2341      }
2342      part { name: "e.dragable.hbar"; mouse_events: 0;
2343         dragable.x: 1 1 0;
2344         dragable.y: 0 0 0;
2345         dragable.confine: "clipper";
2346         description { state: "default" 0.0;
2347            rel1.to: "clipper";
2348            rel2.to: "clipper";
2349            visible: 0;
2350         }
2351      }
2352      part { name: "arrow_clipper"; type: RECT;
2353         description { state: "default" 0.0;
2354         }
2355         description { state: "hidden" 0.0;
2356            inherit: "default" 0.0;
2357            visible: 0;
2358         }
2359      }
2360      part { name: "arrow1"; mouse_events: 0;
2361         clip_to: "arrow_clipper";
2362         description { state: "default" 0.0;
2363            rel1.to: "arrow1_ev";
2364            rel2.to: "arrow1_ev";
2365            image.normal: "sym_left_light_normal.png";
2366            FIXED_SIZE(15, 15)
2367         }
2368         description { state: "clicked" 0.0;
2369            inherit: "default" 0.0;
2370            image.normal: "sym_left_glow_normal.png";
2371         }
2372      }
2373      part { name: "arrow1_ev"; type: RECT;
2374         scale: 1;
2375         clip_to: "arrow_clipper";
2376         description { state: "default" 0.0;
2377            align: 0.0 0.5;
2378            color: 0 0 0 0;
2379            FIXED_SIZE(23, 23)
2380         }
2381      }
2382      part { name: "arrow2"; mouse_events: 0;
2383         clip_to: "arrow_clipper";
2384         description { state: "default" 0.0;
2385            rel1.to: "arrow2_ev";
2386            rel2.to: "arrow2_ev";
2387            image.normal: "sym_right_light_normal.png";
2388            FIXED_SIZE(15, 15)
2389         }
2390         description { state: "clicked" 0.0;
2391            inherit: "default" 0.0;
2392            image.normal: "sym_right_glow_normal.png";
2393         }
2394      }
2395      part { name: "arrow2_ev"; type: RECT;
2396         scale: 1;
2397         clip_to: "arrow_clipper";
2398         description { state: "default" 0.0;
2399            align: 1.0 0.5;
2400            color: 0 0 0 0;
2401            FIXED_SIZE(23, 23)
2402         }
2403      }
2404   }
2405   programs {
2406      program {
2407         signal: "e,action,show,hbar"; source: "e";
2408         action: STATE_SET "default" 0.0;
2409         target: "arrow_clipper";
2410         target: "arrow_clipper";
2411      }
2412      program {
2413         signal: "e,action,hide,hbar"; source: "e";
2414         action: STATE_SET "hidden" 0.0;
2415         target: "arrow_clipper";
2416         target: "arrow_clipper";
2417      }
2418      program {
2419         signal: "mouse,down,1*"; source: "arrow1_ev";
2420         action: SIGNAL_EMIT "e,action,prev" "e";
2421         after: "arrow1_repeat";
2422      }
2423      program { name: "arrow1_repeat";
2424         action: SIGNAL_EMIT "e,action,prev" "e";
2425         in: 0.3 0.0;
2426         after: "arrow1_repeat";
2427      }
2428      program {
2429         signal: "mouse,up,1"; source: "arrow1_ev";
2430         action: ACTION_STOP;
2431         target: "arrow1_repeat";
2432      }
2433      program {
2434         signal: "mouse,down,1*"; source: "arrow1_ev";
2435         action: STATE_SET "clicked" 0.0;
2436         target: "arrow1";
2437      }
2438
2439      program {
2440         signal: "mouse,up,1"; source: "arrow1_ev";
2441         action: STATE_SET "default" 0.0;
2442         target: "arrow1";
2443      }
2444      program {
2445         signal: "mouse,down,1*"; source: "arrow2_ev";
2446         action: SIGNAL_EMIT "e,action,next" "e";
2447         after: "arrow2_repeat";
2448      }
2449      program { name: "arrow2_repeat";
2450         action: SIGNAL_EMIT "e,action,next" "e";
2451         in: 0.3 0.0;
2452         after: "arrow2_repeat";
2453      }
2454      program {
2455         signal: "mouse,up,1"; source: "arrow2_ev";
2456         action: ACTION_STOP;
2457         target: "arrow2_repeat";
2458      }
2459      program {
2460         signal: "mouse,down,1*"; source: "arrow2_ev";
2461         action: STATE_SET "clicked" 0.0;
2462         target: "arrow2";
2463      }
2464      program {
2465         signal: "mouse,up,1"; source: "arrow2_ev";
2466         action: STATE_SET "default" 0.0;
2467         target: "arrow2";
2468      }
2469   }
2470}
2471