How to show the content is decided by the Browser (code in 
MdeModulePkg/Universal/SetupBrowserDxe).  You can see this driver to know the 
detail.

Thanks,
Eric
From: arti singh [mailto:[email protected]]
Sent: Wednesday, March 27, 2013 1:07 PM
To: [email protected]
Subject: Re: [edk2] VFR beginner question

VFR defines only the content and not the placement of items and by default 
items are listed vertically.We use the down arrow key to navigate each item.How 
do i design a setup screen where items are listed horizontally and i use the 
next arrow to move on to the next item on the list.I want to design something 
like a bios setup screen where we use next arrow to traverse various menu items 
like main,advanced, security etc.

Thanks..

On Wed, Mar 13, 2013 at 1:52 AM, Andrew Fish 
<[email protected]<mailto:[email protected]>> wrote:

On Mar 12, 2013, at 1:07 PM, Thomas Rognon 
<[email protected]<mailto:[email protected]>> wrote:


I'm interested in contributing my GUI framework as a edk2 subproject, but I'll 
have to clear that by my employer first.  Also, I've never contributed to an 
open source project before, so I'm not sure how that process works.


The process is here, and you must agree to the TianoCore Contribution Agreement 
1.0. 
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Contributions.txt

The edk2 is all BSD license so folks are not required to give back changes, and 
we can't accept code that has non-compatible license. So for example if your 
subproject contained GPL code, or code copied from a GPL project then it would 
have to have a GPL license and be in its own subproject.

Thanks,

Andrew Fish



On Tue, Mar 12, 2013 at 1:14 PM, Andrew Fish 
<[email protected]<mailto:[email protected]>> wrote:
On Mar 12, 2013, at 9:21 AM, Thomas Rognon 
<[email protected]<mailto:[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]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar_______________________________________________

edk2-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
edk2-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to