diff examples/menu/main.c @ 320:6e164a9dd46c

Fix the Makefile to generate files correctly. The filebrowser is not working yet.
author wycc
date Thu, 05 Mar 2009 08:19:43 +0800
parents 9e1d72eca57b
children 4453ea44a83d
line wrap: on
line diff
--- a/examples/menu/main.c	Thu Mar 05 07:54:35 2009 +0800
+++ b/examples/menu/main.c	Thu Mar 05 08:19:43 2009 +0800
@@ -15,23 +15,9 @@
 #include <string.h>
 #include "menu.h"
 #include "mbapp.h"
+#include "animated_menu.h"
 
 
-typedef struct _mb_animated_menu {
-	char **titles;
-	int *menus_y;
-	int *items;
-	int top;
-	int cur;
-	int max;
-	int ready;
-	int speed;
-	MBApp *app;
-	mb_sprite_t *sprite;
-	mb_obj_t **objects;
-	mb_obj_t *lightbar;
-	void (*callback)(struct _mb_animated_menu *m, int sel);
-} mb_animated_menu_t;
 
 char *menus[] = {
 	"Item 1",