[fastscroll] added programs according to a new index feature: index item priority set
authorJaeun Choi <jaeun12.choi@samsung.com>
Tue, 25 Jun 2013 06:22:03 +0000 (15:22 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Thu, 27 Jun 2013 04:58:20 +0000 (13:58 +0900)
Change-Id: Ib401643b304aede70559e2978df68b7ad666332d

themes/widgets/index.edc

index a1c3e82..d1bca11 100644 (file)
                }
                color: 255 255 255 255;
             }
+            description { state: "up" 0.0;
+                 rel1.relative: 1.0 0.0;
+                 rel2.relative: 1.0 0.0;
+                 align: 1.0 1.0;
+                 fixed: 1 1;
+            }
+            description { state: "down" 0.0;
+                 rel1.relative: 1.0 1.0;
+                 rel2.relative: 1.0 1.0;
+                 align: 1.0 0.0;
+                 fixed: 1 1;
+            }
          }
          part { name: "button_image";
             scale: 1;
                   offset: -1 -1;
                }
             }
+            description { state: "inactive" 0.0;
+               inherit: "default" 0.0;
+               visible: 0;
+            }
          }
          part {
             name: "access";
             transition: DECELERATE 0.3;
             target: "clip2";
          }
+         program { name: "event.inactive";
+            signal: "elm,priority,up";
+            source: "elm";
+            action: STATE_SET "inactive" 0.0;
+            target: "elm.swallow.event.0";
+         }
+         program { name: "index.up";
+            signal: "elm,priority,up";
+            source: "elm";
+            action: STATE_SET "up" 0.0;
+            target: "elm.swallow.index.0";
+            after: "index.go.down";
+         }
+         program { name: "index.go.down";
+            action: STATE_SET "default" 0.0;
+            transition: LINEAR 0.3;
+            target: "elm.swallow.index.0";
+            after: "event.active";
+         }
+         program { name: "event.inactive2";
+            signal: "elm,priority,down";
+            source: "elm";
+            action: STATE_SET "inactive" 0.0;
+            target: "elm.swallow.event.0";
+         }
+         program { name: "index.down";
+            signal: "elm,priority,down";
+            source: "elm";
+            action: STATE_SET "down" 0.0;
+            target: "elm.swallow.index.0";
+            after: "index.go.up";
+         }
+         program { name: "index.go.up";
+            action: STATE_SET "default" 0.0;
+            transition: LINEAR 0.3;
+            target: "elm.swallow.index.0";
+            after: "event.active";
+         }
+         program { name: "event.active";
+            action: STATE_SET "default" 0.0;
+            target: "elm.swallow.event.0";
+         }
          program {
             name: "access.active";
             signal: "elm,access,state,active";