aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/complex.c
Commit message (Collapse)AuthorAgeFilesLines
* cmenu: fix Login/Password and Kernel Arguments lines (complex.c)Pierre-Alexandre Meyer2009-09-051-7/+9
| | | | | | | | | | | Update the cmenu example complex.c to use clear_line(): cprint behavior has changed w.r.t. cursor positioning (it is automatically advanced now). Note: need to reset the colors before clearing the line since the status bar is printed just before the Kernel Arguments line and it changes the background color. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* cmenu: use getscreensize to access number of rows/columnsPierre-Alexandre Meyer2009-09-031-6/+19
| | | | | | | | | The simple menu system already uses getscreensize. Another step towards unification. Impact: exported getnumcols and getnumrows are now deprecated. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* cmenu: remove multi pages supportPierre-Alexandre Meyer2009-09-011-23/+23
| | | | | | | | | | The cmenu used to display the help on a separate page. Since we can't have multi pages on the serial line, get rid of them completely. This has a fairly big impact as the external cmenu API has changed. adv_menu.tpl and HDT have been patched accordingly. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* Run Nindent on com32/cmenu/complex.cH. Peter Anvin2009-05-291-326/+348
| | | | | | | | | Automatically reformat com32/cmenu/complex.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>
* Move complex menu to com32/cmenu; clean up the MakefilesH. Peter Anvin2009-03-021-0/+423
Move the complex menu system into the com32 directory so it can be sequenced properly with respect to hdt (it needs to be built after com32/lib but before com32/hdt). While we're at it, clean up the Makefiles somewhat.