Mercurial > MadButterfly
comparison include/mb_redraw_man.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 | 6c350fc92ae3 |
children | 16116d84bc5e |
comparison
equal
deleted
inserted
replaced
355:958b67d911db | 356:3e84458968ec |
---|---|
212 * The search path can be changed by sprite_set_search_path. The name | 212 * The search path can be changed by sprite_set_search_path. The name |
213 * can have a relative path in the front of it. | 213 * can have a relative path in the front of it. |
214 * This function will search the object in the current working directory | 214 * This function will search the object in the current working directory |
215 * and then search the system search path. | 215 * and then search the system search path. |
216 */ | 216 */ |
217 mb_sprite_t *sprite_load(const char *name, redraw_man_t *rdman, coord_t *root); | 217 extern mb_sprite_t *sprite_load(const char *name, redraw_man_t *rdman, |
218 coord_t *root); | |
218 | 219 |
219 /*! \brief Set the search path of dymanic object loading. | 220 /*! \brief Set the search path of dymanic object loading. |
220 * | 221 * |
221 */ | 222 */ |
222 void sprite_set_search_path(char *path); | 223 extern void sprite_set_search_path(char *path); |
224 | |
225 extern paint_t *rdman_img_ldr_load_paint(redraw_man_t *rdman, | |
226 const char *img_id); | |
223 | 227 |
224 #endif /* __REDRAW_MAN_H_ */ | 228 #endif /* __REDRAW_MAN_H_ */ |