Print Arrow for Goto button.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11042 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2010-11-11 09:44:51 +00:00
parent aca70749de
commit a605dfb387
1 changed files with 12 additions and 0 deletions

View File

@ -1811,6 +1811,18 @@ UiDisplayMenu (
Width = GetWidth (Statement, MenuOption->Handle); Width = GetWidth (Statement, MenuOption->Handle);
OriginalRow = Row; OriginalRow = Row;
if (Statement->Operand == EFI_IFR_REF_OP && ((gClassOfVfr & FORMSET_CLASS_PLATFORM_SETUP) == FORMSET_CLASS_PLATFORM_SETUP)) {
//
// Print Arrow for Goto button.
//
PrintAt (
MenuOption->Col - LEFT_SKIPPED_COLUMNS,
Row,
L"%c",
GEOMETRICSHAPE_RIGHT_TRIANGLE
);
}
for (Index = 0; GetLineByWidth (MenuOption->Description, Width, &Index, &OutputString) != 0x0000;) { for (Index = 0; GetLineByWidth (MenuOption->Description, Width, &Index, &OutputString) != 0x0000;) {
if ((Temp == 0) && (Row <= BottomRow)) { if ((Temp == 0) && (Row <= BottomRow)) {
PrintStringAt (MenuOption->Col, Row, OutputString); PrintStringAt (MenuOption->Col, Row, OutputString);