Mercurial > MadButterfly
diff src/redraw_man.c @ 257:50d253d0fcba
Simple image loader and image shape.
- img_ldr.c is a simple image loader that rooted on a directory
specified when a loader instance been created.
- sh_image_t is corresponding shape of image tag in SVG.
- This changeset is still buggy. It need more testing.
- svg2code.py is not ready for image tag.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 15 Jan 2009 16:46:47 +0800 |
parents | f08b3ba9c1d8 |
children | 29acbd8a0dd0 |
line wrap: on
line diff
--- a/src/redraw_man.c Thu Jan 15 02:15:35 2009 +0800 +++ b/src/redraw_man.c Thu Jan 15 16:46:47 2009 +0800 @@ -316,6 +316,7 @@ subject_add_observer(rdman->root_coord->mouse_event, mouse_event_root_dummy, NULL); + mb_prop_store_init(&rdman->props, rdman->pent_pool); return OK; err: @@ -341,6 +342,8 @@ shape_t *shape, *saved_shape; geo_t *member; + mb_prop_store_destroy(&rdman->props); + free_free_objs(rdman); free_objs_destroy(rdman);