summaryrefslogtreecommitdiff
path: root/legacy/elementary/data
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-03-27 13:11:13 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-03-27 13:11:13 +0000
commit43dcac275d98cd4773dc516aa2d3aceb7543d3c4 (patch)
tree2550f73761fef1b4ab6e00f0ce9074e5956dca9f /legacy/elementary/data
parent60af8342c53e406abe8769778dbab851341ba9da (diff)
elementary/naviframe - added overlap style and updated test case.
SVN revision: 69666
Diffstat (limited to 'legacy/elementary/data')
-rw-r--r--legacy/elementary/data/themes/widgets/naviframe.edc279
1 files changed, 275 insertions, 4 deletions
diff --git a/legacy/elementary/data/themes/widgets/naviframe.edc b/legacy/elementary/data/themes/widgets/naviframe.edc
index 71d2850..86f4b48 100644
--- a/legacy/elementary/data/themes/widgets/naviframe.edc
+++ b/legacy/elementary/data/themes/widgets/naviframe.edc
@@ -1,4 +1,5 @@
1group { name:"elm/naviframe/base/default"; 1group { name: "elm/naviframe/base/default";
2 name: "elm/naviframe/base/pager";
2 parts { 3 parts {
3 part { name: "base0"; 4 part { name: "base0";
4 description { state: "default" 0.0; 5 description { state: "default" 0.0;
@@ -6,7 +7,7 @@ group { name:"elm/naviframe/base/default";
6 } 7 }
7 } 8 }
8} 9}
9group { name:"elm/naviframe/item/basic/default"; 10group { name: "elm/naviframe/item/basic/default";
10 parts { 11 parts {
11 part { name: "title_clip"; 12 part { name: "title_clip";
12 type: RECT; 13 type: RECT;
@@ -32,10 +33,18 @@ group { name:"elm/naviframe/item/basic/default";
32 rel1.relative: 0 1; 33 rel1.relative: 0 1;
33 } 34 }
34 } 35 }
36 part { name: "content_base";
37 type: RECT;
38 clip_to: "content_clip";
39 description { state: "default" 0.0;
40 rel1 { to: "elm.swallow.content"; }
41 rel2 { to: "elm.swallow.content"; }
42 color: 225 225 225 255;
43 }
44 }
35 part { name: "elm.swallow.content"; 45 part { name: "elm.swallow.content";
36 type: SWALLOW; 46 type: SWALLOW;
37 scale: 1; 47 scale: 1;
38 repeat_events: 0;
39 clip_to: "content_clip"; 48 clip_to: "content_clip";
40 description { state: "default" 0.0; 49 description { state: "default" 0.0;
41 align: 0.0 0.0; 50 align: 0.0 0.0;
@@ -125,7 +134,270 @@ group { name:"elm/naviframe/item/basic/default";
125 repeat_events: 1; 134 repeat_events: 1;
126 clip_to: "title_clip"; 135 clip_to: "title_clip";
127 description { state: "default" 0.0; 136 description { state: "default" 0.0;
137 text { font: "Sans:style=Bold";
138 size: 12;
139 min: 0 0;
140 max: 1 0;
141 align: 0.5 0.5;
142 }
143 color: 0 0 0 255;
144 align: 0.5 0.5;
145 rel1.to: "title_base";
146 rel2.to: "title_base";
147 }
148 }
149 part { name: "elm.text.subtitle";
150 type: TEXT;
151 scale: 1;
152 repeat_events: 1;
153 clip_to: "title_clip";
154 description { state: "default" 0.0;
128 text { font: "Sans,Edje-Vera"; 155 text { font: "Sans,Edje-Vera";
156 size: 10;
157 min: 0 0;
158 max: 1 0;
159 align: 0.5 1;
160 }
161 rel1.to_y: "elm.text.title";
162 rel1.relative: 0 1;
163 rel1.to: "title_base";
164 rel1.offset: 0 -3;
165 rel2.to: "title_base";
166 rel2.offset: -1 -4;
167 color: 50 50 50 255;
168 align: 0.5 0;
169 }
170 }
171 }
172 programs {
173 program { name: "content_new_pusehd";
174 signal: "elm,state,new,pushed,internal";
175 source: "";
176 action: STATE_SET "default" 0.0;
177 transition: DECELERATE 0.5;
178 target: "elm.swallow.content";
179 after: "show_finished";
180 }
181 program { name: "content_cur_pusehd";
182 signal: "elm,state,cur,pushed,internal";
183 source: "";
184 action: STATE_SET "left" 0.0;
185 target: "elm.swallow.content";
186 transition: DECELERATE 0.5;
187 after: "pushed_finished";
188 }
189 program { name: "content_prev_popped";
190 signal: "elm,state,prev,popped,internal";
191 source: "";
192 action: STATE_SET "default" 0.0;
193 target: "elm.swallow.content";
194 transition: DECELERATE 0.5;
195 after: "show_finished";
196 }
197 program { name: "content_cur_popped";
198 signal: "elm,state,cur,popped,internal";
199 source: "";
200 action: STATE_SET "right" 0.0;
201 target: "elm.swallow.content";
202 transition: DECELERATE 0.5;
203 after: "popped_finished";
204 }
205 program { name: "cur_pushed";
206 signal: "elm,state,cur,pushed";
207 source: "elm";
208 script {
209 set_state(PART:"elm.swallow.content", "default", 0.0);
210 emit("elm,state,cur,pushed,internal", "");
211 }
212 }
213 program { name: "new_pushed";
214 signal: "elm,state,new,pushed";
215 source: "elm";
216 script {
217 set_state(PART:"elm.swallow.content", "right", 0.0);
218 emit("elm,state,new,pushed,internal", "");
219 }
220 }
221 program { name: "prev_popped";
222 signal: "elm,state,prev,popped";
223 source: "elm";
224 script {
225 set_state(PART:"elm.swallow.content", "left", 0.0);
226 emit("elm,state,prev,popped,internal", "");
227 }
228 }
229 program { name: "cur_popped";
230 signal: "elm,state,cur,popped";
231 source: "elm";
232 script {
233 set_state(PART:"elm.swallow.content", "default", 0.0);
234 emit("elm,state,cur,popped,internal", "");
235 }
236 }
237 program { name: "visible";
238 signal: "elm,state,visible";
239 source: "elm";
240 action: STATE_SET "default" 0.0;
241 target: "elm.swallow.content";
242 }
243 program { name: "title_show";
244 signal: "elm,state,title,show";
245 source: "elm";
246 action: STATE_SET "default" 0.0;
247 target: "title_clip";
248 }
249 program { name: "title_hide";
250 signal: "elm,state,title,hide";
251 source: "elm";
252 action: STATE_SET "hide" 0.0;
253 target: "title_clip";
254 }
255 program {
256 name: "title_clicked";
257 signal: "mouse,clicked,1";
258 source: "title_base";
259 action: SIGNAL_EMIT "elm,action,title,clicked" "";
260 }
261 program { name: "show_finished";
262 action: SIGNAL_EMIT "elm,action,show,finished" "";
263 }
264 program { name: "pushed_finished";
265 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
266 }
267 program { name: "popped_finished";
268 action: SIGNAL_EMIT "elm,action,popped,finished" "";
269 }
270 }
271}
272group { name: "elm/naviframe/item/overlap/default";
273 parts {
274 part { name: "title_clip";
275 type: RECT;
276 description { state: "default" 0.0;
277 min: 1 55;
278 align: 0.0 0.0;
279 fixed: 0 1;
280 rel1 { relative: 0.0 0.0; }
281 rel2 { relative: 1.0 0.0; }
282 }
283 description { state: "hide" 0.0;
284 inherit: "default" 0.0;
285 min: 0 0;
286 max: 0 0;
287 fixed: 1 1;
288 }
289 }
290 part { name: "content_clip";
291 type: RECT;
292 mouse_events: 0;
293 description { state: "default" 0.0;
294 rel1.to_y: "title_clip";
295 rel1.relative: 0 1;
296 }
297 }
298 part { name: "content_base";
299 type: RECT;
300 clip_to: "content_clip";
301 description { state: "default" 0.0;
302 rel1 { to: "elm.swallow.content"; }
303 rel2 { to: "elm.swallow.content"; }
304 color: 225 225 225 255;
305 }
306 }
307 part { name: "elm.swallow.content";
308 type: SWALLOW;
309 scale: 1;
310 clip_to: "content_clip";
311 description { state: "default" 0.0;
312 align: 0.0 0.0;
313 rel1.relative: 0.0 1.0;
314 rel1.to_y: "title_clip";
315 rel2.relative: 1.0 1.0;
316 color: 255 255 255 255;
317 }
318 description { state: "left" 0.0;
319 inherit: "default" 0.0;
320 color: 0 0 0 0;
321 }
322 description { state: "right" 0.0;
323 inherit: "default" 0.0;
324 rel1.relative: 1.0 1.0;
325 rel2.relative: 2.0 1.0;
326 color: 0 0 0 0;
327 }
328 }
329 part { name: "title_base";
330 type: RECT;
331 description { state: "default" 0.0;
332 rel1 { to: "title_clip"; }
333 rel2 { to: "title_clip"; }
334 color: 225 225 225 255;
335 }
336 }
337 part { name: "title_separator";
338 type: RECT;
339 clip_to: "title_clip";
340 description { state: "default" 0.0;
341 min: 0 5;
342 align: 0.5 1;
343 fixed: 0 1;
344 rel1 { to: "title_clip"; relative: 0 1; }
345 rel2 { to: "title_clip"; }
346 color: 150 150 150 255;
347 }
348 }
349 part { name: "elm.swallow.prev_btn";
350 type: SWALLOW;
351 scale: 1;
352 clip_to: "title_clip";
353 description { state: "default" 0.0;
354 min: 80 40;
355 max: 80 40;
356 align: 0 0;
357 fixed: 1 1;
358 rel1.offset: 5 5;
359 rel1.to: "title_base";
360 rel2.offset: -1 -6;
361 rel2.to: "title_base";
362 }
363 }
364 part { name: "elm.swallow.next_btn";
365 type: SWALLOW;
366 scale: 1;
367 clip_to: "title_clip";
368 description { state: "default" 0.0;
369 min: 80 40;
370 max: 80 40;
371 align: 1 0;
372 fixed: 1 1;
373 rel1.offset: 0 5;
374 rel1.to: "title_base";
375 rel2.offset: -6 -6;
376 rel2.to: "title_base";
377 }
378 }
379 part { name: "elm.swallow.icon";
380 type: SWALLOW;
381 scale: 1;
382 clip_to: "title_clip";
383 description { state: "default" 0.0;
384 min: 40 40;
385 max: 40 40;
386 fixed: 1 1;
387 align: 1 0.5;
388 rel1.to: "elm.text.title";
389 rel1.relative: 0 0;
390 rel2.to: "elm.text.title";
391 rel2.relative: 0 1;
392 }
393 }
394 part { name: "elm.text.title";
395 type: TEXT;
396 scale: 1;
397 repeat_events: 1;
398 clip_to: "title_clip";
399 description { state: "default" 0.0;
400 text { font: "Sans:style=Bold";
129 size: 12; 401 size: 12;
130 min: 0 0; 402 min: 0 0;
131 max: 1 0; 403 max: 1 0;
@@ -260,4 +532,3 @@ group { name:"elm/naviframe/item/basic/default";
260 } 532 }
261 } 533 }
262} 534}
263