TianoCore EDK2 master
Loading...
Searching...
No Matches
EditMenuBar.h
Go to the documentation of this file.
1
9#ifndef _LIB_MENU_BAR_H_
10#define _LIB_MENU_BAR_H_
11
12#define SCAN_CONTROL_E 5
13#define SCAN_CONTROL_F 6
14#define SCAN_CONTROL_G 7
15#define SCAN_CONTROL_K 11
16#define SCAN_CONTROL_O 15
17#define SCAN_CONTROL_Q 17
18#define SCAN_CONTROL_R 18
19#define SCAN_CONTROL_S 19
20#define SCAN_CONTROL_T 20
21#define SCAN_CONTROL_U 21
22#define SCAN_CONTROL_W 23
23#define SCAN_CONTROL_Z 26
24
25typedef
27(*MENU_ITEM_FUNCTION) (
28 VOID
29 );
30
31typedef struct _EDITOR_MENU_ITEM {
32 EFI_STRING_ID NameToken;
33 CHAR16 FunctionKeyToken;
34 MENU_ITEM_FUNCTION Function;
36
48 );
49
59 IN MENU_ITEM_FUNCTION *Items
60 );
61
65VOID
67 VOID
68 );
69
80 IN CONST UINTN LastRow,
81 IN CONST UINTN LastCol
82 );
83
96 );
97
109 IN CONST EFI_KEY_DATA *KeyData
110 );
111
112#endif
UINT64 UINTN
EFI_STATUS MenuBarDispatchFunctionKey(IN CONST EFI_INPUT_KEY *Key)
Definition: EditMenuBar.c:146
EFI_STATUS MenuBarDispatchControlHotKey(IN CONST EFI_KEY_DATA *KeyData)
Definition: EditMenuBar.c:175
VOID MenuBarCleanup(VOID)
Definition: EditMenuBar.c:21
EFI_STATUS MenuBarInit(IN CONST EDITOR_MENU_ITEM *Items)
Definition: EditMenuBar.c:37
EFI_STATUS MenuBarRefresh(IN CONST UINTN LastRow, IN CONST UINTN LastCol)
Definition: EditMenuBar.c:80
EFI_STATUS ControlHotKeyInit(IN MENU_ITEM_FUNCTION *Items)
Definition: EditMenuBar.c:63
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29