seoz pushed a commit to branch master.

commit f0a2da293237a1372006749da83c53a80ba41867
Author: Daniel Juyung Seo <[email protected]>
Date:   Fri Jul 12 07:28:44 2013 +0900

    notify.edc: added show animation for center style.
---
 data/themes/widgets/notify.edc | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/data/themes/widgets/notify.edc b/data/themes/widgets/notify.edc
index 32bdd54..6409fa8 100644
--- a/data/themes/widgets/notify.edc
+++ b/data/themes/widgets/notify.edc
@@ -112,6 +112,7 @@ group { name: "elm/notify/center/default";
          type: RECT;
          mouse_events: 0;
          repeat_events: 1;
+         clip_to: "clipper";
          description { state: "default" 0.0;
             color: 0 0 0 0;
             rel1.relative: 0.0 0.0;
@@ -120,6 +121,7 @@ group { name: "elm/notify/center/default";
       }
       part { name: "pop";
          mouse_events: 1;
+         clip_to: "clipper";
          description { state: "default" 0.0;
             rel1.to: "elm.swallow.content";
             rel1.offset: -5 -5;
@@ -133,13 +135,38 @@ group { name: "elm/notify/center/default";
       }
       part { name: "elm.swallow.content";
          type: SWALLOW;
+         clip_to: "clipper";
          description { state: "default" 0.0;
             rel1.to: "base";
             rel2.to: "base";
          }
       }
+      part { name: "clipper";
+         type: RECT;
+         description { state: "default" 0.0;
+            color: 0 0 0 0 ;
+         }
+         description { state: "visible" 0.0;
+            inherit: "default" 0.0;
+            color: 255 255 255 255;
+         }
+      }
+   }
+   programs {
+      program { name: "show";
+         signal: "show";
+         action: STATE_SET "visible" 0.0;
+         target: "clipper";
+         transition: LINEAR 0.5;
+      }
+      program { name: "hide";
+         signal: "hide";
+         action: STATE_SET "default" 0.0;
+         target: "clipper";
+      }
    }
 }
+
 group { name: "elm/notify/bottom/default";
      //this group is a design similar to the inwin group
    images {

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to