summaryrefslogtreecommitdiff
path: root/apps/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h8
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
25struct menu_items { 25struct 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
31int menu_init(struct menu_items* items, int count, int (*callback) (int keycode, int menu)); 31int menu_init(struct menu_item* mitems, int count, int (*callback)(int, int),
32 char *button1, char *button2, char *button3);
32void menu_exit(int menu); 33void menu_exit(int menu);
33 34
34void put_cursorxy(int x, int y, bool on); 35void put_cursorxy(int x, int y, bool on);
@@ -48,6 +49,3 @@ bool menu_movedown(int menu);
48void menu_draw(int menu); 49void menu_draw(int menu);
49 50
50#endif /* End __MENU_H__ */ 51#endif /* End __MENU_H__ */
51
52
53