Add new "Modal form" opcode, also add sample code to use it.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11764 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -426,6 +426,8 @@ typedef struct {
|
||||
|
||||
EFI_IMAGE_ID ImageId;
|
||||
|
||||
BOOLEAN ModalForm; // Whether this is a modal form.
|
||||
|
||||
BOOLEAN NvUpdateRequired; // Whether this form has NV update request.
|
||||
|
||||
LIST_ENTRY ExpressionListHead; // List of Expressions (FORM_EXPRESSION)
|
||||
@ -717,10 +719,13 @@ DestroyFormSet (
|
||||
/**
|
||||
This function displays the page frame.
|
||||
|
||||
@param Selection Selection contains the information about
|
||||
the Selection, form and formset to be displayed.
|
||||
Selection action may be updated in retrieve callback.
|
||||
**/
|
||||
VOID
|
||||
DisplayPageFrame (
|
||||
VOID
|
||||
IN UI_MENU_SELECTION *Selection
|
||||
);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user