TianoCore EDK2 master
|
#include "CustomizedDisplayLibInternal.h"
Go to the source code of this file.
Macros | |
#define | SPACE_BUFFER_SIZE 1000 |
Variables | |
EFI_SCREEN_DESCRIPTOR | gScreenDimensions |
CHAR16 * | mLibUnknownString |
EFI_HII_HANDLE | mCDLStringPackHandle |
CHAR16 * | mSpaceBuffer |
CHAR16 * | gEnterString |
CHAR16 * | gEnterCommitString |
CHAR16 * | gEnterEscapeString |
CHAR16 * | gEscapeString |
CHAR16 * | gMoveHighlight |
CHAR16 * | gDecNumericInput |
CHAR16 * | gHexNumericInput |
CHAR16 * | gToggleCheckBox |
CHAR16 * | gLibEmptyString |
CHAR16 * | gAreYouSure |
CHAR16 * | gYesResponse |
CHAR16 * | gNoResponse |
CHAR16 * | gPlusString |
CHAR16 * | gMinusString |
CHAR16 * | gAdjustNumber |
CHAR16 * | gSaveChanges |
CHAR16 * | gNvUpdateMessage |
CHAR16 * | gInputErrorMessage |
This library class defines a set of interfaces to customize Display module
Copyright (c) 2013-2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CustomizedDisplayLibInternal.c.
#define SPACE_BUFFER_SIZE 1000 |
Definition at line 15 of file CustomizedDisplayLibInternal.c.
VOID FreeLibStrings | ( | VOID | ) |
Free the HII String.
Definition at line 753 of file CustomizedDisplayLibInternal.c.
VOID InitializeLibStrings | ( | VOID | ) |
Initialize the HII String Token to the correct values.
Definition at line 711 of file CustomizedDisplayLibInternal.c.
UINT64 LibGetFieldFromNum | ( | IN EFI_IFR_OP_HEADER * | OpCode | ) |
Get step info from numeric opcode.
[in] | OpCode | The input numeric op code. |
Definition at line 672 of file CustomizedDisplayLibInternal.c.
Count the storage space of a Unicode string.
This function handles the Unicode string with NARROW_CHAR and WIDE_CHAR control characters. NARROW_HCAR and WIDE_CHAR does not count in the resultant output. If a WIDE_CHAR is hit, then 2 Unicode character will consume an output storage space with size of CHAR16 till a NARROW_CHAR is hit.
If String is NULL, then ASSERT ().
String | The input string to be counted. |
Definition at line 495 of file CustomizedDisplayLibInternal.c.
CHAR16 * LibGetToken | ( | IN EFI_STRING_ID | Token, |
IN EFI_HII_HANDLE | HiiHandle | ||
) |
Get the string based on the StringId and HII Package List Handle.
Token | The String's ID. |
HiiHandle | The package list in the HII database to search for the specified string. |
Definition at line 462 of file CustomizedDisplayLibInternal.c.
Set Buffer to Value for Size bytes.
Buffer | Memory to set. |
Size | Number of bytes to set |
Value | Value of the set operation. |
Definition at line 823 of file CustomizedDisplayLibInternal.c.
Prints a formatted unicode string to the default console, at the supplied cursor position.
Width | Width of String to be printed. |
Column | The cursor position to print the string at. |
Row | The cursor position to print the string at. |
Fmt | Format string. |
... | Variable argument list for format string. |
Definition at line 972 of file CustomizedDisplayLibInternal.c.
VOID PrintBannerInfo | ( | IN FORM_DISPLAY_ENGINE_FORM * | FormData | ) |
Print banner info for front page.
[in] | FormData | Form Data to be shown in Page |
Definition at line 47 of file CustomizedDisplayLibInternal.c.
VOID PrintFramework | ( | IN FORM_DISPLAY_ENGINE_FORM * | FormData | ) |
Print framework and form title for a page.
[in] | FormData | Form Data to be shown in Page |
Definition at line 133 of file CustomizedDisplayLibInternal.c.
VOID PrintHotKeyHelpString | ( | IN FORM_DISPLAY_ENGINE_FORM * | FormData, |
IN BOOLEAN | SetState | ||
) |
Show all registered HotKey help strings on bottom Rows.
FormData | The curent input form data info. |
SetState | Set HotKey or Clear HotKey |
Definition at line 565 of file CustomizedDisplayLibInternal.c.
UINTN PrintInternal | ( | IN UINTN | Width, |
IN UINTN | Column, | ||
IN UINTN | Row, | ||
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL * | Out, | ||
IN CHAR16 * | Fmt, | ||
IN VA_LIST | Args | ||
) |
The internal function prints to the EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL protocol instance.
Width | Width of string to be print. |
Column | The position of the output string. |
Row | The position of the output string. |
Out | The EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL instance. |
Fmt | The format string. |
Args | The additional argument for the variables in the format string. |
Definition at line 852 of file CustomizedDisplayLibInternal.c.
VOID ProcessExternedOpcode | ( | IN FORM_DISPLAY_ENGINE_FORM * | FormData | ) |
Process some op codes which is out side of current form.
FormData | Pointer to the form data. |
Definition at line 346 of file CustomizedDisplayLibInternal.c.
VOID ProcessUserOpcode | ( | IN EFI_IFR_OP_HEADER * | OpCodeData | ) |
Process some op code which is not recognized by browser core.
OpCodeData | The pointer to the op code buffer. |
Definition at line 251 of file CustomizedDisplayLibInternal.c.
EFI_STATUS ScreenDiemensionInfoValidate | ( | IN FORM_DISPLAY_ENGINE_FORM * | FormData | ) |
Validate the input screen diemenstion info.
FormData | The input form data info. |
Definition at line 390 of file CustomizedDisplayLibInternal.c.
EFI_STATUS WaitForKeyStroke | ( | OUT EFI_INPUT_KEY * | Key | ) |
Wait for a key to be pressed by user.
Key | The key which is pressed by user. |
EFI_SUCCESS | The function always completed successfully. |
Definition at line 791 of file CustomizedDisplayLibInternal.c.
CHAR16* gAdjustNumber |
Definition at line 34 of file CustomizedDisplayLibInternal.c.
CHAR16* gAreYouSure |
Definition at line 29 of file CustomizedDisplayLibInternal.c.
CHAR16* gDecNumericInput |
Definition at line 25 of file CustomizedDisplayLibInternal.c.
CHAR16* gEnterCommitString |
Definition at line 21 of file CustomizedDisplayLibInternal.c.
CHAR16* gEnterEscapeString |
Definition at line 22 of file CustomizedDisplayLibInternal.c.
CHAR16* gEnterString |
Definition at line 20 of file CustomizedDisplayLibInternal.c.
CHAR16* gEscapeString |
Definition at line 23 of file CustomizedDisplayLibInternal.c.
CHAR16* gHexNumericInput |
Definition at line 26 of file CustomizedDisplayLibInternal.c.
CHAR16* gInputErrorMessage |
Definition at line 37 of file CustomizedDisplayLibInternal.c.
CHAR16* gLibEmptyString |
Definition at line 28 of file CustomizedDisplayLibInternal.c.
CHAR16* gMinusString |
Definition at line 33 of file CustomizedDisplayLibInternal.c.
CHAR16* gMoveHighlight |
Definition at line 24 of file CustomizedDisplayLibInternal.c.
CHAR16* gNoResponse |
Definition at line 31 of file CustomizedDisplayLibInternal.c.
CHAR16* gNvUpdateMessage |
Definition at line 36 of file CustomizedDisplayLibInternal.c.
CHAR16* gPlusString |
Definition at line 32 of file CustomizedDisplayLibInternal.c.
CHAR16* gSaveChanges |
Definition at line 35 of file CustomizedDisplayLibInternal.c.
EFI_SCREEN_DESCRIPTOR gScreenDimensions |
Definition at line 11 of file CustomizedDisplayLibInternal.c.
CHAR16* gToggleCheckBox |
Definition at line 27 of file CustomizedDisplayLibInternal.c.
CHAR16* gYesResponse |
Definition at line 30 of file CustomizedDisplayLibInternal.c.
|
extern |
Definition at line 15 of file CustomizedDisplayLib.c.
CHAR16* mLibUnknownString |
Definition at line 12 of file CustomizedDisplayLibInternal.c.
CHAR16* mSpaceBuffer |
Definition at line 14 of file CustomizedDisplayLibInternal.c.