Mercurial > MadButterfly
comparison src/shape_image.c @ 672:cbad519226d4
Make sh_image_t managed, and init property store for managed shapes
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 05 Aug 2010 18:00:46 +0800 |
parents | ba64f928542b |
children | 61c217f8cec8 |
comparison
equal
deleted
inserted
replaced
671:fc29a343ce7c | 672:cbad519226d4 |
---|---|
84 | 84 |
85 img->x = x; | 85 img->x = x; |
86 img->y = y; | 86 img->y = y; |
87 img->w = w; | 87 img->w = w; |
88 img->h = h; | 88 img->h = h; |
89 | |
90 rdman_shape_man(rdman, (shape_t *)img); | |
89 | 91 |
90 return (shape_t *)img; | 92 return (shape_t *)img; |
91 } | 93 } |
92 | 94 |
93 void sh_image_free(shape_t *shape) { | 95 void sh_image_free(shape_t *shape) { |