Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_object_gradient.c evas_object_image.c evas_object_line.c evas_object_main.c evas_object_rectangle.c evas_object_smart.c Log Message: 1. default object size to 0x0 2. remove some float numbers (were cast anyway) 3. make smart object mmove/resize only called if the obj changes =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_gradient.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- evas_object_gradient.c 28 Jun 2007 23:22:20 -0000 1.18 +++ evas_object_gradient.c 5 Oct 2007 04:52:09 -0000 1.19 @@ -779,10 +779,10 @@ obj->cur.color.g = 255; obj->cur.color.b = 255; obj->cur.color.a = 255; - obj->cur.geometry.x = 0.0; - obj->cur.geometry.y = 0.0; - obj->cur.geometry.w = 32.0; - obj->cur.geometry.h = 32.0; + obj->cur.geometry.x = 0; + obj->cur.geometry.y = 0; + obj->cur.geometry.w = 0; + obj->cur.geometry.h = 0; obj->cur.layer = 0; obj->cur.anti_alias = 1; obj->cur.interpolation.color_space = EVAS_COLOR_SPACE_ARGB; @@ -809,8 +809,8 @@ o->cur.map.direction = 1; o->cur.fill.x = 0; o->cur.fill.y = 0; - o->cur.fill.w = 32; - o->cur.fill.h = 32; + o->cur.fill.w = 1; + o->cur.fill.h = 1; o->cur.fill.angle = 0.0; o->cur.fill.spread = EVAS_TEXTURE_REFLECT; o->cur.type.name = strdup("linear"); =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_image.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- evas_object_image.c 30 Sep 2007 15:04:51 -0000 1.57 +++ evas_object_image.c 5 Oct 2007 04:52:10 -0000 1.58 @@ -1786,10 +1786,10 @@ obj->cur.color.g = 255; obj->cur.color.b = 255; obj->cur.color.a = 255; - obj->cur.geometry.x = 0.0; - obj->cur.geometry.y = 0.0; - obj->cur.geometry.w = 32.0; - obj->cur.geometry.h = 32.0; + obj->cur.geometry.x = 0; + obj->cur.geometry.y = 0; + obj->cur.geometry.w = 0; + obj->cur.geometry.h = 0; obj->cur.layer = 0; obj->cur.anti_alias = 0; obj->cur.render_op = EVAS_RENDER_BLEND; @@ -1808,8 +1808,8 @@ /* alloc obj private data */ o = calloc(1, sizeof(Evas_Object_Image)); o->magic = MAGIC_OBJ_IMAGE; - o->cur.fill.w = 32.0; - o->cur.fill.h = 32.0; + o->cur.fill.w = 1; + o->cur.fill.h = 1; o->cur.smooth_scale = 1; o->cur.border.fill = 1; o->cur.cspace = EVAS_COLORSPACE_ARGB8888; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_line.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- evas_object_line.c 28 Jun 2007 23:22:20 -0000 1.22 +++ evas_object_line.c 5 Oct 2007 04:52:10 -0000 1.23 @@ -222,10 +222,10 @@ obj->cur.color.g = 255; obj->cur.color.b = 255; obj->cur.color.a = 255; - obj->cur.geometry.x = 0.0; - obj->cur.geometry.y = 0.0; - obj->cur.geometry.w = 32.0; - obj->cur.geometry.h = 32.0; + obj->cur.geometry.x = 0; + obj->cur.geometry.y = 0; + obj->cur.geometry.w = 0; + obj->cur.geometry.h = 0; obj->cur.layer = 0; obj->cur.anti_alias = 1; obj->cur.render_op = EVAS_RENDER_BLEND; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_main.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -3 -r1.60 -r1.61 --- evas_object_main.c 3 Oct 2007 04:09:36 -0000 1.60 +++ evas_object_main.c 5 Oct 2007 04:52:10 -0000 1.61 @@ -7,11 +7,11 @@ * if they are moved to the position they are already in * (e.g. if they are in 0,0 and you call evas_object_move(o, 0, 0) */ -#define FORWARD_NOOP_MOVES_TO_SMART_OBJS +//#define FORWARD_NOOP_MOVES_TO_SMART_OBJS /* likewise, for resizes */ -#define FORWARD_NOOP_RESIZES_TO_SMART_OBJS +//#define FORWARD_NOOP_RESIZES_TO_SMART_OBJS static Evas_Object_List * get_layer_objects_last(Evas_Layer *l) =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_rectangle.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- evas_object_rectangle.c 6 May 2007 11:29:37 -0000 1.12 +++ evas_object_rectangle.c 5 Oct 2007 04:52:10 -0000 1.13 @@ -90,10 +90,10 @@ obj->cur.color.g = 255; obj->cur.color.b = 255; obj->cur.color.a = 255; - obj->cur.geometry.x = 0.0; - obj->cur.geometry.y = 0.0; - obj->cur.geometry.w = 32.0; - obj->cur.geometry.h = 32.0; + obj->cur.geometry.x = 0; + obj->cur.geometry.y = 0; + obj->cur.geometry.w = 0; + obj->cur.geometry.h = 0; obj->cur.layer = 0; obj->cur.render_op = EVAS_RENDER_BLEND; /* set up object-specific settings */ =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_smart.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- evas_object_smart.c 28 Jun 2007 23:22:20 -0000 1.28 +++ evas_object_smart.c 5 Oct 2007 04:52:10 -0000 1.29 @@ -491,10 +491,10 @@ obj->cur.color.g = 255; obj->cur.color.b = 255; obj->cur.color.a = 255; - obj->cur.geometry.x = 0.0; - obj->cur.geometry.y = 0.0; - obj->cur.geometry.w = 32.0; - obj->cur.geometry.h = 32.0; + obj->cur.geometry.x = 0; + obj->cur.geometry.y = 0; + obj->cur.geometry.w = 0; + obj->cur.geometry.h = 0; obj->cur.layer = 0; /* set up object-specific settings */ obj->prev = obj->cur; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs