summaryrefslogtreecommitdiffstats
path: root/include/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/menu.h')
-rw-r--r--include/menu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/menu.h b/include/menu.h
index 8b0ffb1f83..3e704a8907 100644
--- a/include/menu.h
+++ b/include/menu.h
@@ -47,7 +47,10 @@ struct menu_entry {
struct menu {
char *name;
- char *display;
+ /* Multiline title */
+ char **display;
+ /* Number of lines */
+ int display_lines;
int auto_select;
char *auto_display;
@@ -88,6 +91,7 @@ int menu_set_selected_entry(struct menu *m, struct menu_entry* me);
int menu_set_selected(struct menu *m, int num);
int menu_set_auto_select(struct menu *m, int delay);
struct menu* menu_get_menus(void);
+void menu_add_title(struct menu *m, char *display);
/*
* menu entry functions