[Progressbar] issue image getting invisible for list progressbar. fixed.
[profile/ivi/efl-theme-tizen.git] / themes / groups / navigationbar_ex.edc
1 #define NAVI_BAR_EXTENDED_HEIGHT2 176
2 ///////////////////////////////////////////////////////////////////////////////
3 group { name: "elm/navigationbar_ex/content/default";
4    parts {
5       part { name: "clip";
6          type: RECT;
7          mouse_events: 0;
8          description { state: "default" 0.0;
9             rel1 {
10                to: "base";
11                offset: -9999 -9999;
12             }
13             rel2 {
14                to: "base";
15                offset: 9999 9999;
16             }
17             color: 255 255 255 255;
18          }
19          description { state: "visible" 0.0;
20             inherit: "default" 0.0;
21          }
22          description { state: "hidden" 0.0;
23             inherit: "default" 0.0;
24             color: 255 255 255 0;
25             visible: 0;
26          }
27          description { state: "hidden2" 0.0;
28             inherit: "default" 0.0;
29             color: 255 255 255 0;
30             visible: 0;
31          }
32       }
33       part { name: "base";
34          type: RECT;
35          mouse_events:  0;
36          clip_to: "clip";
37          description { state: "default" 0.0;
38             color: 0 0 0 0;
39          }
40          description { state: "hidden" 0.0;
41             color: 0 0 0 0;
42             rel1.relative: -1.0 0.0;
43             rel2.relative: 0.0 1.0;
44          }
45          description { state: "hidden2" 0.0;
46             color: 0 0 0 0;
47             rel1.relative: 1.0 0.0;
48             rel2.relative: 2.0 1.0;
49          }
50          description { state: "visible" 0.0;
51             color: 0 0 0 0;
52             rel1.relative: 0.0 0.0;
53             rel2.relative: 1.0 1.0;
54          }
55       }
56       part { name: "elm.swallow.content";
57          type: SWALLOW;
58          clip_to: "clip";
59          description { state: "default" 0.0;
60             rel1.to: "base";
61             rel2.to: "base";
62          }
63       }
64    }
65    programs {
66       program { name: "push_start";
67          signal: "elm,action,push";
68          source: "elm";
69          action:  STATE_SET "hidden2" 0.0;
70          target: "base";
71          target: "clip";
72          after: "show_start2";
73       }
74       program { name: "show_start";
75          signal: "elm,action,show";
76          source: "elm";
77          action:  STATE_SET "hidden" 0.0;
78          target: "base";
79          target: "clip";
80          after: "show_start2";
81       }
82       program { name: "show_start2";
83          action:  STATE_SET "visible" 0.0;
84          transition: DECELERATE 0.5;
85          target: "base";
86          target: "clip";
87          after: "show_end";
88       }
89       program { name: "show_end";
90          action: SIGNAL_EMIT "elm,action,show,finished" "";
91       }
92       program { name: "pop_start";
93          signal: "elm,action,pop";
94          source: "elm";
95          action:  STATE_SET "visible" 0.0;
96          target: "base";
97          target: "clip";
98          after: "pop_start2";
99       }
100       program { name: "pop_start2";
101          action:  STATE_SET "hidden2" 0.0;
102          transition: DECELERATE 0.5;
103          target: "base";
104          target: "clip";
105          after: "hide_end";
106       }
107       program { name: "hide_start";
108          signal: "elm,action,hide";
109          source: "elm";
110          action:  STATE_SET "visible" 0.0;
111          target: "base";
112          target: "clip";
113          after: "hide_start2";
114       }
115       program { name: "hide_start2";
116          action:  STATE_SET "hidden" 0.0;
117          transition: DECELERATE 0.5;
118          target: "base";
119          target: "clip";
120          after: "hide_end";
121       }
122       program { name: "hide_end";
123          action: SIGNAL_EMIT "elm,action,hide,finished" "";
124       }
125       program { name: "reset";
126          signal: "elm,action,reset";
127          source: "elm";
128          action:  STATE_SET "default" 0.0;
129          target: "base";
130          target: "clip";
131       }
132       program { name: "show_firstpage"; /*avoid effect in first page*/
133          signal: "elm,action,show,noanimate";
134          source: "elm";
135          action: STATE_SET "visible" 0.0;
136          target: "base";
137          target: "clip";
138          after: "show_end";
139       }
140       program { name: "hide_firstpage"; /*avoid effect in first page*/
141          signal: "elm,action,hide,noanimate";
142          source: "elm";
143          action: STATE_SET "hidden" 0.0;
144          target: "base";
145          target: "clip";
146          after: "hide_end";
147       }
148    }
149 }
150
151 group { name: "elm/navigationbar_ex/item/title/default";
152    images {
153       image: "00_winset_title_bg.png" COMP;
154    }
155    parts {
156       part { name: "base";
157          type: RECT;
158          scale : 1;
159          mouse_events: 0;
160          repeat_events: 1;
161          description { state: "default" 0.0;
162             min: 1 NAVI_BAR_H;
163             fixed: 1 1;
164             color: 0 0 0 0;
165             rel1.relative: 0.0 0.0;
166             rel2.relative: 1.0 0.0;
167             align: 0.0 0.0;
168          }
169          description {
170             state: "top" 0.0;
171             inherit: "default" 0.0;
172             min: 1 0;
173          }
174          description {
175             state: "extended" 0.0;
176             inherit: "default" 0.0;
177             min: 1 NAVI_BAR_EXTENDED_HEIGHT;
178          }
179       }
180       part {
181          name: "navigationitem";
182          type: IMAGE;
183          mouse_events: 0;
184          clip_to: "clip_title";
185          scale: 1;
186          description {
187             state: "default" 0.0;
188             min: 1 NAVI_BAR_H;
189             fixed: 0 1;
190             rel1 { relative: 0.0 0.0; to: "base";}
191             rel2 { relative: 1.0 0.0; to: "base";}
192             align: 0.0 0.0;
193             image {
194                normal: "00_winset_title_bg.png";
195             }
196          }
197       }
198       part {
199          name: "clip_title";
200          type: RECT;
201          mouse_events: 0;
202          scale: 1;
203          description {
204             state: "default" 0.0;
205             align: 0.0 0.0;
206             rel1 { relative: 0.0 0.0; to: "base"; }
207             rel2 { relative: 1.0 1.0; to: "base"; }
208          }
209       }
210       part {
211          name: "elm.swallow.back";
212          type: SWALLOW;
213          clip_to: "clip_title";
214          scale: 1;
215          description {
216             fixed: 1 1;
217             min: 0 40;
218             max: MAX_ITEM_WIDTH 40;
219             state: "default" 0.0;
220             rel1 { relative: 0.0 0.0; to: "navigationitem"; }
221             rel2 { relative: 0.0 1.0; to: "navigationitem"; }
222             align: 0.0 0.5;
223          }
224       }
225       part {
226          name: "elm.rect.pada";
227          type: RECT;
228          mouse_events: 0;
229          clip_to: "clip_title";
230          scale: 1;
231          description {
232             state: "default" 0.0;
233             min: PADDING 0;
234             fixed: 1 0;
235             rel1 { relative: 0.0 0.0; to: "navigationitem"; }
236             rel2 { relative: 0.0 1.0; to: "navigationitem"; }
237             align: 0.0 0.5;
238             color: 0 0 0 0;
239          }
240       } 
241       part {
242          name: "elm.rect.padb";
243          type: RECT;
244          mouse_events: 0;
245          clip_to: "clip_title";
246          scale: 1;
247          description {
248             state: "default" 0.0;
249             min: 1 0;
250             fixed: 1 0;
251             rel1 { relative: 1.0 0.0; to: "navigationitem"; }
252             rel2 { relative: 1.0 1.0; to: "navigationitem"; }
253             align: 1.0 0.5;
254             color: 0 0 0 0;
255          }
256       }
257       part {
258          name: "elm.text";
259          type: TEXT;
260          clip_to: "clip_title";
261          scale:1;       
262          description {
263             state: "default" 0.0;
264             text
265               {
266                  font: "SLP:style=Medium";
267                  size: 22;
268                  min: 0 0;
269                  align: 0.5 0.5;
270                  max: 1 0;
271               }
272             color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
273             rel1 { relative: 1.0 0.0; to: "elm.rect.pada"; }  //1.0 0.0
274             rel2 { relative: 0.0 1.0; to: "elm.rect.padb"; }
275             align: 0.5 0.5;
276          }
277       }
278       part {
279          name: "elm.swallow.content";
280          type: SWALLOW;
281          scale: 1;
282          description {
283             state: "default" 0.0;
284             align: 0.0 0.0;
285             rel1 { relative: 0.0 1.0; to: "base"; }
286             rel2 { relative: 1.0 1.0; }
287          }
288          description {
289             state: "top" 0.0;
290             rel1 { relative: 0.0 0.0; }
291             rel2 { relative: 1.0 1.0; }
292          }
293       }
294    }
295    programs {
296       program {
297          name: "moveup";
298          signal: "elm,state,item,moveup";
299          source: "elm";
300          action: STATE_SET "top" 0.0;
301          target: "base";
302          target: "elm.swallow.content";
303       }
304       program {
305          name: "movedown";
306          signal: "elm,state,item,movedown";
307          source: "elm";
308          action: STATE_SET "default" 0.0;
309          target: "base";
310          target: "elm.swallow.content";
311       }
312       program {
313          name: "extended_titlearea";
314          signal: "elm,state,show,title";
315          source: "elm";
316          action: STATE_SET "extended" 0.0;
317          target: "base";
318          transition: LINEAR 0.2;
319       }
320       program {
321          name: "retract_titlearea";
322          signal: "elm,state,hide,title";
323          source: "elm";
324          action: STATE_SET "default" 0.0;
325          target: "base";
326          transition: LINEAR 0.2;
327       }
328    }
329 }
330
331 group { name: "elm/navigationbar_ex/item/title_option_header/default";
332    images {
333       image: "00_winset_title_bg.png" COMP;
334    }
335    parts {
336       part { name: "base";
337          type: RECT;
338          scale : 1;
339          mouse_events: 0;
340          repeat_events: 1;
341          description { state: "default" 0.0;
342             min: 1 NAVI_BAR_H;
343             fixed: 1 1;
344             color: 0 0 0 0;
345             rel1.relative: 0.0 0.0;
346             rel2.relative: 1.0 0.0;
347             align: 0.0 0.0;
348          }
349          description {
350             state: "top" 0.0;
351             inherit: "default" 0.0;
352             min: 1 0;
353          }
354          description {
355             state: "extended" 0.0;
356             inherit: "default" 0.0;
357             min: 1 NAVI_BAR_EXTENDED_HEIGHT;
358          }
359       }
360       part {
361          name: "navigationitem";
362          type: IMAGE;
363          mouse_events: 0;
364          clip_to: "clip_title";
365          scale: 1;
366          description {
367             state: "default" 0.0;
368             min: 1 NAVI_BAR_H;
369             fixed: 0 1;
370             rel1 { relative: 0.0 0.0; to: "base"; }
371             rel2 { relative: 1.0 0.0; to: "base"; }
372             align: 0.0 0.0;
373             image {
374                normal: "00_winset_title_bg.png";
375             }
376          }
377       }
378       part {
379          name: "clip_title";
380          type: RECT;
381          mouse_events: 0;
382          scale: 1;
383          description {
384             state: "default" 0.0;
385             align: 0.0 0.0;
386             rel1 { relative: 0.0 0.0; to: "base"; }
387             rel2 { relative: 1.0 1.0; to: "base"; }
388          }
389       }
390       part {
391          name: "elm.swallow.back";
392          type: SWALLOW;
393          clip_to: "clip_title";
394          scale: 1;
395          description {
396             fixed: 1 1;
397             min: 0 40;
398             max: MAX_ITEM_WIDTH 40;
399             state: "default" 0.0;
400             rel1 { relative: 0.0 0.0; to: "navigationitem"; }
401             rel2 { relative: 0.0 1.0; to: "navigationitem"; }
402             align: 0.0 0.5;
403          }
404       }
405       part {
406          name: "elm.rect.pada";
407          type: RECT;
408          mouse_events: 0;
409          clip_to: "clip_title";
410          scale: 1;
411          description {
412             state: "default" 0.0;
413             min: PADDING 0;
414             fixed: 1 0;
415             rel1 { relative: 0.0 0.0; to: "navigationitem"; }
416             rel2 { relative: 0.0 1.0; to: "navigationitem"; }
417             align: 0.0 0.5;
418             color: 0 0 0 0;
419          }
420       }
421       part {
422          name: "elm.rect.padb";
423          type: RECT;
424          mouse_events: 0;
425          clip_to: "clip_title";
426          scale: 1;
427          description {
428             state: "default" 0.0;
429             min: 1 0;
430             fixed: 1 0;
431             rel1 { relative: 1.0 0.0; to: "navigationitem"; }
432             rel2 { relative: 1.0 1.0; to: "navigationitem"; }
433             align: 1.0 0.5;
434             color: 0 0 0 0;
435          }
436       }
437       part {
438          name: "elm.text";
439          type: TEXT;
440          clip_to: "clip_title";
441          scale:1;       
442          description {
443             state: "default" 0.0;
444             text
445               {
446                  font: "SLP:style=Medium";
447                  size: 22;
448                  min: 0 0;
449                  align: 0.5 0.5;
450                  max: 1 0;
451               }
452             color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
453             rel1 { relative: 1.0 0.0; to: "elm.rect.pada"; }  //1.0 0.0
454             rel2 { relative: 0.0 1.0; to: "elm.rect.padb"; }
455             align: 0.5 0.5;
456          }
457       }
458      part {
459           name: "events";
460           type: RECT;
461           clip_to: "clip_title";
462           ignore_flags: ON_HOLD;
463           description {
464              state: "default" 0.0;
465              rel1 { to: "elm.text"; }
466              rel2 { to: "elm.text"; }
467              color: 0 0 0 0;
468             }
469          }
470      part {
471          name: "naviarrow";
472          type: IMAGE;
473          mouse_events: 1;
474          clip_to: "clip_title";
475          scale: 1;
476          description {
477             state: "default" 0.0;
478             min: 15 11;
479             max: 15 11;
480             fixed: 1 1;
481             rel1 { relative: 0.0 0.0; to: "elm.text"; }
482             rel2 { relative: 1.0 1.0; to: "elm.text"; }
483             align: 0.5 1.0;
484             image {
485                normal: "00_winset_control_top_arrow.png";
486             }
487          }
488       }
489       part {
490          name: "elm.swallow.title";
491          type: SWALLOW;
492          scale:1;
493          clip_to: "clip_title";
494          description {
495             fixed: 0 1;
496             min: 0 ITEM_HEIGHT;
497             state: "default" 0.0;
498             rel1 { relative: 0.0 1.0; to_y: "navigationitem"; }
499             rel2 { relative: 1.0 1.0; to: "base"; }
500             align: 0.0 0.0;
501          }
502       }
503       part {
504          name: "elm.swallow.content";
505          type: SWALLOW;
506          scale: 1;
507          description {
508             state: "default" 0.0;
509             align: 0.0 0.0;
510             rel1 { relative: 0.0 1.0; to: "base"; }
511             rel2 { relative: 1.0 1.0; }
512          }
513          description {
514             state: "top" 0.0;
515             rel1 { relative: 0.0 0.0; }
516             rel2 { relative: 1.0 1.0; }
517          }
518       }
519    }
520    programs {
521       program {
522          name: "click";
523          signal: "mouse,up,1";
524          source: "events";
525          action: SIGNAL_EMIT "elm,action,clicked" "elm";
526       }
527       program {
528          name: "moveup";
529          signal: "elm,state,item,moveup";
530          source: "elm";
531          action: STATE_SET "top" 0.0;
532          target: "base";
533          target: "elm.swallow.content";
534       }
535       program {
536          name: "movedown";
537          signal: "elm,state,item,movedown";
538          source: "elm";
539          action: STATE_SET "default" 0.0;
540          target: "base";
541          target: "elm.swallow.content";
542       }
543       program {
544          name: "extended_titlearea";
545          signal: "elm,state,show,title";
546          source: "elm";
547          action: STATE_SET "extended" 0.0;
548          target: "base";
549          transition: LINEAR 0.2;
550       }
551       program {
552          name: "retract_titlearea";
553          signal: "elm,state,hide,title";
554          source: "elm";
555          action: STATE_SET "default" 0.0;
556          target: "base";
557          transition: LINEAR 0.2;
558       }
559    }
560 }
561
562 group { name: "elm/navigationbar_ex/item/title_option_header2/default";
563    images {
564       image: "00_winset_title_bg.png" COMP;
565    }
566    parts {
567       part { name: "base";
568          type: RECT;
569          scale : 1;
570          mouse_events: 0;
571          repeat_events: 1;
572          description { state: "default" 0.0;
573             min: 1 NAVI_BAR_H;
574             fixed: 1 1;
575             color: 0 0 0 0;
576             rel1.relative: 0.0 0.0;
577             rel2.relative: 1.0 0.0;
578             align: 0.0 0.0;
579          }
580          description {
581             state: "top" 0.0;
582             inherit: "default" 0.0;
583             min: 1 0;
584          }
585          description {
586             state: "extended" 0.0;
587             inherit: "default" 0.0;
588             min: 1 NAVI_BAR_EXTENDED_HEIGHT2;
589          }
590       }
591       part {
592          name: "navigationitem";
593          type: IMAGE;
594          mouse_events: 0;
595          clip_to: "clip_title";
596          scale: 1;
597          description {
598             state: "default" 0.0;
599             min: 1 NAVI_BAR_H;
600             fixed: 0 1;
601             rel1 { relative: 0.0 0.0; to: "base"; }
602             rel2 { relative: 1.0 0.0; to: "base"; }
603             align: 0.0 0.0;
604             image {
605                normal: "00_winset_title_bg.png";
606             }
607          }
608       }
609       part {
610          name: "clip_title";
611          type: RECT;
612          mouse_events: 0;
613          scale: 1;
614          description {
615             state: "default" 0.0;
616             align: 0.0 0.0;
617             rel1 { relative: 0.0 0.0; to: "base"; }
618             rel2 { relative: 1.0 1.0; to: "base"; }
619          }
620       }
621       part {
622          name: "elm.swallow.back";
623          type: SWALLOW;
624          clip_to: "clip_title";
625          scale: 1;
626          description {
627             fixed: 1 1;
628             min: 0 40;
629             max: MAX_ITEM_WIDTH 40;
630             state: "default" 0.0;
631             rel1 { relative: 0.0 0.0; to: "navigationitem"; }
632             rel2 { relative: 0.0 1.0; to: "navigationitem"; }
633             align: 0.0 0.5;
634          }
635       }
636       part {
637          name: "elm.rect.pada";
638          type: RECT;
639          mouse_events: 0;
640          clip_to: "clip_title";
641          scale: 1;
642          description {
643             state: "default" 0.0;
644             min: PADDING 0;
645             fixed: 1 0;
646             rel1 { relative: 0.0 0.0; to: "navigationitem"; }
647             rel2 { relative: 0.0 1.0; to: "navigationitem"; }
648             align: 0.0 0.5;
649             color: 0 0 0 0;
650          }
651       }
652       part {
653          name: "elm.rect.padb";
654          type: RECT;
655          mouse_events: 0;
656          clip_to: "clip_title";
657          scale: 1;
658          description {
659             state: "default" 0.0;
660             min: 1 0;
661             fixed: 1 0;
662             rel1 { relative: 1.0 0.0; to: "navigationitem"; }
663             rel2 { relative: 1.0 1.0; to: "navigationitem"; }
664             align: 1.0 0.5;
665             color: 0 0 0 0;
666          }
667       }
668       part {
669          name: "elm.text";
670          type: TEXT;
671          clip_to: "clip_title";
672          scale:1;       
673          description {
674             state: "default" 0.0;
675             text
676               {
677                  font: "SLP:style=Medium";
678                  size: 22;
679                  min: 0 0;
680                  align: 0.5 0.5;
681                  max: 1 0;
682               }
683             color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
684             rel1 { relative: 1.0 0.0; to: "elm.rect.pada"; }  //1.0 0.0
685             rel2 { relative: 0.0 1.0; to: "elm.rect.padb"; }
686             align: 0.5 0.5;
687          }
688       }
689      part {
690           name: "events";
691           type: RECT;
692           clip_to: "clip_title";
693           ignore_flags: ON_HOLD;
694           description {
695              state: "default" 0.0;
696              rel1 { to: "elm.text"; }
697              rel2 { to: "elm.text"; }
698              color: 0 0 0 0;
699             }
700          }
701      part {
702          name: "naviarrow";
703          type: IMAGE;
704          mouse_events: 1;
705          clip_to: "clip_title";
706          scale: 1;
707          description {
708             state: "default" 0.0;
709             min: 15 11;
710             max: 15 11;
711             fixed: 1 1;
712             rel1 { relative: 0.0 0.0; to: "elm.text"; }
713             rel2 { relative: 1.0 1.0; to: "elm.text"; }
714             align: 0.5 1.0;
715             image {
716                normal: "00_winset_control_top_arrow.png";
717             }
718          }
719       }
720       part {
721          name: "elm.swallow.title";
722          type: SWALLOW;
723          scale:1;
724          clip_to: "clip_title";
725          description {
726             fixed: 0 1;
727             min: 0 ITEM_HEIGHT;
728             state: "default" 0.0;
729             rel1 { relative: 0.0 1.0; to_y: "navigationitem"; }
730             rel2 { relative: 1.0 1.0; to: "base"; }
731             align: 0.0 0.0;
732          }
733       }
734       part {
735          name: "elm.swallow.content";
736          type: SWALLOW;
737          scale: 1;
738          description {
739             state: "default" 0.0;
740             align: 0.0 0.0;
741             rel1 { relative: 0.0 1.0; to: "base"; }
742             rel2 { relative: 1.0 1.0; }
743          }
744          description {
745             state: "top" 0.0;
746             rel1 { relative: 0.0 0.0; }
747             rel2 { relative: 1.0 1.0; }
748          }
749       }
750    }
751    programs {
752       program {
753          name: "click";
754          signal: "mouse,up,1";
755          source: "events";
756          action: SIGNAL_EMIT "elm,action,clicked" "elm";
757       }
758       program {
759          name: "moveup";
760          signal: "elm,state,item,moveup";
761          source: "elm";
762          action: STATE_SET "top" 0.0;
763          target: "base";
764          target: "elm.swallow.content";
765       }
766       program {
767          name: "movedown";
768          signal: "elm,state,item,movedown";
769          source: "elm";
770          action: STATE_SET "default" 0.0;
771          target: "base";
772          target: "elm.swallow.content";
773       }
774       program {
775          name: "extended_titlearea";
776          signal: "elm,state,show,title";
777          source: "elm";
778          action: STATE_SET "extended" 0.0;
779          target: "base";
780          transition: LINEAR 0.2;
781       }
782       program {
783          name: "retract_titlearea";
784          signal: "elm,state,hide,title";
785          source: "elm";
786          action: STATE_SET "default" 0.0;
787          target: "base";
788          transition: LINEAR 0.2;
789       }
790    }
791 }
792
793 group { name: "elm/standard/navigationbar_ex/title_obj2";
794    parts {
795       part {
796          name: "title_obj1";
797          type: SWALLOW;
798          scale: 1;
799          description {
800             state: "default" 0.0;
801             min: 0 55;
802             fixed: 0 1;
803             rel1 { relative: 0.0 0.0; }
804             rel2 { relative: 1.0 0.0; }
805             align: 0.0 0.0;
806          }
807       }
808       part {
809          name: "padding";
810          type: RECT;
811          scale: 1;
812          description {
813             state: "default" 0.0;
814             min: 0 1;
815             fixed: 0 1;
816             rel1 { relative: 0.0 1.0; to_y: "title_obj1"; }
817             rel2 { relative: 1.0 0.0; }
818             align: 0.0 0.0;
819             color: 207 128 19 255;
820          }
821       }
822       part {
823          name: "title_obj2";
824          type: SWALLOW;
825          scale: 1;
826          description {
827             state: "default" 0.0;
828             min: 0 65;
829             fixed: 0 1;
830             rel1 { relative: 0.0 1.0; to_y: "padding"; }
831             rel2 { relative: 1.0 1.0; }
832             align: 0.0 0.0;
833          }
834       }
835    }
836 } //end group