summaryrefslogtreecommitdiff
path: root/apps/menu.h
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-29 08:26:11 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-29 08:26:11 +0000
commit5cd393c772ce6d9f8f7eff5dc97b007b8249d9f6 (patch)
treece2387d895c12fc84dcf4fe9f9373742ab3edd74 /apps/menu.h
parent2ba4fedd6400cb74c604ba4c9e3c56c6e2f79e78 (diff)
downloadrockbox-5cd393c772ce6d9f8f7eff5dc97b007b8249d9f6.tar.gz
rockbox-5cd393c772ce6d9f8f7eff5dc97b007b8249d9f6.zip
New onplay-menu for the Player.
The menu_run() function is split into two functions, where the new menu_run() works like before, and the new function menu_show() returns the menu item number you selected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3180 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/menu.h b/apps/menu.h
index a21d07a7ee..632db87e4b 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -32,6 +32,14 @@ void menu_exit(int menu);
32 32
33void put_cursorxy(int x, int y, bool on); 33void put_cursorxy(int x, int y, bool on);
34 34
35 /* Returns below define, or number of selected menu item*/
36int menu_show(int m);
37#define MENU_ATTACHED_USB -1
38#define MENU_SELECTED_EXIT -2
39
35bool menu_run(int menu); 40bool menu_run(int menu);
36 41
37#endif /* End __MENU_H__ */ 42#endif /* End __MENU_H__ */
43
44
45