Enlightenment CVS committal

Author  : jeoparde
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        ui_callbacks.c 


Log Message:
- Somehow this image didn't make it into the matrix bg...fixed now
- That login face size thing didn't make it into the last commit as well


===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/ui_callbacks.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ui_callbacks.c      4 Feb 2003 17:19:56 -0000       1.2
+++ ui_callbacks.c      28 Feb 2003 17:01:02 -0000      1.3
@@ -54,6 +54,7 @@
 update_login_face(Entrance_Session e, char *name)
 {
    char buf[PATH_MAX];
+   int iw, ih;
 
    snprintf(buf, PATH_MAX, "%s/%s.png", PACKAGE_DATA_DIR "/data/images/users",
             name);
@@ -65,7 +66,11 @@
       evas_object_hide(e->face_shadow);
       return;
    }
-   THEME_IMAGE_RESIZE(e->face, e->theme->face);
+   
+   evas_object_image_size_get(e->face, &iw, &ih);
+   evas_object_resize(e->face, (double) iw, (double) ih);
+   evas_object_image_fill_set(e->face, 0.0, 0.0, (double) iw, (double) ih);
+   
    fx_fade_in(e->face_shadow, 0.15);
    fx_fade_in(e->face, 0.15);
 }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to