From a605dfb38769f1d272fb32eba40344446828903b Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 11 Nov 2010 09:44:51 +0000 Subject: [PATCH] Print Arrow for Goto button. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11042 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/SetupBrowserDxe/Ui.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c index 3e4bb0a0d6..e55a2a06da 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c @@ -1811,6 +1811,18 @@ UiDisplayMenu ( Width = GetWidth (Statement, MenuOption->Handle); 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;) { if ((Temp == 0) && (Row <= BottomRow)) { PrintStringAt (MenuOption->Col, Row, OutputString);