aboutsummaryrefslogtreecommitdiffstats
path: root/com32/menu/menu.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-19 18:21:08 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-19 18:21:08 -0800
commitc758029be533c05d674251f204ca368be5d2c67f (patch)
tree1ed6a7e9de91d3fd381ec787e16da7e2a0b5f4e0 /com32/menu/menu.h
parentc62e26d7dd4d579e4a92e1ff836fb43f944ceb82 (diff)
downloadsyslinux.git-c758029be533c05d674251f204ca368be5d2c67f.tar.gz
syslinux.git-c758029be533c05d674251f204ca368be5d2c67f.tar.xz
syslinux.git-c758029be533c05d674251f204ca368be5d2c67f.zip
simple menu: remember the cursor position on a per-menu basis
For each menu, remember what the current position of the cursor and the scroll is.
Diffstat (limited to 'com32/menu/menu.h')
-rw-r--r--com32/menu/menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/menu/menu.h b/com32/menu/menu.h
index 638fece3..5aeb48f6 100644
--- a/com32/menu/menu.h
+++ b/com32/menu/menu.h
@@ -148,6 +148,9 @@ struct menu {
int allowedit;
int timeout;
+ int curentry;
+ int curtop;
+
const char *title;
const char *ontimeout;
const char *onerror;