From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F013621E49BA3 for ; Tue, 22 Aug 2017 00:15:20 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2017 00:17:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,411,1498546800"; d="scan'208";a="892875896" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by FMSMGA003.fm.intel.com with ESMTP; 22 Aug 2017 00:17:52 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao Date: Tue, 22 Aug 2017 15:17:41 +0800 Message-Id: <1503386264-312072-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [PATCH V4 0/3] Add HII Popup Protocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 07:15:21 -0000 Patch 1: Add the definition of HII Popup Protocol. Patch 2: Add the implementation of HII Popup Protocol. Patch 3: Add one sample use case of HII Popup Protocol. V4: Updates in pacth 2: Add more comments and remove one unnecessary check in function ParseMessageString(). V3: Updates in pacth 2: Separate DrawMessageBox() function into CalculatePopupPosition() DrawMessageBox() and GetUserSelection() three functions and refine related codes. V2: Updates in pacth 2: Addstring "ERROR", "WARNING", "INFO" at the top of the message box to implement the different appearances for different styles of Popup. Updates in pacth 3: Update the date info in the Copyright. Cc: Eric Dong Cc: Liming Gao Dandan Bi (3): MdePkg/HiiPopup: Add HII Popup Protocol definitions MdeModulePkg/DisplayEngine: Add implementation of HiiPopup protocol MdeModulePkg/DriverSample: Add sample case for popup protocol .../DisplayEngineDxe/DisplayEngineDxe.inf | 4 +- .../Universal/DisplayEngineDxe/FormDisplay.c | 42 ++ .../Universal/DisplayEngineDxe/FormDisplay.h | 96 ++- .../Universal/DisplayEngineDxe/FormDisplayStr.uni | 20 +- MdeModulePkg/Universal/DisplayEngineDxe/Popup.c | 730 +++++++++++++++++++++ .../Universal/DriverSampleDxe/DriverSample.c | 29 + .../Universal/DriverSampleDxe/DriverSample.h | 4 +- .../Universal/DriverSampleDxe/DriverSampleDxe.inf | 3 +- MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr | 10 +- .../Universal/DriverSampleDxe/VfrStrings.uni | 8 +- MdePkg/Include/Protocol/HiiPopup.h | 81 +++ MdePkg/MdePkg.dec | 3 + 12 files changed, 1022 insertions(+), 8 deletions(-) create mode 100644 MdeModulePkg/Universal/DisplayEngineDxe/Popup.c create mode 100644 MdePkg/Include/Protocol/HiiPopup.h -- 1.9.5.msysgit.1