diff 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
line wrap: on
line diff
--- a/include/mb_redraw_man.h	Mon Mar 09 01:35:19 2009 +0800
+++ b/include/mb_redraw_man.h	Mon Mar 09 23:05:57 2009 +0800
@@ -214,11 +214,15 @@
  * This function will search the object in the current working directory
  * and then search the system search path.
  */
-mb_sprite_t *sprite_load(const char *name, redraw_man_t *rdman, coord_t *root);
+extern mb_sprite_t *sprite_load(const char *name, redraw_man_t *rdman,
+				coord_t *root);
 
 /*! \brief Set the search path of dymanic object loading.
  *
  */
-void sprite_set_search_path(char *path);
+extern void sprite_set_search_path(char *path);
+
+extern paint_t *rdman_img_ldr_load_paint(redraw_man_t *rdman,
+					 const char *img_id);
 
 #endif /* __REDRAW_MAN_H_ */