aboutsummaryrefslogtreecommitdiffstats
path: root/menu/menu.h
diff options
context:
space:
mode:
authorhpa <hpa>2004-04-22 05:42:58 +0000
committerhpa <hpa>2004-04-22 05:42:58 +0000
commitda71d74b613d9f5aa065e921bcec5a1b4d41c95e (patch)
tree7862ce51671c4d6c435e47d8ee8d9aec728d2961 /menu/menu.h
parent918207709205f2abaf60472dd674edb93343e11d (diff)
downloadsyslinux-elf-da71d74b613d9f5aa065e921bcec5a1b4d41c95e.tar.gz
syslinux-elf-da71d74b613d9f5aa065e921bcec5a1b4d41c95e.tar.xz
syslinux-elf-da71d74b613d9f5aa065e921bcec5a1b4d41c95e.zip
Allow explicit position of menus; from Murali Krishnansyslinux-2.09-pre14
Diffstat (limited to 'menu/menu.h')
-rw-r--r--menu/menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/menu/menu.h b/menu/menu.h
index dd15320f..291787ae 100644
--- a/menu/menu.h
+++ b/menu/menu.h
@@ -140,6 +140,7 @@ typedef struct s_menu {
const char *title;
char numitems;
char menuwidth;
+ char row,col; // Position where this menu should be displayed
} t_menu;
typedef t_menu *pt_menu; // Pointer to type menu
@@ -208,6 +209,8 @@ char add_menu(const char *title); // This pointer value is stored internally
// Add item to the "current" menu // pointer values are stored internally
pt_menuitem add_item(const char *item, const char *status, t_action action, const char *data, char itemdata);
+void set_menu_pos(char row,char col); // Set the position of this menu.
+
// Add a separator to the "current" menu
pt_menuitem add_sep();