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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
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;
}
description { state: "prev" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
}
description { state: "next" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "top";
rel1.relative: 0.0 1.0;
rel2.to: "base";
fixed: 1 1;
}
description { state: "title-hidden" 0.0;
inherit: "default" 0.0;
rel1.to: "base";
rel1.relative: 0.0 0.0;
}
}
part { name: "top"; type: RECT;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to_x: "base";
visible: 0;
}
description { state: "title-hidden" 0.0;
inherit: "default" 0.0;
rel2.to: "base";
rel2.relative: 1.0 0.0;
visible: 0;
}
}
}
programs {
program {
signal: "elm,state,title,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "top";
target: "elm.swallow.content";
}
program {
signal: "elm,action,title,show"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "top";
target: "elm.swallow.content";
after: "titleshow2";
}
program { name: "titleshow2";
action: STATE_SET "default" 0.0;
target: "top";
after: "title_transition_finished";
}
program {
signal: "elm,state,title,hide"; source: "elm";
action: STATE_SET "title-hidden" 0.0;
target: "top";
target: "elm.swallow.content";
}
program {
signal: "elm,action,title,hide"; source: "elm";
action: STATE_SET "title-hidden" 0.0;
target: "top";
after: "titlehide2";
}
program { name: "titlehide2";
action: STATE_SET "title-hidden" 0.0;
transition: DECEL 0.5;
target: "top";
target: "elm.swallow.content";
after: "title_transition_finished";
}
program { name: "title_transition_finished";
action: SIGNAL_EMIT "elm,action,title,transition,finished" "elm";
}
program {
signal: "mouse,clicked,1"; source: "top";
action: SIGNAL_EMIT "elm,action,title,clicked" "elm";
}
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: STATE_SET "default" 0.0;
target: "base";
after: "pushed2";
}
program { name: "pushed2";
action: STATE_SET "prev" 0.0;
transition: DECEL 0.5;
target: "base";
after: "pushed3";
}
program { name: "pushed3";
action: SIGNAL_EMIT "elm,action,pushed,finished" "elm";
}
/* current page is being popped: [current]---->[next] */
program {
signal: "elm,state,cur,popped"; source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
after: "popped2";
}
program { name: "popped2";
action: STATE_SET "next" 0.0;
transition: DECEL 0.5;
target: "base";
after: "popped3";
}
program { name: "popped3";
action: SIGNAL_EMIT "elm,action,popped,finished" "elm";
}
/* new page is being pushed: [current]<----[next] */
program {
signal: "elm,state,new,pushed"; source: "elm";
action: STATE_SET "next" 0.0;
target: "base";
after: "pushedb2";
}
program { name: "pushedb2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "base";
after: "pushedb3";
}
program { name: "pushedb3";
action: SIGNAL_EMIT "elm,action,show,finished" "elm";
}
/* previous page is being pushed: [previous]---->[current] */
program {
signal: "elm,state,prev,popped"; source: "elm";
action: STATE_SET "prev" 0.0;
target: "base";
after: "poppedb2";
}
program { name: "poppedb2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "base";
after: "poppedb3";
}
program { name: "poppedb3";
action: SIGNAL_EMIT "elm,action,show,finished" "elm";
}
}
}
|