Prevent inverted colors
This commit is contained in:
parent
c5b6aa108d
commit
4b683eb2cd
@ -1166,6 +1166,7 @@ BlDisplayBootMenu()
|
|||||||
if(TimeOut > 0)
|
if(TimeOut > 0)
|
||||||
{
|
{
|
||||||
/* Update a message and decrease timeout value */
|
/* Update a message and decrease timeout value */
|
||||||
|
BlSetConsoleAttributes(Handle.DialogColor | Handle.TextColor);
|
||||||
BlClearConsoleLine(Handle.PosY + Handle.Height + 4);
|
BlClearConsoleLine(Handle.PosY + Handle.Height + 4);
|
||||||
BlSetCursorPosition(4, Handle.PosY + Handle.Height + 4);
|
BlSetCursorPosition(4, Handle.PosY + Handle.Height + 4);
|
||||||
BlConsolePrint(L"The highlighted position will be booted automatically in %ld seconds.", TimeOut);
|
BlConsolePrint(L"The highlighted position will be booted automatically in %ld seconds.", TimeOut);
|
||||||
@ -1174,6 +1175,7 @@ BlDisplayBootMenu()
|
|||||||
else if(TimeOut == 0)
|
else if(TimeOut == 0)
|
||||||
{
|
{
|
||||||
/* Time out expired, update a message */
|
/* Time out expired, update a message */
|
||||||
|
BlSetConsoleAttributes(Handle.DialogColor | Handle.TextColor);
|
||||||
BlClearConsoleLine(Handle.PosY + Handle.Height + 4);
|
BlClearConsoleLine(Handle.PosY + Handle.Height + 4);
|
||||||
BlSetCursorPosition(4, Handle.PosY + Handle.Height + 4);
|
BlSetCursorPosition(4, Handle.PosY + Handle.Height + 4);
|
||||||
BlConsolePrint(L"Booting '%S' now...", MenuEntries[HighligtedEntryId].EntryName);
|
BlConsolePrint(L"Booting '%S' now...", MenuEntries[HighligtedEntryId].EntryName);
|
||||||
|
Loading…
Reference in New Issue
Block a user