2. Concept : Webpage + WebBrowser.
Basic webpage process of a web browser
<1> Read webpages
<2> Parse markup language elements
<3> Using native widget ( Win32-API/MFC in MS-Windows, GTK+/Qt in Linux
X-window; and Cocoa in MacOS X) to render / display contents corresponding to
each markup language element.
In HII,
Webpage is VFR(Form Resource) and
WebBrowser is FormBrowser2
.
IFR - Internal Forms Representation. This is the binary encoding that is used for the representation of
user interface pages.
VFR - Visual Forms Representation. This is the source code format that is used by developers to
create a user interface with varying pieces of data or questions. This is later compiled into a binary
encoding
Webpage file’s extension file name is “.vfr”.
Strings/texts in webpage is defined in “.uni” file(this file is similar to Strings.xml file in Android).
The content “.uni” file will be converted to corresponding C header(.h) and source(.c) files.
Reference Codes
uefiedk2MdeModulePkgUniversalDriverSampleDxe
Sample Code Download:
https://www.dropbox.com/s/819w549ndmkj5xk/HiiTest.7z