Bug fixes for FrameworkHiiToUefiHiiThunk;
1) Update variable name to better names. 2) Change List Entry in all data structure to "Link". 3) Update to use proper list manipulation functions in BaseLib. 4) Add in more comments and clean up HiiNewString. 5) Clean up for HiiNewPack, HiiRemovePack and the notify functions. 6) Create better name such as GetPackageCount and AssignFrameworkHiiHandle 7) Clean up the InitializeHiiDatabase entry point. 8) Remove the confusing data field in the HII_THUNK_ENTRY HiiDatabase.h. 9) Add in cleanup code for DestoryThunkContext 10) Add in code to handle the save of browser data after invoke callback 11) Map the UEFI One Of Option code to Framework One Of Option code before calling Framework Callback. 12) Add in CreatePopUp support. 13) Add in SendForm support. 14) HiiGetPrimaryLanguages and HiiGetSecondaryLanguages should support language code in RFC639 format from Caller. Then, they should conver them to 3066 format before calling UEFI HII interfaces. 15) Make ResetStrings a NOP. 16) Remove the unnecessary dependency. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5659 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -19,6 +19,23 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
UINT8 mGlyphBuffer[EFI_GLYPH_WIDTH * 2 * EFI_GLYPH_HEIGHT];
|
||||
|
||||
/**
|
||||
This function is only called by Graphics Console module and GraphicsLib.
|
||||
EDK II provides a UEFI Graphics Console module. ECP provides a GraphicsLib
|
||||
complying to UEFI HII.
|
||||
|
||||
This function will ASSERT and return EFI_UNSUPPORTED.
|
||||
|
||||
@param This N.A.
|
||||
@param Source N.A.
|
||||
@param Index N.A.
|
||||
@param GlyphBuffer N.A.
|
||||
@param BitWidth N.A.
|
||||
@param InternalStatus N.A.
|
||||
|
||||
@return EFI_UNSUPPORTED N.A.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
HiiGetGlyph (
|
||||
@@ -29,30 +46,30 @@ HiiGetGlyph (
|
||||
OUT UINT16 *BitWidth,
|
||||
IN OUT UINT32 *InternalStatus
|
||||
)
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
Translates a Unicode character into the corresponding font glyph.
|
||||
If the Source was pointing to a non-spacing character, the next Source[*Index]
|
||||
character will be parsed and OR'd to the GlyphBuffer until a spacing character
|
||||
is found in the Source. Since non-spacing characters are considered to be the
|
||||
same pixel width as a regular character their BitWidth will be reflected correctly
|
||||
however due to their special attribute, they are considered to be zero advancing width.
|
||||
This basically means that the cursor would not advance, thus the character that follows
|
||||
it would overlay the non-spacing character. The Index is modified to reflect both the
|
||||
incoming array entry into the Source string but also the outgoing array entry after having
|
||||
parsed the equivalent of a single Glyph's worth of data.
|
||||
|
||||
Arguments:
|
||||
|
||||
Returns:
|
||||
|
||||
--*/
|
||||
{
|
||||
ASSERT (FALSE);
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
/**
|
||||
This function is only called by Graphics Console module and GraphicsLib.
|
||||
EDK II provides a UEFI Graphics Console module. ECP provides a GraphicsLib
|
||||
complying to UEFI HII.
|
||||
|
||||
This function will ASSERT and return EFI_UNSUPPORTED.
|
||||
|
||||
@param This N.A.
|
||||
@param GlyphBuffer N.A.
|
||||
@param Foreground N.A.
|
||||
@param Background N.A.
|
||||
@param Count N.A.
|
||||
@param Width N.A.
|
||||
@param Height N.A.
|
||||
@param BltBuffer N.A.
|
||||
|
||||
@return EFI_UNSUPPORTED N.A.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
HiiGlyphToBlt (
|
||||
|
Reference in New Issue
Block a user