[Genlist] Add sweep fadein/out effect
authorTae-Hwan Kim <the81.kim@samsung.com>
Tue, 30 Apr 2013 08:14:55 +0000 (17:14 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:10:38 +0000 (20:10 +0900)
Change-Id: I9c4bdd8077d10d3bb0e74d834b9334722dda059c

themes/widgets/genlist/genlist_sweep.edc

index f265368..83e7e65 100644 (file)
                min: 326 GENLIST_BTN_01_HEIGHT;
                max: -1 GENLIST_BTN_01_HEIGHT; )
          )
+         GENLIST_PART_RECT("overlay",
+            description { state: "default" 0.0;
+               color: 0 0 0 128;
+            }
+            description { state: "slide" 0.0;
+               inherit: "default" 0.0;
+               color: 0 0 0 0;
+            }
+         )
+         /*
+         GENLIST_PART_RECT("elm.shadow.left",
+            description { state: "default" 0.0;
+               rel1 {
+                  to: "elm.swallow.origin";
+                  relative: 0 0;
+               }
+               rel2 {
+                  to: "elm.swallow.origin";
+                  relative: 0 1;
+               }
+               align: 1 0.5;
+               min: 20 0;
+               color: 0 0 0 128;
+            }
+         )
+         */
          // Swallow part for original genlist item
          GENLIST_PART_ICON("elm.swallow.origin";,
             repeat_events: 0;
             source: "elm";
             action: STATE_SET "slide" 0.0;
             target: "elm.swallow.origin";
+            target: "overlay";
             transition: ACCELERATE 0.5;
          }
-
          program {
             name: "slide_left";
             signal: "elm,state,slide,passive";
             source: "elm";
             action: STATE_SET "default" 0.0;
             target: "elm.swallow.origin";
+            target: "overlay";
             transition: DECELERATE 0.5;
             after: "signal";
          }