summaryrefslogtreecommitdiff
path: root/data/themes/edc/comp_effects.edc
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-06-11 11:39:26 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-06-11 11:50:52 -0400
commitb974ad22b4e63d043db6089889640361cbf77aae (patch)
treeb23cab0122ded130f3ad2416d2a810354ee54555 /data/themes/edc/comp_effects.edc
parent32e26a4615779ee06c90a7dafbc15b2f7453e15e (diff)
comp effects: add vertical visibility effect
Diffstat (limited to '')
-rw-r--r--data/themes/edc/comp_effects.edc58
1 files changed, 58 insertions, 0 deletions
diff --git a/data/themes/edc/comp_effects.edc b/data/themes/edc/comp_effects.edc
index 38c6e76..ccc9dce 100644
--- a/data/themes/edc/comp_effects.edc
+++ b/data/themes/edc/comp_effects.edc
@@ -421,6 +421,64 @@ group { name: "e/comp/effects/auto/grow";
421 } 421 }
422} 422}
423 423
424group { name: "e/comp/effects/visibility/vertical";
425 script {
426 public message(Msg_Type:type, id, ...) {
427 if ((type == MSG_INT_SET) && (id == 0)) {
428 /* set state */
429 new st;
430
431 st = getarg(2);
432 if (st == 1)
433 set_state(PART:"clip", "hid", 0.0);
434 else
435 set_state(PART:"clip", "default", 0.0);
436 }
437 }
438 }
439 parts {
440 rect { "clip";
441 desc {}
442 desc { "hid"; rel2.relative: 1 0; }
443 }
444 swallow { "e.swallow.content"; clip: "clip"; }
445 }
446 programs {
447 program {
448 name: "show";
449 signal: "e,action,go";
450 source: "e";
451 filter: "clip" "default";
452 action: STATE_SET "hid" 0.0;
453 transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
454 target: "clip";
455 after: "done";
456 }
457 program {
458 name: "hide";
459 signal: "e,action,go";
460 source: "e";
461 filter: "clip" "hid";
462 action: STATE_SET "default" 0.0;
463 transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
464 target: "clip";
465 after: "done";
466 }
467 program {
468 name: "stop";
469 signal: "e,action,stop";
470 source: "e";
471 action: ACTION_STOP;
472 target: "show";
473 target: "hide";
474 }
475 program {
476 name: "done";
477 action: SIGNAL_EMIT "e,action,done" "e";
478 }
479 }
480}
481
424group { name: "e/comp/effects/iconify/default"; 482group { name: "e/comp/effects/iconify/default";
425 alias: "e/comp/effects/iconify/ibar"; 483 alias: "e/comp/effects/iconify/ibar";
426 alias: "e/comp/effects/iconify/ibox"; 484 alias: "e/comp/effects/iconify/ibox";