[popup] restore popup style of notify
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 16 May 2012 05:56:56 +0000 (14:56 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 16 May 2012 05:56:56 +0000 (14:56 +0900)
Change-Id: I9614ab8679de6fe3872a7847a8ffe970f9b7be3b

themes/widgets/popup.edc

index 0c5d929..80eb36c 100644 (file)
 #define POPUP_ITEM_STATE_DISABLED 1
 
 /*popup widget specific notify style style*/
+group { name: "elm/notify/center/popup";
+   parts {
+       part { name: "base";
+           type: RECT;
+           scale : 1;
+           mouse_events: 0;
+           repeat_events: 1;
+           description { state: "default" 0.0;
+               color: 0 0 0 0;
+               rel1.relative: 0.0 0.0;
+               rel2.relative: 1.0 1.0;
+           }
+       }
+      part { name: "persp";
+        type: RECT;
+        description { state: "default" 0.0;
+           min: 32 32;
+           max: 32 32;
+           align: 0.5 0.5;
+           color: 0 0 0 0;
+           visible: 1;
+           perspective {
+              zplane: -200;
+              focal: 1000;
+           }
+        }
+     }
+     part { name: "persp1";
+        type: RECT;
+        description { state: "default" 0.0;
+           min: 32 32;
+           max: 32 32;
+           align: 0.5 0.5;
+           visible: 1;
+           color: 0 0 0 0;
+           perspective {
+              zplane: 0;
+              focal: 1000;
+           }
+        }
+     }
+       part { name: "pop";
+           scale : 1;
+           mouse_events: 1;
+           description { state: "default" 0.0;
+               rel1.to: "elm.swallow.content";
+               rel2.to: "elm.swallow.content";
+               image {
+                     middle: DEFAULT;
+                     border_scale: 0;
+               }
+           }
+       }
+       part { name: "elm.swallow.content";
+           type: SWALLOW;
+           scale : 1;
+           description { state: "default" 0.0;
+               rel1.to: "base";
+               rel2.to: "base";
+               map {
+                  on: 1;
+                  backface_cull: 1;
+                  perspective: "persp";
+               }
+           }
+           description { state: "visible" 0.0;
+               rel1.to: "base";
+               rel2.to: "base";
+               map {
+                  on: 1;
+                  backface_cull: 1;
+                  perspective: "persp1";
+               }
+           }
+           description { state: "end" 0.0;
+               rel1.to: "base";
+               rel2.to: "base";
+               map {
+                  on: 0;
+               }
+           }
+       }
+   }
+   programs {
+       program { name: "show";
+           signal: "elm,action,show";
+           source: "elm";
+           action: STATE_SET "default" 0.0;
+           target: "elm.swallow.content";
+       }
+       program { name: "show_2";
+            signal: "show";
+            action: STATE_SET "visible" 0.0;
+            target: "elm.swallow.content";
+            transition: LINEAR 0.2;
+            after: "end";
+       }
+       program { name: "end";
+           action: STATE_SET "end" 0.0;
+           target: "elm.swallow.content";
+       }
+       program { name: "hide";
+           signal: "elm,action,hide";
+           source: "elm";
+           action: STATE_SET "default" 0.0;
+           target: "elm.swallow.content";
+       }
+   }
+}
+
 group { name: "elm/notify/block_events/popup";
    parts {
       part { name: "block_events";