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
25
typedef
26
EFI_STATUS
27
(*MENU_ITEM_FUNCTION) (
28
VOID
29
);
30
31
typedef
struct
_EDITOR_MENU_ITEM
{
32
EFI_STRING_ID NameToken;
33
CHAR16 FunctionKeyToken;
34
MENU_ITEM_FUNCTION Function;
35
}
EDITOR_MENU_ITEM
;
36
45
EFI_STATUS
46
MenuBarInit
(
47
IN
CONST
EDITOR_MENU_ITEM
*Items
48
);
49
57
EFI_STATUS
58
ControlHotKeyInit
(
59
IN
MENU_ITEM_FUNCTION *Items
60
);
61
65
VOID
66
MenuBarCleanup
(
67
VOID
68
);
69
78
EFI_STATUS
79
MenuBarRefresh
(
80
IN
CONST
UINTN
LastRow,
81
IN
CONST
UINTN
LastCol
82
);
83
93
EFI_STATUS
94
MenuBarDispatchFunctionKey
(
95
IN
CONST
EFI_INPUT_KEY
*Key
96
);
97
107
EFI_STATUS
108
MenuBarDispatchControlHotKey
(
109
IN
CONST
EFI_KEY_DATA
*KeyData
110
);
111
112
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
MenuBarDispatchFunctionKey
EFI_STATUS MenuBarDispatchFunctionKey(IN CONST EFI_INPUT_KEY *Key)
Definition:
EditMenuBar.c:146
MenuBarDispatchControlHotKey
EFI_STATUS MenuBarDispatchControlHotKey(IN CONST EFI_KEY_DATA *KeyData)
Definition:
EditMenuBar.c:175
MenuBarCleanup
VOID MenuBarCleanup(VOID)
Definition:
EditMenuBar.c:21
MenuBarInit
EFI_STATUS MenuBarInit(IN CONST EDITOR_MENU_ITEM *Items)
Definition:
EditMenuBar.c:37
MenuBarRefresh
EFI_STATUS MenuBarRefresh(IN CONST UINTN LastRow, IN CONST UINTN LastCol)
Definition:
EditMenuBar.c:80
ControlHotKeyInit
EFI_STATUS ControlHotKeyInit(IN MENU_ITEM_FUNCTION *Items)
Definition:
EditMenuBar.c:63
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EDITOR_MENU_ITEM
Definition:
EditMenuBar.h:31
EFI_INPUT_KEY
Definition:
SimpleTextIn.h:35
EFI_KEY_DATA
Definition:
SimpleTextInEx.h:79
ShellPkg
Library
UefiShellDebug1CommandsLib
EditMenuBar.h
Generated on Fri Nov 15 2024 18:01:25 for TianoCore EDK2 by
1.9.6