diff include/mb_shapes.h @ 356:3e84458968ec

Move mb_img_data_t out from argument list of rdman_shape_image_new(). - Application should specify content of sh_image_t by fill the shape with a paint_image_t.
author Thinker K.F. Li <thinker@branda.to>
date Mon, 09 Mar 2009 23:05:57 +0800
parents 04d22dc38bc0
children 27774b93521e
line wrap: on
line diff
--- a/include/mb_shapes.h	Mon Mar 09 01:35:19 2009 +0800
+++ b/include/mb_shapes.h	Mon Mar 09 23:05:57 2009 +0800
@@ -235,15 +235,12 @@
  * @{
  */
 extern shape_t *rdman_shape_image_new(redraw_man_t *rdman,
-				      mb_img_data_t *img_data,
 				      co_aix x, co_aix y,
 				      co_aix w, co_aix h);
 extern void sh_image_transform(shape_t *shape);
 extern void sh_image_draw(shape_t *shape, cairo_t *cr);
 extern void sh_image_set_geometry(shape_t *shape, co_aix x, co_aix y,
 				  co_aix w, co_aix h);
-extern int sh_image_set_img_data(shape_t *shape, mb_img_data_t *img_data);
-extern mb_img_data_t *sh_image_get_img_data(shape_t *shape);
 /* @} */
 /* @} */