TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | INPUT_BAR_COLOR_ATTRIBUTES |
union | INPUT_BAR_COLOR_UNION |
Functions | |
VOID | InputBarInit (IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *TextInEx) |
VOID | InputBarCleanup (VOID) |
VOID | InputBarPrintInput (IN UINTN LastColumn, IN UINTN LastRow) |
EFI_STATUS | InputBarRefresh (UINTN LastRow, UINTN LastColumn) |
EFI_STATUS | InputBarSetPrompt (IN CONST CHAR16 *Str) |
EFI_STATUS | InputBarSetStringSize (UINTN Size) |
CONST CHAR16 * | InputBarGetString (VOID) |
Variables | |
CHAR16 * | mPrompt |
CHAR16 * | mReturnString |
UINTN | StringSize |
EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL * | mTextInEx |
Implements inputbar interface functions.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file EditInputBar.c.
VOID InputBarCleanup | ( | VOID | ) |
Cleanup function for input bar.
Definition at line 37 of file EditInputBar.c.
CONST CHAR16 * InputBarGetString | ( | VOID | ) |
Function to retrieve the input from the user.
NULL | No input has been received. |
Definition at line 318 of file EditInputBar.c.
VOID InputBarInit | ( | IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL * | TextInEx | ) |
Initialize the input bar.
[in] | TextInEx | Pointer to SimpleTextInEx instance in System Table. |
Definition at line 23 of file EditInputBar.c.
Display the prompt. Do the requesting of input.
[in] | LastColumn | The last printable column. |
[in] | LastRow | The last printable row. |
Definition at line 58 of file EditInputBar.c.
EFI_STATUS InputBarRefresh | ( | UINTN | LastRow, |
UINTN | LastColumn | ||
) |
The refresh function for InputBar, it will wait for user input
[in] | LastRow | The last printable row. |
[in] | LastColumn | The last printable column. |
EFI_SUCCESS | The operation was successful. |
Definition at line 118 of file EditInputBar.c.
EFI_STATUS InputBarSetPrompt | ( | IN CONST CHAR16 * | Str | ) |
SetPrompt and wait for input.
[in] | Str | The prompt string. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 267 of file EditInputBar.c.
EFI_STATUS InputBarSetStringSize | ( | UINTN | Size | ) |
Set the size of the string in characters.
[in] | Size | The max number of characters to accept. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 293 of file EditInputBar.c.
CHAR16* mPrompt |
Definition at line 12 of file EditInputBar.c.
CHAR16* mReturnString |
Definition at line 13 of file EditInputBar.c.
EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL* mTextInEx |
Definition at line 15 of file EditInputBar.c.
UINTN StringSize |
Definition at line 14 of file EditInputBar.c.