summaryrefslogtreecommitdiffstats
path: root/data/themes/default/edc/elm/naviframe.edc
blob: 7a8ed2346d27825e2252771de7bb104db4f5a04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
group { name: "elm/naviframe/item/basic/default";
   parts {
      part { name: "clip"; type: RECT;
         description { state: "default" 0.0;
         }
      }
      part { name: "base"; type: SPACER;
         description { state: "default" 0.0;
         }
      }
      part { name: "elm.swallow.content"; type: SWALLOW;
         clip_to: "clip";
         description { state: "default" 0.0;
            rel1.to: "base";
            rel1.relative: 0.0 0.0;
            rel2.to: "base";
	    fixed: 1 1;
         }
      }
      part { name: "top"; type: RECT;
         clip_to: "clip";
         description { state: "default" 0.0;
            rel1.to: "base";
            rel2.to: "base";
            rel2.relative: 1.0 0.0;
            visible: 0;
         }
      }
   }
   programs {
      program {
         signal: "elm,state,visible"; source: "elm";
         action: STATE_SET "default" 0.0;
         target: "elm.swallow.content";
      }
      
      /* current page is being pushed: [previous]<----[current] */
      program {
         signal: "elm,state,cur,pushed"; source: "elm";
         action: SIGNAL_EMIT "elm,action,pushed,finished" "elm";
      }

      /* current page is being popped: [current]---->[next] */
      program {
         signal: "elm,state,cur,popped"; source: "elm";
         action: SIGNAL_EMIT "elm,action,popped,finished" "elm";
      }

      /* new page is being pushed: [current]<----[next] */
      program {
         signal: "elm,state,new,pushed"; source: "elm";
         action: SIGNAL_EMIT "elm,action,show,finished" "elm";
      }

      /* previous page is being pushed: [previous]---->[current] */
      program {
         signal: "elm,state,prev,popped"; source: "elm";
         action: SIGNAL_EMIT "elm,action,show,finished" "elm";
      }
   }
}