Mercurial > MadButterfly
comparison examples/menu/animated_menu.h @ 332:f90c60967a9c
Add mb_progm_finish to terminate the current animation and put all objects in the final position.
It seems that not all words are executed correctly. We need to figure out why.
author | wycc |
---|---|
date | Sat, 07 Mar 2009 08:33:01 +0800 |
parents | 33e8ff8b7ad2 |
children | ab7f3c00fd05 |
comparison
equal
deleted
inserted
replaced
331:2a8bf3efbc67 | 332:f90c60967a9c |
---|---|
12 MBApp *app; | 12 MBApp *app; |
13 mb_sprite_t *sprite; | 13 mb_sprite_t *sprite; |
14 mb_obj_t **objects; | 14 mb_obj_t **objects; |
15 mb_obj_t *lightbar; | 15 mb_obj_t *lightbar; |
16 void (*callback)(struct _mb_animated_menu *m, int sel); | 16 void (*callback)(struct _mb_animated_menu *m, int sel); |
17 mb_progm_t *progm; | |
18 X_kb_event_t pending_key; | |
17 } mb_animated_menu_t; | 19 } mb_animated_menu_t; |
18 /** \brief Create an instace of animated menu. | 20 /** \brief Create an instace of animated menu. |
19 * | 21 * |
20 * The objectnames is used to extract symbols from the SVG file. | 22 * The objectnames is used to extract symbols from the SVG file. |
21 * ${objectnames}0 - ${objectnames}8 is the text object. | 23 * ${objectnames}0 - ${objectnames}8 is the text object. |