Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entice

Dir     : e17/apps/entice/src/bin


Modified Files:
        entice.c 


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/src/bin/entice.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- entice.c    19 Oct 2003 17:20:49 -0000      1.10
+++ entice.c    19 Oct 2003 18:02:22 -0000      1.11
@@ -181,6 +181,7 @@
    Evas_Object *o = NULL;
    Evas_Object *tmp = NULL;
    Evas_Object *new_current = NULL, *new_scroller;
+   Evas_Object *thumb_edje = NULL;
 
    if ((o = (Evas_Object *) _data))
    {
@@ -193,6 +194,10 @@
           && !strcmp(e_thumb_file_get(o),
                      entice_image_file_get(entice->current)))
          return;
+      if((thumb_edje = evas_hash_find(entice->thumb.hash,
+         entice_image_file_get(entice->current))))
+         edje_object_signal_emit(thumb_edje, "EnticeThumbUnLoaded",
+         "");
 
       tmp = e_thumb_evas_object_get(o);
       new_current = entice_image_new(tmp);
@@ -242,6 +247,9 @@
          }
       }
       entice->current = new_current;
+      if((thumb_edje = evas_hash_find(entice->thumb.hash,
+         entice_image_file_get(entice->current))))
+         edje_object_signal_emit(thumb_edje, "EnticeThumbLoaded", "");
 
       if (entice->scroller)
          evas_object_del(entice->scroller);




-------------------------------------------------------
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