Mercurial > MadButterfly
diff 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 |
line wrap: on
line diff
--- a/examples/menu/animated_menu.h Fri Mar 06 23:02:32 2009 +0800 +++ b/examples/menu/animated_menu.h Sat Mar 07 08:33:01 2009 +0800 @@ -14,6 +14,8 @@ mb_obj_t **objects; mb_obj_t *lightbar; void (*callback)(struct _mb_animated_menu *m, int sel); + mb_progm_t *progm; + X_kb_event_t pending_key; } mb_animated_menu_t; /** \brief Create an instace of animated menu. *