Enlightenment CVS committal

Author  : moom16
Project : e17
Module  : proto

Dir     : e17/proto/etk/data/themes/default/macros


Modified Files:
        scrollbar.edc 


Log Message:
* Clip the watermark in the tree theme
* Rewrite the scrollbar to take profit of the drag features of edje
* Add the ability to clip a widget against an evas object
* Add a scrolled view!!! :)
* Add a viewport to make every widgets scrollable


===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/etk/data/themes/default/macros/scrollbar.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- scrollbar.edc       23 Oct 2005 08:05:34 -0000      1.1
+++ scrollbar.edc       31 Oct 2005 21:36:40 -0000      1.2
@@ -1,6 +1,6 @@
 #define SCROLLBAR_BUTTON_SIZE 18
 
-#define SCROLLBAR_DRAG(part_name, rx1, ry1, ox1, oy1, rx2, ry2, ox2, oy2, 
image_thumb) \
+#define SCROLLBAR_DRAG(part_name, minw, minh, xdir, ydir, image_thumb) \
 part { \
    name: part_name"_shadow2"; \
    mouse_events: 0; \
@@ -45,15 +45,24 @@
 } \
 part { \
    name: part_name; \
+   dragable { \
+      confine: "confine"; \
+      x: xdir xdir xdir; \
+      y: ydir ydir ydir; \
+   } \
    description { \
       state: "default" 0.0; \
+      min: minw minh; \
+      fixed: 1 1; \
       rel1 { \
-         relative: rx1 ry1; \
-         offset: ox1 oy1; \
+         relative: 0.5 0.5; \
+         offset: 0 0; \
+         to: "confine"; \
       } \
       rel2 { \
-         relative: rx2 ry2; \
-         offset: ox2 oy2; \
+         relative: 0.5 0.5; \
+         offset: 0 0; \
+         to: "confine"; \
       } \
       image { \
          normal: "scrollbar_button.png"; \
@@ -82,6 +91,17 @@
    } \
 }
 
+/*
+      rel1 { \
+         relative: rx1 ry1; \
+         offset: ox1 oy1; \
+      } \
+      rel2 { \
+         relative: rx2 ry2; \
+         offset: ox2 oy2; \
+      } \
+*/
+
 #define SCROLLBAR_BUTTON(button_name, rx1, ry1, ox1, oy1, arrow_image) \
 part { \
    name: button_name"_shadow2"; \




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to