summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-04-08 05:52:47 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-04-08 05:52:47 +0000
commit21b415df56c2a181fd5fa5a265418496077c0f23 (patch)
treee266b8f905e961e6926eccbad41ac429486fc022 /apps/menu.h
parent1e0ae1be63dbf3a0a666e1a488980ad4a9272d56 (diff)
downloadrockbox-21b415df56c2a181fd5fa5a265418496077c0f23.tar.gz
rockbox-21b415df56c2a181fd5fa5a265418496077c0f23.tar.bz2
rockbox-21b415df56c2a181fd5fa5a265418496077c0f23.zip
Give all menus using the old API a nice title and icons (except plugins)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/menu.h b/apps/menu.h
index 365af536e9..a86155374e 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -189,6 +189,7 @@ struct menu_item {
bool (*function) (void); /* return true if USB was connected */
};
+/* if button2 == button3 == NULL, button1 is the menu title */
int menu_init(const struct menu_item* mitems, int count,
int (*callback)(int, int),
const char *button1, const char *button2, const char *button3);