From: Enlightenment S. <no-...@en...> - 2012-10-18 11:52:28
|
Log: evas - use Eina_Bool Author: hermet Date: 2012-10-18 04:52:21 -0700 (Thu, 18 Oct 2012) New Revision: 78184 Trac: http://trac.enlightenment.org/e/changeset/78184 Modified: trunk/evas/src/lib/canvas/evas_object_image.c Modified: trunk/evas/src/lib/canvas/evas_object_image.c =================================================================== --- trunk/evas/src/lib/canvas/evas_object_image.c 2012-10-18 11:45:55 UTC (rev 78183) +++ trunk/evas/src/lib/canvas/evas_object_image.c 2012-10-18 11:52:21 UTC (rev 78184) @@ -51,8 +51,8 @@ int frame; Evas_Colorspace cspace; - unsigned char smooth_scale : 1; - unsigned char has_alpha :1; + Eina_Bool smooth_scale : 1; + Eina_Bool has_alpha :1; } cur, prev; int pixels_checked_out; @@ -423,7 +423,7 @@ { if (o->load_error == EVAS_LOAD_ERROR_NONE) o->load_error = EVAS_LOAD_ERROR_GENERIC; - o->cur.has_alpha = 1; + o->cur.has_alpha = EINA_TRUE; o->cur.cspace = EVAS_COLORSPACE_ARGB8888; if ((o->cur.image.w != 0) || (o->cur.image.h != 0)) @@ -3001,7 +3001,7 @@ } o->engine_data = NULL; o->load_error = EVAS_LOAD_ERROR_NONE; - o->cur.has_alpha = 1; + o->cur.has_alpha = EINA_TRUE; o->cur.cspace = EVAS_COLORSPACE_ARGB8888; if ((o->cur.image.w != 0) || (o->cur.image.h != 0)) resize_call = EINA_TRUE; o->cur.image.w = 0; @@ -3143,7 +3143,7 @@ Evas_Object_Image *o = eo_data_get(eo_obj, EVAS_OBJ_IMAGE_CLASS); o->cur.fill.w = 0; o->cur.fill.h = 0; - o->cur.smooth_scale = 1; + o->cur.smooth_scale = EINA_TRUE; o->cur.border.fill = 1; o->cur.border.scale = 1.0; o->cur.cspace = EVAS_COLORSPACE_ARGB8888; |