public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [RFC] [MdePkg] UefiLib: CreatePopUp
@ 2016-10-27 21:11 Felix Poludov
  2016-10-28  2:35 ` Dong, Eric
  0 siblings, 1 reply; 12+ messages in thread
From: Felix Poludov @ 2016-10-27 21:11 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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 instance, but this seems like an overkill
because the rest of the UefiLib, which is quite big, would have to be duplicated.

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 proprietary to American Megatrends, Inc.  This communication is intended to be read only 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 notice that any distribution of this message, 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 or destroy all copies of the transmission.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-11-04 20:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27 21:11 [RFC] [MdePkg] UefiLib: CreatePopUp Felix Poludov
2016-10-28  2:35 ` Dong, Eric
2016-10-28 13:52   ` Felix Poludov
2016-10-31  8:25     ` Dong, Eric
2016-10-31 20:22       ` Felix Poludov
2016-11-01  6:54         ` Dong, Eric
2016-11-02 23:12           ` Felix Poludov
2016-11-03  7:32             ` Dong, Eric
2016-11-03 23:25               ` Yao, Jiewen
2016-11-04 20:15                 ` Felix Poludov
2016-11-03 23:55               ` Felix Poludov
2016-11-04  2:39                 ` Kinney, Michael D

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox