aboutsummaryrefslogtreecommitdiffstats
path: root/menu/menu.h
diff options
context:
space:
mode:
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();