diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-23 05:05:47 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-23 05:05:47 +0000 |
commit | c3161b25a786105a14864c9aa7acf9871df873a3 (patch) | |
tree | f28102b7535ff5964a2bbb81267e3c1b9a187fc2 /MdeModulePkg | |
parent | 3b2eba1814245e84f884d71f03f6c42561f1e591 (diff) | |
download | edk2-platforms-c3161b25a786105a14864c9aa7acf9871df873a3.tar.xz |
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.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 1 | ||||
-rw-r--r-- | 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.
//
|