summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-23 05:05:47 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-23 05:05:47 +0000
commitc3161b25a786105a14864c9aa7acf9871df873a3 (patch)
treef28102b7535ff5964a2bbb81267e3c1b9a187fc2 /MdeModulePkg
parent3b2eba1814245e84f884d71f03f6c42561f1e591 (diff)
downloadedk2-c3161b25a786105a14864c9aa7acf9871df873a3.tar.gz
edk2-c3161b25a786105a14864c9aa7acf9871df873a3.tar.bz2
edk2-c3161b25a786105a14864c9aa7acf9871df873a3.zip
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c2
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Setup.h1
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.c3
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.
//