path: root/legacy/evas/src/lib/canvas/evas_smart.c
diff options
authorCarsten Haitzler <raster@rasterman.com>2003-10-18 03:34:00 +0000
committerCarsten Haitzler <raster@rasterman.com>2003-10-18 03:34:00 +0000
commit1bf34243f68f010f0f00826b363c8c0df0c90644 (patch)
tree179a8a7d313ae3562034a7f99430c8fc5b560d26 /legacy/evas/src/lib/canvas/evas_smart.c
parentA simple program that lists collections in files, can take multiple files as (diff)
move co-ordinates to be their own type. this is a good thing, because ti
allows me to be able to virtualize he canvas co-ordinate system. right now it's doubles. i can now move to floats, int's etc. with a recompile (and well recompile all depending apps too). it's still ACTUALLY doubles, just all typedef'ed now. i've also changed booleans to actual boolean types (not an int), all code will keep working - but i'd highly suggest moving your code to use these types if interacting with evas. SVN revision: 7644
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_smart.c')
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_smart.c b/legacy/evas/src/lib/canvas/evas_smart.c
index 206d78d191..523a0b6405 100644
--- a/legacy/evas/src/lib/canvas/evas_smart.c
+++ b/legacy/evas/src/lib/canvas/evas_smart.c
@@ -19,8 +19,8 @@ evas_smart_new(const char *name,
void (*func_lower) (Evas_Object *o),
void (*func_stack_above) (Evas_Object *o, Evas_Object *above),
void (*func_stack_below) (Evas_Object *o, Evas_Object *below),
- void (*func_move) (Evas_Object *o, double x, double y),
- void (*func_resize) (Evas_Object *o, double w, double h),
+ void (*func_move) (Evas_Object *o, Evas_Coord x, Evas_Coord y),
+ void (*func_resize) (Evas_Object *o, Evas_Coord w, Evas_Coord h),
void (*func_show) (Evas_Object *o),
void (*func_hide) (Evas_Object *o),
void (*func_color_set) (Evas_Object *o, int r, int g, int b, int a),
@@ -133,7 +133,7 @@ evas_smart_data_get(Evas_Smart *s)
return NULL;
- return s->smart_class->data;
+ return (void *)s->smart_class->data;
/* internal funcs */