aboutsummaryrefslogtreecommitdiffstats
path: root/menu/simple.c
diff options
context:
space:
mode:
authorhpa <hpa>2004-02-04 23:36:07 +0000
committerhpa <hpa>2004-02-04 23:36:07 +0000
commit3f1dc4d44e2edd814eb98b229683ef12c59a0589 (patch)
tree09810eb02cf530f2a6287cdbd693f2e722af214a /menu/simple.c
parent00e7167012ca033be039c9ea6d9d880f833d6fed (diff)
downloadsyslinux-elf-3f1dc4d44e2edd814eb98b229683ef12c59a0589.tar.gz
syslinux-elf-3f1dc4d44e2edd814eb98b229683ef12c59a0589.tar.xz
syslinux-elf-3f1dc4d44e2edd814eb98b229683ef12c59a0589.zip
Patch from Murali for windowing support and a much cleaner interface;
some minor formatting cleanups on my part
Diffstat (limited to 'menu/simple.c')
-rw-r--r--menu/simple.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/menu/simple.c b/menu/simple.c
index 2d26af86..aeaa6b73 100644
--- a/menu/simple.c
+++ b/menu/simple.c
@@ -26,8 +26,12 @@ int menumain(char *cmdline)
char TESTING,RESCUE,MAIN; /* The menus we're going to declare */
(void)cmdline; /* Not used */
+ // Change the video mode here
+ // setvideomode(0)
+
// Choose the default title and setup default values for all attributes....
init_menusystem(NULL);
+ set_window_size(1,1,23,78); // Leave one row/col border all around
// Choose the default values for all attributes and char's
// -1 means choose defaults (Actually the next 4 lines are not needed)