From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 66A3A1A1DEB for ; Thu, 27 Oct 2016 19:35:43 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 27 Oct 2016 19:35:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,407,1473145200"; d="scan'208";a="1051480914" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 27 Oct 2016 19:35:42 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 27 Oct 2016 19:35:42 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 27 Oct 2016 19:35:41 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.206]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.96]) with mapi id 14.03.0248.002; Fri, 28 Oct 2016 10:35:38 +0800 From: "Dong, Eric" To: 'Felix Poludov' , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Bi, Dandan" Thread-Topic: [RFC] [MdePkg] UefiLib: CreatePopUp Thread-Index: AdIwjdjhOCSq+FCtTKCTGmtOXAGI2QAMMLIg Date: Fri, 28 Oct 2016 02:35:37 +0000 Message-ID: References: <9333E191E0D52B4999CE63A99BA663A00270FF754E@atlms1.us.megatrends.com> In-Reply-To: <9333E191E0D52B4999CE63A99BA663A00270FF754E@atlms1.us.megatrends.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [RFC] [MdePkg] UefiLib: CreatePopUp X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 02:35:43 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Felix, Do you want to provide a new solution for CreatePopup or just want to split= CreatePopup from UefiLib? We already has a proposal to provide new API to= replace CreatePopup. This new API will use modal form to paint the UI. Det= ail you can see the proposal in below link: https://github.com/ydong10/doc/blob/master/Use%20Modal%20form%20for%20Creat= ePopup%20API.pptx Thanks, Eric > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Fe= lix Poludov > Sent: Friday, October 28, 2016 5:12 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [RFC] [MdePkg] UefiLib: CreatePopUp >=20 > UefiLib library class (MdePkg ) includes CreatePopUp function. > The function displays a message box. > There is certainly more than one way to draw a message box. > If homogenous user interface is a project requirement, > CreatePopUp is likely to be overridden to align message box appearance wi= th the platform look and feel. > The function can be overridden by creating a project specific UefiLib ins= tance, but this seems like an overkill > because the rest of the UefiLib, which is quite big, would have to be dup= licated. >=20 > One way to solve the problem is to move CreatePopUp to a new library clas= s, however, this may break existing projects. > I suggest changing CreatePopUp implementation to delegate pop up drawing = to a new > function UiCreatePopUp provided by a new library class UiLib.h. >=20 > I would like to solicit feedback for this proposal. > If there will be no major objections, I'll start working on a patch. >=20 > Thanks > Felix >=20 > Please consider the environment before printing this email. >=20 > The information contained in this message may be confidential and proprie= tary to American Megatrends, Inc. This communication is > intended to be read only by the individual or entity to whom it is addres= sed or by their designee. If the reader of this message is not the > intended recipient, you are on notice that any distribution of this messa= ge, in any form, is strictly prohibited. Please promptly notify the > sender by reply e-mail or by telephone at 770-246-8600, and then delete o= r destroy all copies of the transmission. > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel