make arrow clicks on toolbar scroll 1 step.
authorCarsten Haitzler <raster@rasterman.com>
Wed, 28 Jan 2009 12:36:50 +0000 (12:36 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Wed, 28 Jan 2009 12:36:50 +0000 (12:36 +0000)
SVN revision: 38829

data/themes/default.edc

index e92142a..e2fcee1 100644 (file)
@@ -5436,7 +5436,8 @@ collections { /* begin the collection of edje groups that are in this file */
            }
         }
          part { name: "left_arrow";
-            mouse_events: 0;
+            mouse_events: 1;
+            scale: 1;
             description { state: "default" 0.0;
                image.normal: "icon_left_arrow.png";
                aspect: 1.0 1.0;
@@ -5452,7 +5453,8 @@ collections { /* begin the collection of edje groups that are in this file */
             }
          }
          part { name: "right_arrow";
-            mouse_events: 0;
+            mouse_events: 1;
+            scale: 1;
             description { state: "default" 0.0;
                image.normal: "icon_right_arrow.png";
                aspect: 1.0 1.0;
@@ -5467,7 +5469,20 @@ collections { /* begin the collection of edje groups that are in this file */
                color: 255 255 255 0;
             }
          }
-        part { name: "event";
+         part { name: "e.dragable.hbar";
+            mouse_events: 0;
+            dragable {
+               x: 1 1 0;
+               y: 0 0 0;
+               confine: "base";
+            }
+            description { state: "default" 0.0;
+               visible: 0;
+               rel1.to: "base";
+               rel2.to: "base";
+            }
+         }
+         part { name: "event";
            type: RECT;
            mouse_events: 1;
             repeat_events: 1;
@@ -5493,6 +5508,18 @@ collections { /* begin the collection of edje groups that are in this file */
             target: "right_arrow";
             transition: LINEAR 0.5;
          }
+         program { name: "sb_left";
+            signal: "mouse,down,1";
+            source: "left_arrow";
+            action:  DRAG_VAL_STEP -1.0 0.0;
+            target: "e.dragable.hbar";
+         }
+         program { name: "sb_right";
+            signal: "mouse,down,1";
+            source: "right_arrow";
+            action:  DRAG_VAL_STEP 1.0 0.0;
+            target: "e.dragable.hbar";
+         }
       }
    }