From c9802c45647d84e71b4620fdfff0c4bd88cf5acb Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Thu, 12 May 2016 13:25:26 +0800 Subject: MdeModulePkg UiApp: change code for easy customization. Change file arrangement to let user easy customize the front page UI. After this change: 1. UiCustomizeFrontPage function in FrontPageCustomizedUi.c use to let user customize front page menus. UiFrontPageCallbackHandler function use to handle the callback for the added menus. 2. FrontPageCustomizedUiSupport.c file used to add support functions used by FrontPageCustomizedUi.c file. 3. After this change, only above two files need to be updated if front page menus needed to be changed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong Reviewed-by: Liming Gao --- MdeModulePkg/Application/UiApp/FrontPage.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'MdeModulePkg/Application/UiApp/FrontPage.h') diff --git a/MdeModulePkg/Application/UiApp/FrontPage.h b/MdeModulePkg/Application/UiApp/FrontPage.h index a42253f401..1da56aced2 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.h +++ b/MdeModulePkg/Application/UiApp/FrontPage.h @@ -41,12 +41,7 @@ extern BOOLEAN gConnectAllHappened; // #define FRONT_PAGE_FORM_ID 0x1000 -#define FRONT_PAGE_KEY_OFFSET 0x4000 -#define FRONT_PAGE_KEY_CONTINUE 0x1000 -#define FRONT_PAGE_KEY_LANGUAGE 0x1234 - -#define LABEL_SELECT_LANGUAGE 0x1000 -#define LABEL_PLATFORM_INFORMATION 0x1001 +#define LABEL_FRANTPAGE_INFORMATION 0x1000 #define LABEL_END 0xffff #define FRONT_PAGE_FORMSET_GUID \ -- cgit v1.2.3