diff options
Diffstat (limited to 'apps/menu.h')
-rw-r--r-- | apps/menu.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/menu.h b/apps/menu.h index 88a0372299..166a9336b9 100644 --- a/apps/menu.h +++ b/apps/menu.h | |||
@@ -22,13 +22,14 @@ | |||
22 | 22 | ||
23 | #include <stdbool.h> | 23 | #include <stdbool.h> |
24 | 24 | ||
25 | struct menu_items { | 25 | struct menu_item { |
26 | unsigned char *desc; /* string */ | 26 | unsigned char *desc; /* string */ |
27 | int voice_id; /* the associated voice clip, -1 if none */ | 27 | int voice_id; /* the associated voice clip, -1 if none */ |
28 | bool (*function) (void); /* return true if USB was connected */ | 28 | bool (*function) (void); /* return true if USB was connected */ |
29 | }; | 29 | }; |
30 | 30 | ||
31 | int menu_init(struct menu_items* items, int count, int (*callback) (int keycode, int menu)); | 31 | int menu_init(struct menu_item* mitems, int count, int (*callback)(int, int), |
32 | char *button1, char *button2, char *button3); | ||
32 | void menu_exit(int menu); | 33 | void menu_exit(int menu); |
33 | 34 | ||
34 | void put_cursorxy(int x, int y, bool on); | 35 | void put_cursorxy(int x, int y, bool on); |
@@ -48,6 +49,3 @@ bool menu_movedown(int menu); | |||
48 | void menu_draw(int menu); | 49 | void menu_draw(int menu); |
49 | 50 | ||
50 | #endif /* End __MENU_H__ */ | 51 | #endif /* End __MENU_H__ */ |
51 | |||
52 | |||
53 | |||