Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas
Modified Files:
evas_font_dir.c evas_object_image.c evas_object_text.c
Log Message:
warnigns cleanups + fb 32bpp transparency support for evas from celement
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_font_dir.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_font_dir.c 22 May 2005 02:49:36 -0000 1.7
+++ evas_font_dir.c 22 May 2005 03:02:15 -0000 1.8
@@ -87,7 +87,7 @@
}
static Evas_List *
-evas_font_set_get(char *name)
+evas_font_set_get(const char *name)
{
Evas_List *fonts = NULL;
char *p;
@@ -99,7 +99,8 @@
}
else
{
- char *nm, *pp;
+ const char *pp;
+ char *nm;
pp = name;
while (p)
@@ -153,7 +154,7 @@
}
void *
-evas_font_load(Evas *evas, char *name, char *source, int size)
+evas_font_load(Evas *evas, const char *name, const char *source, int size)
{
void *font = NULL;
Evas_List *fonts, *l;
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_image.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- evas_object_image.c 22 May 2005 02:49:36 -0000 1.26
+++ evas_object_image.c 22 May 2005 03:02:15 -0000 1.27
@@ -905,8 +905,8 @@
1,
&image_pixels);
if (image_pixels)
- evas_common_convert_yuv_420p_601_rgba(pixels->rows,
- image_pixels,
+ evas_common_convert_yuv_420p_601_rgba((DATA8 **)
pixels->rows,
+ (DATA8 *)
image_pixels,
o->cur.image.w,
o->cur.image.h);
if (o->engine_data)
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_text.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- evas_object_text.c 22 May 2005 02:49:36 -0000 1.37
+++ evas_object_text.c 22 May 2005 03:02:15 -0000 1.38
@@ -749,7 +749,7 @@
if (!str) return 0;
if (pos < 0) return 0;
p = pos;
- d = evas_common_font_utf8_get_next((char *)str, &p);
+ d = evas_common_font_utf8_get_next((unsigned char *)str, &p);
if (decoded) *decoded = d;
return p;
}
@@ -769,7 +769,7 @@
if (!str) return 0;
if (pos < 1) return 0;
p = pos;
- d = evas_common_font_utf8_get_prev((char *)str, &p);
+ d = evas_common_font_utf8_get_prev((unsigned char *)str, &p);
if (decoded) *decoded = d;
return p;
}
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs