path: root/com32/menu/menu.c
Commit message (Collapse)AuthorAgeFilesLines
* vesacon: don't display the cursor when doing a quiet bootH. Peter Anvin2009-12-071-0/+5
| | | | | | | | | 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>
* vesamenu: add MENU RESOLUTION to be able to set nonstandard resH. Peter Anvin2009-12-071-2/+7
| | | | | | | | 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>
* Run Nindent on com32/menu/menu.cH. Peter Anvin2009-05-291-5/+5
| | | | | | | | | Automatically reformat com32/menu/menu.c 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>
* Don't set the autocr flag on the serial console; clean up crapsyslinux-3.81-pre12H. Peter Anvin2009-05-231-11/+0
| | | | | | | | | | | | | libutil would set the autocr flag on the serial console, which really never was any point -- we already do \n -> \r\n conversion explicitly in the serial code. This was always very annoying to deal with if the menu was interrupted. Furthermore, drop completely unnecessary initialization/deinitialization routines that completely duplicated other code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* simple menu: update copyright notices; clean whitespaceH. Peter Anvin2008-02-101-2/+2
* menu.c: add missing return statementH. Peter Anvin2008-02-101-0/+1
| | | | draw_background() returns int; make it return 0.
* Simple menu system: move to dedicated subdirectoryH. Peter Anvin2008-02-101-0/+44
Move the simple menu system into its own subdirectory, to make it more obvious which source files are part of it.