Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/data/themes


Modified Files:
        gentoo.edc none.edc 


Log Message:
Added arrows into gentoo theme (finally) & tidied
unified mouse clicks & stop conflict with config menu
tidy mapped but not launcher icon behaviour
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/data/themes/gentoo.edc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- gentoo.edc  23 May 2004 16:03:43 -0000      1.11
+++ gentoo.edc  6 Oct 2004 13:34:42 -0000       1.12
@@ -1,4 +1,5 @@
 images {
+  image,  "arrow.png" LOSSY 95;
   image,  "engage-bottomlayer.png" LOSSY 95;
   image,  "engage-toplayer.png" LOSSY 95;
   image,  "term.png" LOSSY 95;
@@ -43,12 +44,12 @@
           rel1 {
             relative, 0.2 0.2;
             offset, 0 0;
-           to, "background";
+            to, "background";
           }
           rel2 {
             relative, 0.8 0.8;
             offset, 0 0;
-           to, "background";
+            to, "background";
           } 
           image {
             normal, "term.png";
@@ -65,11 +66,11 @@
 
           rel1 {
             relative, 0.0 0.0;
-           to, "background";
+            to, "background";
           }
           rel2 {
             relative, 1.0 1.0;
-           to, "background";
+            to, "background";
           } 
           image {
             normal, "engage-toplayer.png";
@@ -118,12 +119,12 @@
           rel1 {
             relative, 0.2 0.2;
             offset, 0 0;
-           to, "background";
+            to, "background";
           }
           rel2 {
             relative, 0.8 0.8;
             offset, 0 0;
-           to, "background";
+            to, "background";
           } 
         }
       } 
@@ -137,11 +138,11 @@
 
           rel1 {
             relative, 0.0 0.0;
-           to, "background";
+            to, "background";
           }
           rel2 {
             relative, 1.0 1.0;
-           to, "background";
+            to, "background";
           } 
           image {
             normal, "engage-toplayer.png";
@@ -152,113 +153,183 @@
         name,   "EngageName";
         type,   TEXT;
         mouse_events, 0;
-       effect, SOFT_SHADOW;
-       clip_to, "name_clip";
-       description {
-           state, "default" 0.0;
-               rel1 {
-                   relative, 0.0 0.0;
-                   offset, 0 0;
-                   to, "name_clip";
-               } rel2 {
-                   relative, 1.0 1.0;
-                   offset, 0 0;
-                   to, "name_clip";
-               }
-               color, 255 255 255 255;
-               color3, 0 0 0 20;
-               text {
-                   text, "";
-                   font, "VeraBd";
-                   size, 7;
-                   fit, 0 0;
-                   align, 0.5 1.0;
-                   }
-               }
-      }
-       part {
-               name, "name_clip";
-               type, RECT;
-               mouse_events, 0;
-               description {
-                   state, "default" 0.0;
-                   min, 400 25;
-                   max, 400 25;
-                   rel1 {
-                       relative, 0.0 0.0;
-                       offset, 0 -30;
-                   } rel2 {
-                       relative, 1.0 0.0;
-                       offset, 0 -5;
-                   }
-                   color, 255 255 255 0;
-               }
-               description {
-                   state, "visible" 0.0;
-                   min, 400 25;
-                   max, 400 25;
-                   rel1 {
-                       relative, 0.0 0.0;
-                       offset, 0 -30;
-                   } rel2 {
-                       relative, 1.0 0.0;
-                       offset, 0 -5;
-                   }
-                   color, 255 255 255 255;
-               }
-       }
+        effect, SOFT_SHADOW;
+        clip_to, "name_clip";
+        description {
+          state, "default" 0.0;
+          rel1 {
+            relative, 0.0 0.0;
+            offset, 0 0;
+            to, "name_clip";
+          } rel2 {
+            relative, 1.0 1.0;
+            offset, 0 0;
+            to, "name_clip";
+          }
+          color, 255 255 255 255;
+          color3, 0 0 0 20;
+          text {
+            text, "";
+            font, "VeraBd";
+            size, 7;
+            fit, 0 0;
+            align, 0.5 1.0;
+          }
+        }
+      }
+      part {
+        name, "name_clip";
+        type, RECT;
+        mouse_events, 0;
+        description {
+          state, "default" 0.0;
+          min, 400 25;
+          max, 400 25;
+          rel1 {
+            relative, 0.0 0.0;
+            offset, 0 -30;
+          } rel2 {
+            relative, 1.0 0.0;
+            offset, 0 -5;
+          }
+          color, 255 255 255 0;
+        }
+        description {
+          state, "visible" 0.0;
+          min, 400 25;
+          max, 400 25;
+          rel1 {
+            relative, 0.0 0.0;
+            offset, 0 -30;
+          } rel2 {
+            relative, 1.0 0.0;
+            offset, 0 -5;
+          }
+          color, 255 255 255 255;
+        }
+      }
+      part {
+        name, "arrow.image";
+        type, IMAGE;
+        mouse_events, 0;
+        clip_to, "arrow.image.clip";
+        description {
+          state, "default" 0.0;
+          color, 255 255 255 255;
+          rel1 {
+            relative, 0.5 1.0;
+            offset, -2 2;
+          }
+          rel2 {
+            relative, 0.5 1.0;
+            offset, 2 6;
+          }
+          image {
+            normal, "arrow.png";
+          }
+        }
+      }            
+      part {
+        name, "arrow.image.clip";
+        type, RECT;
+        mouse_events, 0;
+        description {
+          state, "default" 0.0;
+          color, 255 255 255 0;
+          rel1 {
+            relative, 0.0 0.0;
+            offset, 0 0;
+            to, "arrow.image";
+          }
+          rel2 {
+            relative, 1.0 1.0;
+            offset, -1 -1;
+            to, "arrow.image";
+          }
+        }
+        description {
+          state, "visible" 0.0;
+          color, 255 255 255 255;
+          rel1 {
+            relative, 0.0 0.0;
+            offset, 0 0;
+            to, "arrow.image";
+          }
+          rel2 {
+            relative, 1.0 1.0;
+            offset, 0 0;
+            to, "arrow.image";
+          }
+        }
+      }            
     } /* Close Parts */
     programs {
-       program {
-           name, "engage_icon_mouse_down";
-           signal, "mouse,down,1";
-           source, "background";
-           action, SIGNAL_EMIT "engage,window,raise" "";
-           in, 0.15 0.0;
-       }
-       program {
-           name, "engage_icon_mouse_down";
-           signal, "mouse,clicked,3";
-           source, "background";
-           action, SIGNAL_EMIT "engage,window,minimize" "";
-       }
-       program {
-           name, "engage_icon_mouse_down";
-           signal, "mouse,up,1";
-           source, "background";
-           action, ACTION_STOP;
-           target, "engage_icon_mouse_down";
-       }
-       program {
-           name, "engage_icon_mouse_clicked";
-           signal, "mouse,down,1,double";
-           source, "background";
-           action, SIGNAL_EMIT "engage,app,open" "";
-       }
-       program {
-           name, "engage_icon_mouse_in";
-           signal, "mouse,in";
-           source, "background";
-           action, STATE_SET "visible" 0.0;
-           target, "name_clip";
-           transition, ACCELERATE 0.0;
-           in, 0.05 0.0;
-       }
-       program {
-           name, "engage_icon_mouse_in_kill";
-           signal, "mouse,out";
-           source, "background";
-           action, ACTION_STOP;
-           target, "engage_icon_mouse_in";
-       }
-       program {
-           name, "engage_icon_mouse_out";
-           signal, "mouse,out";
-           source, "background";
-           action, STATE_SET "default" 0.0;
-           target, "name_clip";
-           transition, DECELERATE 0.3;
-       }
+      program {
+        name, "engage_icon_mouse_down";
+        signal, "mouse,down,1";
+        source, "background";
+        action, SIGNAL_EMIT "engage,window,raise" "";
+        in, 0.15 0.0;
+      }
+      program {
+        name, "engage_icon_mouse_down";
+        signal, "mouse,clicked,2";
+        source, "background";
+        action, SIGNAL_EMIT "engage,window,minimize" "";
+      }
+      program {
+        name, "engage_icon_mouse_down";
+        signal, "mouse,up,1";
+        source, "background";
+        action, ACTION_STOP;
+        target, "engage_icon_mouse_down";
+      }
+      program {
+        name, "engage_icon_mouse_clicked";
+        signal, "mouse,clicked,1";
+        source, "background";
+        action, SIGNAL_EMIT "engage,app,open" "";
+      }
+      program {
+        name, "engage_icon_mouse_in";
+        signal, "mouse,in";
+        source, "background";
+        action, STATE_SET "visible" 0.0;
+        target, "name_clip";
+        transition, ACCELERATE 0.0;
+        in, 0.05 0.0;
+      }
+      program {
+        name, "engage_icon_mouse_in_kill";
+        signal, "mouse,out";
+        source, "background";
+        action, ACTION_STOP;
+        target, "engage_icon_mouse_in";
+      }
+      program {
+        name, "engage_icon_mouse_out";
+        signal, "mouse,out";
+        source, "background";
+        action, STATE_SET "default" 0.0;
+        target, "name_clip";
+        transition, DECELERATE 0.3;
+      }
+      program {
+        name, "engage_arrow_show";
+        signal, "engage,app,opened";
+        source, "";
+        action, STATE_SET "visible" 0.0;
+        transition, SINUSOIDAL 0.75;
+        target, "arrow.image.clip";
+      }
+      program {
+        name, "engage_arrow_hide";
+        signal, "engage,app,closed";
+        source, "";
+        action, STATE_SET "default" 0.0;
+        transition, SINUSOIDAL 0.75;
+        target, "arrow.image.clip";
+      }
     }/* Close Programs */
   } /* Close Group */
 } /* Close Coll */
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/data/themes/none.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- none.edc    5 Oct 2004 21:51:25 -0000       1.1
+++ none.edc    6 Oct 2004 13:34:42 -0000       1.2
@@ -227,7 +227,7 @@
       }
       program {
         name, "engage_icon_mouse_down";
-        signal, "mouse,clicked,3";
+        signal, "mouse,clicked,2";
         source, "background";
         action, SIGNAL_EMIT "engage,window,minimize" "";
       }
@@ -240,7 +240,7 @@
       }
       program {
         name, "engage_icon_mouse_clicked";
-        signal, "mouse,down,1";
+        signal, "mouse,clicked,1";
         source, "background";
         action, SIGNAL_EMIT "engage,app,open" "";
       }




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to