Mercurial > MadButterfly
comparison include/mb_prop.h @ 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 | 29e1b2bffe4c |
children | fc29a343ce7c |
comparison
equal
deleted
inserted
replaced
256:cac9ad3df633 | 257:50d253d0fcba |
---|---|
9 * Properties are key-value pairs that are associated with objects. | 9 * Properties are key-value pairs that are associated with objects. |
10 * MadButterfly associate a property store for each object (coord or shape) | 10 * MadButterfly associate a property store for each object (coord or shape) |
11 * to keep property values. Every property is identified by a ID; an | 11 * to keep property values. Every property is identified by a ID; an |
12 * integer. Programmer can use a ID to set/get value to/from a property | 12 * integer. Programmer can use a ID to set/get value to/from a property |
13 * store. The ID should be unique in a property store. | 13 * store. The ID should be unique in a property store. |
14 * | |
15 * \todo Add a free function pointer on entries to release resources when | |
16 * the store is destroy. (See: \ref mouse.c) | |
17 * | |
14 * @{ | 18 * @{ |
15 */ | 19 */ |
16 | 20 |
17 typedef struct _mb_prop_entry mb_prop_entry_t; | 21 typedef struct _mb_prop_entry mb_prop_entry_t; |
18 typedef struct _mb_prop_store mb_prop_store_t; | 22 typedef struct _mb_prop_store mb_prop_store_t; |