From c3161b25a786105a14864c9aa7acf9871df873a3 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Wed, 23 Feb 2011 05:05:47 +0000 Subject: [PATCH] 1.Reposition the platform info. Move from the old position to left one block space and down one block space. 2.Show the arrow on all the form, old logical not include the front page. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11334 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 2 +- MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 1 + MdeModulePkg/Universal/SetupBrowserDxe/Ui.c | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c index f41ac58feb..e5f31d2c31 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c @@ -259,7 +259,7 @@ DisplayPageFrame ( // // Handle left column // - PrintStringAt (LocalScreen.LeftColumn, Line, StrFrontPageBanner); + PrintStringAt (LocalScreen.LeftColumn + BANNER_LEFT_COLUMN_INDENT, Line, StrFrontPageBanner); break; case 1: diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h index ba30506d1c..928b929f0b 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h @@ -59,6 +59,7 @@ extern UINT8 SetupBrowserStrings[]; // #define BANNER_HEIGHT 6 #define BANNER_COLUMNS 3 +#define BANNER_LEFT_COLUMN_INDENT 1 #define FRONT_PAGE_HEADER_HEIGHT 6 #define NONE_FRONT_PAGE_HEADER_HEIGHT 3 diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c index 3dea095f5f..8ed2c00a70 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c @@ -1794,8 +1794,7 @@ UiDisplayMenu ( OriginalRow = Row; if (Statement->Operand == EFI_IFR_REF_OP && - ((gClassOfVfr & FORMSET_CLASS_PLATFORM_SETUP) == FORMSET_CLASS_PLATFORM_SETUP) && - MenuOption->Col > 2) { + MenuOption->Col >= 2) { // // Print Arrow for Goto button. //