Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entice

Dir     : e17/apps/entice/data/themes/default


Modified Files:
        default.edc 


Log Message:
- Added signals to EnticeThumb that let thumbs know if they've been
selected or not.(non-selected are currently faded-out slightly)

- Added mouse wheel zooming to the theme.


===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/data/themes/default/default.edc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- default.edc 19 Oct 2003 17:07:42 -0000      1.9
+++ default.edc 19 Oct 2003 18:02:21 -0000      1.10
@@ -2432,6 +2432,20 @@
                target, "EnticeButtonSaveImagePulseDown";
                target, "EnticeButtonSaveImagePulseUp";
            }
+           program
+           {
+               name, "MouseWheelZoomerInner";
+               signal, "mouse,wheel,0,1";
+               source, "EnticeImage";
+               action, SIGNAL_EMIT "EnticeImageZoomIn" "";
+           }
+           program
+           {
+               name, "MouseWheelZoomerOuter";
+               signal, "mouse,wheel,0,-1";
+               source, "EnticeImage";
+               action, SIGNAL_EMIT "EnticeImageZoomOut" "";
+           }
        }
     }
     group
@@ -2441,9 +2455,48 @@
        {
            part
            {
+               name, "ThumbClip"
+               type, RECT;
+               mouse_events, 1;
+               description
+               {
+                   state, "default" 0.0;
+                   visible, 1;
+                   rel1
+                   {
+                       relative, 0.0 0.0;
+                       offset, 0 0;
+                   }
+                   rel2
+                   {
+                       relative, 1.0 1.0;
+                       offset, 0 0;
+                   }
+                   color, 255 255 255 128;
+               }
+               description
+               {
+                   state, "selected" 0.0;
+                   visible, 1;
+                   rel1
+                   {
+                       relative, 0.0 0.0;
+                       offset, 0 0;
+                   }
+                   rel2
+                   {
+                       relative, 1.0 1.0;
+                       offset, 0 0;
+                   }
+                   color, 255 255 255 255;
+               }
+           }
+           part
+           {
                name, "EnticeThumb"
                type, IMAGE;
                mouse_events, 1;
+               clip_to, "ThumbClip";
                description
                {
                    state, "default" 0.0;
@@ -2458,6 +2511,7 @@
                        relative, 1.0 1.0;
                        offset, 0 0;
                    }
+                   color, 255 255 255 128;
                }
            }
        }
@@ -2485,6 +2539,24 @@
                signal, "mouse,up,1";
                source, "EnticeThumb";
                action, SIGNAL_EMIT "EnticeThumbLoad" "";
+           }
+           program
+           {
+               name, "ThumbSelected";
+               signal, "EnticeThumbLoaded";
+               source, "";
+               action, STATE_SET "selected" 0.0;
+               transition, SINUSOIDAL 0.3;
+               target, "ThumbClip";
+           }
+           program
+           {
+               name, "ThumbUnSelected";
+               signal, "EnticeThumbUnLoaded";
+               source, "";
+               action, STATE_SET "default" 0.0;
+               transition, SINUSOIDAL 0.3;
+               target, "ThumbClip";
            }
        }
     }




-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to