Enlightenment CVS committal

Author  : titan
Project : e17
Module  : apps/ephoto

Dir     : e17/apps/ephoto/data/themes/ephoto/bits


Modified Files:
        button.edc 


Log Message:
Make some changes to layout to make it seem more modular. Also change the 
toolbar to use image buttons.

===================================================================
RCS file: /cvs/e/e17/apps/ephoto/data/themes/ephoto/bits/button.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- button.edc  15 Feb 2007 10:20:19 -0000      1.1
+++ button.edc  11 Mar 2007 01:14:47 -0000      1.2
@@ -4,11 +4,79 @@
        min: 16 16;
        data
        {
-               item: "inset/left" 14;
-               item: "inset/right" 14;
                item: "inset/top" 5;
                item: "inset/bottom" 5;
-               item: "pad" 2;
+               item: "inset/left" 3;
+               item: "inset/right" 3;
+               item: "pad" 4;
+       }
+       parts
+       {
+               part
+               {
+                       name: "background";
+                       mouse_events: 1;
+                       description
+                       {
+                               state: "default" 0.0;
+                               rel1
+                               {
+                                       relative: 0.0 0.0;
+                                       offset: 0 0;
+                               }
+                               rel2
+                               {
+                                       relative: 1.0 1.0;
+                                       offset: -1 -1;
+                               }
+                               image
+                               {
+                                       normal: "button.png";
+                                       border: 5 5 5 5;
+                               }
+                       }
+                       description
+                       {
+                               state: "clicked" 0.0;
+                               inherit: "default" 0.0;
+                               image
+                               {
+                                       normal: "button_clicked.png";
+                                       border: 5 5 5 5;
+                               }
+                       }
+               }
+       }
+       programs
+       {
+               program
+               {
+                       name: "clicked";
+                       signal: "mouse,down,1";
+                       source: "EWL";
+                       action: STATE_SET "clicked" 1.0;
+                       target: "background";
+               }
+               program
+               {
+                       name: "unclicked";
+                       signal: "mouse,up,1";
+                       source: "EWL";
+                       action: STATE_SET "default" 1.0;
+                       target: "background";
+               }
+       }
+}
+
+group
+{
+       name: "/ephoto/toolbar/button";
+       min: 16 16;
+       data
+       {
+               item: "inset" 2;
+               item: "pad/left" 2;
+               item: "pad/right" 2;    
        }
        parts
        {



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to