New 0.4.6a 2018-08 commands (setmenu, beep)
setmenu - controls placing and appearence of menu. keyhelp is the grub4dos edit prompts, entryhelp is the help text used in titles (after title xxxx\n<entryhelp>)
setmenu:setmenu --parameter | --parameter | ... --ver-on* --ver-off --lang=en* --lang=zh --u
--left-align* --right-align --middle-align
--auto-num-off* --auto-num-all-on --auto-num-on --triangle-on* --triangle-off
--highlight-short* --highlight-full
--font-spacing=FONT:LINE. default 0
--string=[X]=[-]Y=COLOR="STRING" max 16 commands.
Note: there is no X, position in the middle.
Note: -Y represents the count from the bottom.
--string= to delete all strings.
--box x=X y=Y w=W h=H l=L
Note: W=0 in the middle. L=0 no display border
--help=X=W=Y
Note: X=0* menu start and width. X<>0 and W=0 Entire display width minus 2x.
--keyhelp=Y_OFFSET=COLOR
Note: Y_OFFSET=0* entryhelp and keyhelp in the same area,entryhelp cover keyhelp.
Y_OFFSET!=0 keyhelp to entryhelp line offset.two coexist.
Y_OFFSET<=4, entryhelp display line number.
COLOR=0* default 'color helptext'.
--timeout=X=Y=COLOR
Note: X=Y=0* located at the end of the selected item.
Note: COLOR=0* default 'color highlight'.
* indicates default. Use 0xRRGGBB to represent colors.
setmenu --graphic-entry=type=row=list=wide=high=row_space START_FILE
type: bit0:highlight bit1:flip bit2:box bit7:transparent background
naming rules for START_FILE: *n.??? n: 00-99
--u clear all.
--draw-box=INDEX=START_X=START_y=HORIZ=VERT=LINEWIDTH=COLOR.
INDEX:1-16; COLOR:24-bit color; LINEWIDTH:1-255; all dimensions in pixels.
--draw-box=INDEX to delete the specified index.
--draw-box= to delete all indexes.
2018-03 and later
--string=[X]=[-]Y=COLOR="STRING" No X indicates horizontal centering. -Y means count from the bottom of the menu. -0 is the last line.
2018-06-28 and later
setmenu --middle-align will centre all menu entries and help text
setmenu --box l=0 removes numbers and highlighted space at left of menub