Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entice

Dir     : e17/apps/entice/src/bin


Modified Files:
        entice.c main.c 


Log Message:
update trans background on resize/move, hush a printf
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/src/bin/entice.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- entice.c    8 Apr 2004 18:33:41 -0000       1.48
+++ entice.c    9 Apr 2004 04:10:16 -0000       1.49
@@ -187,7 +187,6 @@
       }
       if ((str = edje_object_data_get(e->edje, "entice.window.type")))
       {
-         fprintf(stderr, "%s entice.window.type\n", str);
          if (!strcmp(str, "shaped"))
          {
             ecore_evas_borderless_set(ee, 1);
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/src/bin/main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- main.c      8 Apr 2004 00:07:37 -0000       1.24
+++ main.c      9 Apr 2004 04:10:16 -0000       1.25
@@ -47,6 +47,7 @@
 static void
 win_resize_cb(Ecore_Evas * ee)
 {
+   Evas_Object *o = NULL;
    int x, y, w, h;
 
    if (ee)
@@ -55,6 +56,8 @@
       if (!ecore_evas_fullscreen_get(ee))
          entice_config_geometry_set(x, y, w, h);
       entice_resize(w, h);
+      if ((o = evas_object_name_find(ecore_evas_get(ee), "trans")))
+         esmart_trans_x11_freshen(o, x, y, w, h);
    }
 }
 
@@ -66,11 +69,14 @@
 win_move_cb(Ecore_Evas * ee)
 {
    int x, y, w, h;
+   Evas_Object *o = NULL;
 
    if (ee)
    {
       ecore_evas_geometry_get(ee, &x, &y, &w, &h);
       entice_config_geometry_set(x, y, w, h);
+      if ((o = evas_object_name_find(ecore_evas_get(ee), "trans")))
+         esmart_trans_x11_freshen(o, x, y, w, h);
    }
 }
 




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