From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from atlmailgw1.ami.com (atlmailgw1.ami.com [63.147.10.40]) (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 BC2DB1A1DED for ; Thu, 27 Oct 2016 14:11:41 -0700 (PDT) X-AuditID: ac1060b2-a7fff7000000467b-7c-58126d87dd34 Received: from atlms2.us.megatrends.com (atlms2.us.megatrends.com [172.16.96.152]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 87.DE.18043.78D62185; Thu, 27 Oct 2016 17:11:38 -0400 (EDT) Received: from ATLMS1.us.megatrends.com ([fe80::8c55:daf0:ef05:5605]) by atlms2.us.megatrends.com ([fe80::29dc:a91e:ea0c:cdeb%12]) with mapi id 14.03.0123.003; Thu, 27 Oct 2016 17:11:34 -0400 From: Felix Poludov To: "edk2-devel@lists.01.org" Thread-Topic: [RFC] [MdePkg] UefiLib: CreatePopUp Thread-Index: AdIwjdjhOCSq+FCtTKCTGmtOXAGI2Q== Date: Thu, 27 Oct 2016 21:11:34 +0000 Message-ID: <9333E191E0D52B4999CE63A99BA663A00270FF754E@atlms1.us.megatrends.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.99.93] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42JZI5AwQ7c7VyjC4M9FCYs9h44yOzB6dM/+ xxLAGNXAaJOYl5dfkliSqpCSWpxsqxRQlFmWmFyppJCZYqtkqKRQkJOYnJqbmldiq5RYUJCa l6Jkx6WAAWyAyjLzFFLzkvNTMvPSbZU8g/11LSxMLXUNlexCMlIVMvPS8otyE0sy8/MUkvPz SoCqU1OAogoJXZwZx87NYS1Yr1zROuU9SwPjTbkuRk4OCQETic2PVrJ0MXJxCAnMZpJYsWI+ lHOYUeJc32QmkCo2ARWJTWcvMIPYIgLmEq3zr4DFhQV0JGZeu8cIETeUeHzmJpDNAWTrScz7 ywYSZhFQlTjRsAPM5hUIlHiw/x5YK6OAmMT3U2vAbGYBcYlbT+YzQRwkILFkz3lmCFtU4uXj f6wQtoLElved7BD1+RKLG/5CzRSUODnzCcsERsFZSEbNQlI2C0kZRFxHYsHuT2wQtrbEsoWv mWHsMwceMyGLL2BkX8UolFiSk5uYmZNebqiXmJupl5yfu4kREuWbdjC2XDQ/xCjAwajEw6sT JRQhxJpYVlyZe4hRgoNZSYQ3MgMoxJuSWFmVWpQfX1Sak1p8iNEJGCwTmaW4QVEEjPN4YwMD KVEYx9DEzMTcyNzQ0sTc2FhJnLfoj2+4kEA6MO1kp6YWpBbBDGHi4JRqYJRbdXTV5gANfbUD b3d99/qaV7du/iTj64WSa06acsn0h57/lKD3KPcWR/+6U8tOGlmzhYfyBx85PVWU7+WzKzY8 u1dNVeVeUG7y4lrhT7Yzi/smP9+s8+pK1Q3TdVPurbi0+XsQ36PTH6dsM9f5Z21ydYVyz5se 0fmznXrKlu2Tnpwp+uXI60UzlFiKMxINtZiLihMBuDoYrBUDAAA= X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: [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: Thu, 27 Oct 2016 21:11:42 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 with= the platform look and feel. The function can be overridden by creating a project specific UefiLib instan= ce, but this seems like an overkill because the rest of the UefiLib, which is quite big, would have to be duplic= ated. One way to solve the problem is to move CreatePopUp to a new library class,= 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. I would like to solicit feedback for this proposal. If there will be no major objections, I'll start working on a patch. Thanks Felix Please consider the environment before printing this email. The information contained in this message may be confidential and proprietar= y to American Megatrends, Inc. This communication is intended to be read on= ly by the individual or entity to whom it is addressed or by their designee.= If the reader of this message is not the intended recipient, you are on not= ice that any distribution of this message, in any form, is strictly prohibit= ed. Please promptly notify the sender by reply e-mail or by telephone at 77= 0-246-8600, and then delete or destroy all copies of the transmission.