diff options
author | Kjell Ericson <kjell@haxx.se> | 2003-01-29 08:26:11 +0000 |
---|---|---|
committer | Kjell Ericson <kjell@haxx.se> | 2003-01-29 08:26:11 +0000 |
commit | 5cd393c772ce6d9f8f7eff5dc97b007b8249d9f6 (patch) | |
tree | ce2387d895c12fc84dcf4fe9f9373742ab3edd74 /apps/menu.h | |
parent | 2ba4fedd6400cb74c604ba4c9e3c56c6e2f79e78 (diff) | |
download | rockbox-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.h | 8 |
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 | ||
33 | void put_cursorxy(int x, int y, bool on); | 33 | void put_cursorxy(int x, int y, bool on); |
34 | 34 | ||
35 | /* Returns below define, or number of selected menu item*/ | ||
36 | int menu_show(int m); | ||
37 | #define MENU_ATTACHED_USB -1 | ||
38 | #define MENU_SELECTED_EXIT -2 | ||
39 | |||
35 | bool menu_run(int menu); | 40 | bool menu_run(int menu); |
36 | 41 | ||
37 | #endif /* End __MENU_H__ */ | 42 | #endif /* End __MENU_H__ */ |
43 | |||
44 | |||
45 | |||