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:
ydong10
2011-06-08 07:27:39 +00:00
parent 26a65e5c80
commit b00964a999
7 changed files with 105 additions and 16 deletions

View File

@ -2068,6 +2068,14 @@ ParseOpCodes (
CurrentStatement->RefreshInterval = ((EFI_IFR_REFRESH *) OpCodeData)->RefreshInterval;
break;
//
// Modal tag
//
case EFI_IFR_MODAL_TAG_OP:
ASSERT (CurrentForm != NULL);
CurrentForm->ModalForm = TRUE;
break;
//
// Vendor specific
//