path: root/com32/menu/menu.h
Commit message (Collapse)AuthorAgeFilesLines
* menu: add MENU CLEAR optionH. Peter Anvin2010-02-031-0/+1
| | | | | | Add MENU CLEAR to clear the screen on menu exit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* vesacon: don't display the cursor when doing a quiet bootH. Peter Anvin2009-12-071-0/+1
| | | | | | | | | Don't display the cursor on the graphical screen while doing a quiet boot. When doing a quiet boot we will probably show the graphical screen for a fair bit of time; as a result, we really don't want a completely bogus cursor blob on the bottom of the screen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge branch 'softres'H. Peter Anvin2009-12-071-4/+2
| * vesamenu: add MENU RESOLUTION to be able to set nonstandard resH. Peter Anvin2009-12-071-4/+2
| | | | | | | | | | | | | | | | Add a MENU RESOLUTION command to make it possible to set a nonstandard resolution. If the nonstandard resolution is unavailable, we revert to the text mode screen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | menu: debugging hooksH. Peter Anvin2009-11-191-0/+3
|/ | | | | | Add (disabled) debugging hooks to the menu system. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/menu/menu.hH. Peter Anvin2009-05-291-89/+89
| | | | | | | | | Automatically reformat com32/menu/menu.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* menu: modify MENU SAVE to be a cascading defaultH. Peter Anvin2009-04-141-2/+4
| | | | | | | Change MENU SAVE to be a cascading default that can be reverted with MENU NOSAVE. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Implement MENU SAVE; fix COM32 setadv functionsyslinux-3.74-pre18H. Peter Anvin2009-04-061-0/+1
| | | | | | | | Implement MENU SAVE, which allows the menu system to retain the previous selection from one boot to another. In the process, fix the syslinux_setadv() function. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add new "UI" directive instead of abusing the DEFAULT directiveH. Peter Anvin2008-12-141-1/+2
| | | | | | | | | Add a new "UI" directive to specify a user interface module, instead of abusing the DEFAULT directive. This allows the DEFAULT directive to be used for setting the default, even when the menu system is enabled. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* menu: avoid leaving obvious password turds in memoryH. Peter Anvin2008-08-261-0/+3
| | | | | | Avoid leaving obvious password turds in memory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* simple menu: break off execute() into its own source fileH. Peter Anvin2008-03-021-0/+3
| | | | | Break off execute() into its own source file, with the intent of being able to re-use it for a CLI module.
* Allow MENU EXIT to specify a menu tagsyslinux-3.62-pre15H. Peter Anvin2008-02-221-0/+3
| | | | | Allow MENU EXIT to "exit" to an arbitrary menu. This is really just a variant of "MENU GOTO", but it allows displaying an exit marker.
* Make sure color directives get attached to the proper menu.H. Peter Anvin2008-02-191-1/+1
| | | | | Color directives would always end up attached to the root menu, no matter what menu declaration they where actually located in.
* simple menu: remember the cursor position on a per-menu basisH. Peter Anvin2008-02-191-0/+3
| | | | | For each menu, remember what the current position of the cursor and the scroll is.
* Add support for MENU EXIT; no marker for MENU GOTOH. Peter Anvin2008-02-191-0/+1
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-191-1/+1
* Allow MENU LABEL <-> MENU TITLE for submenus to work both waysH. Peter Anvin2008-02-191-0/+1
| | | | Allow either "MENU LABEL" or "MENU TITLE" to default for each other.
* simple menu: The use of realloc() requires indirect pointersH. Peter Anvin2008-02-191-1/+2
| | | | | | Since we store pointers to struct menu_entry, we can't put it in storage that is subject to realloc(). Accordingly, make menu_entries an indirect array instead.
* simple menu: first cut at working submenusH. Peter Anvin2008-02-191-0/+1
| | | | | With this edit, the submenu system seems to have minimal functionality.
* Simple menu: use refstrings consistently; now works againH. Peter Anvin2008-02-191-15/+10
| | | | | Switch consistently to using refstrings; we now seem to have original functionality back.
* submenu snapshot: it compiles now...H. Peter Anvin2008-02-191-5/+59
* Submenu support: development snapshotH. Peter Anvin2008-02-191-28/+41
| | | | Development snapshot before converting to refstrings
* Get rid of 4096-entry limit in the simple menu systemsyslinux-3.62-pre8H. Peter Anvin2008-02-161-2/+1
| | | | | | Use a dynamic array instead of a static array which we would simply crash on overflow. Always make it a power-of-two sized so we don't end up doing a realloc() and a full array copy on every extend.
* simple menu: extend command line size to 2047 charactersH. Peter Anvin2008-02-121-2/+2
| | | | | | | | | Extend the command line size to 2047 characters. The editor probably doesn't deal all that well with it; as it pretty much needs a scrolling window of some sort (2047 characters is bigger than an 80x25 screen.) Worry about that bit later.
* simple menu: update copyright notices; clean whitespaceH. Peter Anvin2008-02-101-2/+2
* simple menu: break password comparisons out into a separate fileH. Peter Anvin2008-02-101-0/+3
| | | | Move passwd_compare() into a separate source file, for cleanliness.
* Simple menu system: move to dedicated subdirectoryH. Peter Anvin2008-02-101-0/+143
Move the simple menu system into its own subdirectory, to make it more obvious which source files are part of it.