]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg UiApp: change code for easy customization.
authorEric Dong <eric.dong@intel.com>
Thu, 12 May 2016 05:25:26 +0000 (13:25 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 13 May 2016 03:18:13 +0000 (11:18 +0800)
commitc9802c45647d84e71b4620fdfff0c4bd88cf5acb
treef029b8a7feef7da352578ef16c89ccadc36f4b4e
parenta85be3ae48a8aaa40b755cd0ff7270c67cfed585
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 <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
13 files changed:
MdeModulePkg/Application/UiApp/FrontPage.c
MdeModulePkg/Application/UiApp/FrontPage.h
MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.c [new file with mode: 0644]
MdeModulePkg/Application/UiApp/FrontPageCustomizedUi.h [new file with mode: 0644]
MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c [new file with mode: 0644]
MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h [new file with mode: 0644]
MdeModulePkg/Application/UiApp/FrontPageStrings.uni
MdeModulePkg/Application/UiApp/FrontPageVfr.Vfr
MdeModulePkg/Application/UiApp/Language.c [deleted file]
MdeModulePkg/Application/UiApp/Language.h [deleted file]
MdeModulePkg/Application/UiApp/String.c
MdeModulePkg/Application/UiApp/String.h
MdeModulePkg/Application/UiApp/UiApp.inf