TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
VOID | MenuBarCleanup (VOID) |
EFI_STATUS | MenuBarInit (IN CONST EDITOR_MENU_ITEM *Items) |
EFI_STATUS | ControlHotKeyInit (IN MENU_ITEM_FUNCTION *Items) |
EFI_STATUS | MenuBarRefresh (IN CONST UINTN LastRow, IN CONST UINTN LastCol) |
EFI_STATUS | MenuBarDispatchFunctionKey (IN CONST EFI_INPUT_KEY *Key) |
EFI_STATUS | MenuBarDispatchControlHotKey (IN CONST EFI_KEY_DATA *KeyData) |
Variables | |
EDITOR_MENU_ITEM * | MenuItems |
MENU_ITEM_FUNCTION * | ControlBasedMenuFunctions |
UINTN | NumItems |
implements menubar interface functions.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file EditMenuBar.c.
EFI_STATUS ControlHotKeyInit | ( | IN MENU_ITEM_FUNCTION * | Items | ) |
Initialize the control hot-key with the specified items.
[in] | Items | The hot-key functions. |
EFI_SUCCESS | The initialization was correct. |
Definition at line 63 of file EditMenuBar.c.
VOID MenuBarCleanup | ( | VOID | ) |
Cleanup function for a menu bar. frees all allocated memory.
Definition at line 21 of file EditMenuBar.c.
EFI_STATUS MenuBarDispatchControlHotKey | ( | IN CONST EFI_KEY_DATA * | KeyData | ) |
Function to dispatch the correct function based on a control-based key (ctrl+o...)
[in] | KeyData | The pressed key. |
EFI_NOT_FOUND | The key was not a valid control-based key (an error was sent to the status bar). |
Definition at line 175 of file EditMenuBar.c.
EFI_STATUS MenuBarDispatchFunctionKey | ( | IN CONST EFI_INPUT_KEY * | Key | ) |
Function to dispatch the correct function based on a function key (F1...)
[in] | Key | The pressed key. |
EFI_NOT_FOUND | The key was not a valid function key (an error was sent to the status bar). |
Definition at line 146 of file EditMenuBar.c.
EFI_STATUS MenuBarInit | ( | IN CONST EDITOR_MENU_ITEM * | Items | ) |
Initialize the menu bar with the specified items.
[in] | Items | The items to display and their functions. |
EFI_SUCCESS | The initialization was correct. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 37 of file EditMenuBar.c.
Refresh function for the menu bar.
[in] | LastRow | The last printable row. |
[in] | LastCol | The last printable column. |
EFI_SUCCESS | The refresh was successful. |
Definition at line 80 of file EditMenuBar.c.
MENU_ITEM_FUNCTION* ControlBasedMenuFunctions |
Definition at line 14 of file EditMenuBar.c.
EDITOR_MENU_ITEM* MenuItems |
Definition at line 13 of file EditMenuBar.c.
UINTN NumItems |
Definition at line 15 of file EditMenuBar.c.