Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/euphoria

Dir     : e17/apps/euphoria/data/themes/winter/macros


Modified Files:
        macros.inc 


Log Message:

rework things a bit so that they can be colorclassed (when euphoria supports them). 
for now, you can change the color by modifying WINTER_COLOR in winter.edc

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/euphoria/data/themes/winter/macros/macros.inc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- macros.inc  22 Feb 2004 10:12:09 -0000      1.1
+++ macros.inc  7 Mar 2004 18:15:29 -0000       1.2
@@ -132,7 +132,7 @@
          state, "over" 0.0;            \
          min, W H;                     \
          max, W H;                     \
-         color, 255 255 255 255;       \
+         color, WINTER_COLOR;  \
          rel1 {                        \
            to, REL1_TO;                \
            relative, REL1_REL;         \
@@ -144,13 +144,36 @@
            offset, REL2_OFF;           \
          }                             \
          image {                       \
-           normal, IMG2;               \
+           normal, IMG;                \
          }                             \
        }                               \
        description {                   \
          state, "down" 0.0;            \
          min, W H;                     \
          max, W H;                     \
+         color, WINTER_COLOR;  \
+         rel1 {                        \
+           to, REL1_TO;                \
+           relative, REL1_REL;         \
+           offset, REL1_OFF;           \
+         }                             \
+         rel2 {                        \
+           to, REL2_TO;                \
+           relative, REL2_REL;         \
+           offset, REL2_OFF;           \
+         }                             \
+         image {                       \
+           normal, IMG2;               \
+         }                             \
+       }                               \
+      }                                        \
+      part {                           \
+        name, NAME"-border";           \
+        mouse_events, 0;                \
+       description {                   \
+         state, "default" 0.0;         \
+         min, W H;                     \
+         max, W H;                     \
          color, 255 255 255 255;       \
          rel1 {                        \
            to, REL1_TO;                \
@@ -166,7 +189,7 @@
            normal, IMG3;               \
          }                             \
        }                               \
-      }                                        
+      }         
 
 
 
@@ -181,7 +204,7 @@
         signal, "mouse,in";            \
         source, NAME;                  \
         action, STATE_SET "over" 0.0;  \
-        transition, LINEAR, 0.0;       \
+        transition, DECELERATE, 0.25;  \
         target, NAME;                  \
       }                                        \
       program {                                \
@@ -189,7 +212,7 @@
         signal, "mouse,out";           \
         source, NAME;                  \
         action, STATE_SET "default" 0.0;\
-        transition, LINEAR, 0.0;       \
+        transition, DECELERATE, 0.25;  \
         target, NAME;                  \
       }                                        \
       program {                                \




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to