//
// Fill in a black background
//
- TuiFillArea(0,
- 0,
- UiScreenWidth - 1,
- UiScreenHeight - 1,
- 0,
- 0);
-
+ TuiFillArea(0, 0, UiScreenWidth - 1, UiScreenHeight - 1, 0, 0);
+
//
// Update the screen buffer
//
//
UiVtbl.DrawText(0,
MenuInfo->Top - 2,
- "Please select the operating system to start:",
+ MenuInfo->MenuTitle,
ATTR(UiMenuFgColor, UiMenuBgColor));
//
//
UiVtbl.DrawText(0,
MenuInfo->Bottom + 1,
- "Use the up and down arrow keys to move the highlight to "
- "your choice.",
+ "Use \x18 and \x19 to move the highlight to your choice.",
ATTR(UiMenuFgColor, UiMenuBgColor));
UiVtbl.DrawText(0,
MenuInfo->Bottom + 2,
//
// Draw each line of the menu
//
- for (i = 0; i < MenuInfo->MenuItemCount; i++) TuiDrawMenuItem(MenuInfo, i);
+ for (i = 0; i < MenuInfo->MenuItemCount; i++)
+ {
+ TuiDrawMenuItem(MenuInfo, i);
+ }
+
VideoCopyOffScreenBufferToVRAM();
}