On Mar 12, 2013, at 9:21 AM, Thomas Rognon <[email protected]> wrote:

> I ran into the same issues and, as far as I could find out, UEFI provides 
> nothing for user interface except the ability to transfer a pixel buffer to 
> the screen.  HII and VFR aren't user interface, they are just underlying 
> structures that a user interface can be built upon.  I ended up writing my 
> own GUI framework and now I have a nice mouse and buttons and scrollbars and 
> pretty fonts, but I had to do it all from scratch.  I wrote a couple layout 
> managers to take care of resizing and different screen resolutions.  A 
> constraint layout (google GWT LayoutPanel) and list layout can do almost any 
> kind of layout you want.  I also found very little image support and ended up 
> writing some tools that convert png and bmp images into source files that 
> compile into my UEFI application.  I've only done one UEFI application so 
> far, but I built the GUI framework as a driver so it can be used for other 
> stuff later on.
> 
> Well, that's how I did it.  Hope it helps.  If anyone knows a better way, I'm 
> interested also.
> 

UEFI does not specify a GUI framework as our thinking was different vendors 
might want a different look, and feel. These different look and feels could 
imply a different GUI API, or maybe it is just easier to port an existing 
framework to UEFI so standardizing the API does not really help. If you think 
about it, it makes sense. Some folks may want a Metro (don't remember new name) 
look, vs a Windows XP look, vs X11 look, vs a Mac look, vs a windowless UI 
look...

Currently the edk2 does text for Hii since that works everywhere. The GOP does 
not run over a serial port for example.

The reason there is no GUI framework is no one has contributed one. I'm sure it 
would be possible to have an edk2 subproject that was a GUI framework. So feel 
free to contribute. 

Thanks,

Andrew Fish 

> Thomas Rognon
> 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to