I have changed the menu headings and menu footer code slightly.
Now you do not need to change the padding if you change the menu box position as it is automatically calculated.
e.g. in MyE2B.cfg you may have had a heading for the main menu of:
set HEADING=\x20 EASY2BOOT V1 - MAIN MENU (%VER%) \x20
Now you do not need to change the padding if you change the menu box position as it is automatically calculated.
e.g. in MyE2B.cfg you may have had a heading for the main menu of:
set HEADING=\x20 EASY2BOOT V1 - MAIN MENU (%VER%) \x20
but if you moved the menu box to the middle of the screen, you would have had to pad all the menu text so it sits above the menu box:
e.g.
set HEADING=\x20 EASY2BOOT V1 - MAIN MENU (%VER%) \x20
You no longer have to do this as the spaces will be added automatically as now it is padded out by the code which looks at the rstart value for the border setting that you use in your MyE2B.cfg file.
This padding (%HPAD%) is applied to all headings and footers.
I have also added a new sample 'theme' called 'Aliums' as shown below:
i tried to comment out the style to hide background image, but it seems to not work.
ReplyDeletecan u make a style with out any background image and logo.
some of us prefer a text-only grub menu interface with clearly defined colour.
thank you very much
Why not create a black bmp?
ReplyDeleteIf you want just a default menu, use MyE2B.cfg and set
ReplyDeleteGFX=none
or any non-existent file name.
You can set the colours in the usual way but you can specify background and foreground colours - e.g.
instead of
color normal=0x%lcyan%
specify a light grey menu background using
color normal=0x%lgrey%%%lcyan%