Hi,

Update:

New handler class menu_viewer, new menu system is now a menu viewer
handler. (emenu.mod)
Remove reader handler class.
New module lib.mod containing helper functions. Move common function
for normal.mod to lib.mod.
Move the menu out of normal.mod as standalone menu viewer. (nmenu.mod)
Use common history function to handle command history in new menu system.
Rename textmenu module as txtrgn, gfxmenu module as gfxrgn.
configfile can be used to open sub menu in both new and old menu viewer.

To start the new menu system, add these lines at the end of grub.cfg (pc mode):

set gfxmode="640x480"
set gfxfont="Unifont Regular 16"
loadfont /menu/unifont.pf2
insmod vbe
insmod png
insmod coreui
load_config /menu/default.txt

default.txt is the theme file for new menu. Without the load_config
command, it starts the old menu viewer. When new menu is started, it
checks gfxmode variable, if it's set, it attempts to start graphic
mode, otherwise it uses text mode.

-- 
Bean

My repository: https://launchpad.net/burg


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to