summaryrefslogtreecommitdiffstats
path: root/apps/action.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-27 09:16:47 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-27 09:16:47 +0000
commit9144be5253e0a25c3edf7bfb809498b5d2883173 (patch)
treeaab2f03c822c24916d73a92428dd65fbccdf915b /apps/action.h
parent2816dc9c13f204234b613db5199d2c787a11f0d8 (diff)
downloadrockbox-9144be5253e0a25c3edf7bfb809498b5d2883173.tar.gz
rockbox-9144be5253e0a25c3edf7bfb809498b5d2883173.tar.bz2
rockbox-9144be5253e0a25c3edf7bfb809498b5d2883173.zip
returning ACTION_EXIT_AFTER_THIS_MENUITEM from a menu callback will exit
the menu when the subitem returns. Use this with the preset item context menus git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12501 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/action.h b/apps/action.h
index 9519bd0fc7..a1d54b22d8 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -156,6 +156,8 @@ enum {
/* main menu */
ACTION_REQUEST_MENUITEM,
ACTION_EXIT_MENUITEM,
+ ACTION_EXIT_AFTER_THIS_MENUITEM, /* if a menu returns this the menu will exit
+ once the subitem returns */
ACTION_ENTER_MENUITEM,
ACTION_MENU_WPS,