Mercurial > MadButterfly
diff include/mb_shapes.h @ 338:6a1b36738d3d
sh_image_set_img_data() is a function to change content of a sh_image_t.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 08 Mar 2009 00:15:21 +0800 |
parents | a171b94582ae |
children | bb6e964da1c8 |
line wrap: on
line diff
--- a/include/mb_shapes.h Sat Mar 07 22:59:11 2009 +0800 +++ b/include/mb_shapes.h Sun Mar 08 00:15:21 2009 +0800 @@ -242,6 +242,8 @@ 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, + co_aix x, co_aix y, co_aix w, co_aix h); /* @} */ /* @} */