summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-23 11:48:29 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-23 13:16:05 +0100
commite54edab54ca87738aeb430acbcf80257c4fd003c (patch)
treeef55115939456dbbc33df6bfb4e25fc715b8f30f /data
parent2ce4e8190c9342dc42fa8bb6544f5913951eb631 (diff)
trivial new desk flip animation: BLEND
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/comp.edc73
1 files changed, 73 insertions, 0 deletions
diff --git a/data/themes/edc/comp.edc b/data/themes/edc/comp.edc
index 05c6881af..81f2a3dcd 100644
--- a/data/themes/edc/comp.edc
+++ b/data/themes/edc/comp.edc
@@ -553,6 +553,79 @@ group { name: "e/comp/effects/auto/zoom";
553 } 553 }
554} 554}
555 555
556group { name: "e/comp/effects/auto/blend";
557 //data.item: "noclip" "1"; //setting this prevents object from being clipped to its zone during effect
558 script {
559 public message(Msg_Type:type, id, ...) {
560 if ((type == MSG_INT_SET) && (id == 0)) {
561 /* set state */
562 new st;
563
564 st = getarg(2);
565 if (st == 1) {
566 /* starting from hidden */
567 set_state(PART:"clip", "hidden", 0.0);
568 } else {
569 set_state(PART:"clip", "default", 0.0);
570 }
571 }
572 }
573 }
574 parts {
575 part { name: "clip"; type: RECT; mouse_events: 0;
576 description { state: "default";
577 rel1.to: "e.swallow.content";
578 rel1.offset: -20 -20;
579 rel2.to: "e.swallow.content";
580 rel2.offset: 20 20;
581 color: 255 255 255 255;
582 }
583 description { state: "hidden";
584 color: 255 255 255 0;
585 }
586 }
587 part { name: "e.swallow.content"; type: SWALLOW;
588 clip_to: "clip";
589 description { state: "default" 0.0;
590 }
591 }
592 }
593 programs {
594 program {
595 name: "show";
596 signal: "e,action,go";
597 source: "e";
598 filter: "clip" "default";
599 action: STATE_SET "hidden" 0.0;
600 transition: LINEAR 0.4 CURRENT;
601 target: "clip";
602 after: "done";
603 }
604 program {
605 name: "hide";
606 signal: "e,action,go";
607 source: "e";
608 filter: "clip" "hidden";
609 action: STATE_SET "default" 0.0;
610 transition: LINEAR 0.4 CURRENT;
611 target: "clip";
612 after: "done";
613 }
614 program {
615 name: "stop";
616 signal: "e,action,stop";
617 source: "e";
618 action: ACTION_STOP;
619 target: "show";
620 target: "hide";
621 }
622 program {
623 name: "done";
624 action: SIGNAL_EMIT "e,action,done" "e";
625 }
626 }
627}
628
556group { name: "e/comp/border/default"; 629group { name: "e/comp/border/default";
557 images.image: "win_shadow.png" COMP; 630 images.image: "win_shadow.png" COMP;
558 images.image: "win_glow.png" COMP; 631 images.image: "win_glow.png" COMP;