summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/canvas/evas_object_image.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-10-18 11:52:21 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-10-18 11:52:21 +0000
commitbea89dd14f9053c30a220a30445529a1e9b76abd (patch)
tree0c9bb0f3e7fa052385517c148fe9d942f6454f81 /legacy/evas/src/lib/canvas/evas_object_image.c
parentd12e1015e6b3b12ad3038ef9510fb3d4fb580437 (diff)
evas - use Eina_Bool
SVN revision: 78184
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_image.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_image.c b/legacy/evas/src/lib/canvas/evas_object_image.c
index 57742d5471..e2f62c3f3a 100644
--- a/legacy/evas/src/lib/canvas/evas_object_image.c
+++ b/legacy/evas/src/lib/canvas/evas_object_image.c
@@ -51,8 +51,8 @@ struct _Evas_Object_Image
51 int frame; 51 int frame;
52 Evas_Colorspace cspace; 52 Evas_Colorspace cspace;
53 53
54 unsigned char smooth_scale : 1; 54 Eina_Bool smooth_scale : 1;
55 unsigned char has_alpha :1; 55 Eina_Bool has_alpha :1;
56 } cur, prev; 56 } cur, prev;
57 57
58 int pixels_checked_out; 58 int pixels_checked_out;
@@ -423,7 +423,7 @@ _image_file_set(Eo *eo_obj, void *_pd, va_list *list)
423 { 423 {
424 if (o->load_error == EVAS_LOAD_ERROR_NONE) 424 if (o->load_error == EVAS_LOAD_ERROR_NONE)
425 o->load_error = EVAS_LOAD_ERROR_GENERIC; 425 o->load_error = EVAS_LOAD_ERROR_GENERIC;
426 o->cur.has_alpha = 1; 426 o->cur.has_alpha = EINA_TRUE;
427 o->cur.cspace = EVAS_COLORSPACE_ARGB8888; 427 o->cur.cspace = EVAS_COLORSPACE_ARGB8888;
428 428
429 if ((o->cur.image.w != 0) || (o->cur.image.h != 0)) 429 if ((o->cur.image.w != 0) || (o->cur.image.h != 0))
@@ -3001,7 +3001,7 @@ evas_object_image_unload(Evas_Object *eo_obj, Eina_Bool dirty)
3001 } 3001 }
3002 o->engine_data = NULL; 3002 o->engine_data = NULL;
3003 o->load_error = EVAS_LOAD_ERROR_NONE; 3003 o->load_error = EVAS_LOAD_ERROR_NONE;
3004 o->cur.has_alpha = 1; 3004 o->cur.has_alpha = EINA_TRUE;
3005 o->cur.cspace = EVAS_COLORSPACE_ARGB8888; 3005 o->cur.cspace = EVAS_COLORSPACE_ARGB8888;
3006 if ((o->cur.image.w != 0) || (o->cur.image.h != 0)) resize_call = EINA_TRUE; 3006 if ((o->cur.image.w != 0) || (o->cur.image.h != 0)) resize_call = EINA_TRUE;
3007 o->cur.image.w = 0; 3007 o->cur.image.w = 0;
@@ -3143,7 +3143,7 @@ evas_object_image_new(Evas_Object *eo_obj)
3143 Evas_Object_Image *o = eo_data_get(eo_obj, EVAS_OBJ_IMAGE_CLASS); 3143 Evas_Object_Image *o = eo_data_get(eo_obj, EVAS_OBJ_IMAGE_CLASS);
3144 o->cur.fill.w = 0; 3144 o->cur.fill.w = 0;
3145 o->cur.fill.h = 0; 3145 o->cur.fill.h = 0;
3146 o->cur.smooth_scale = 1; 3146 o->cur.smooth_scale = EINA_TRUE;
3147 o->cur.border.fill = 1; 3147 o->cur.border.fill = 1;
3148 o->cur.border.scale = 1.0; 3148 o->cur.border.scale = 1.0;
3149 o->cur.cspace = EVAS_COLORSPACE_ARGB8888; 3149 o->cur.cspace = EVAS_COLORSPACE_ARGB8888;