]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.h
MdeModulePkg/Application: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Application / BootManagerMenuApp / BootManagerMenu.h
CommitLineData
a382952f
RN
1/** @file\r
2 FrontPage routines to handle the callbacks and browser calls\r
3\r
d1102dba 4Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
9d510e61 5SPDX-License-Identifier: BSD-2-Clause-Patent\r
a382952f
RN
6\r
7**/\r
8\r
9\r
10#ifndef _BOOT_MANAGER_MENU_H_\r
11#define _BOOT_MANAGER_MENU_H_\r
12\r
13#include <Uefi.h>\r
14#include <Guid/MdeModuleHii.h>\r
15#include <Library/UefiBootManagerLib.h>\r
16#include <Library/UefiBootServicesTableLib.h>\r
17#include <Library/UefiLib.h>\r
18#include <Library/HiiLib.h>\r
19#include <Library/MemoryAllocationLib.h>\r
20#include <Library/DebugLib.h>\r
21#include <Library/BaseMemoryLib.h>\r
22#include <Library/DevicePathLib.h>\r
23#include <Protocol/LoadedImage.h>\r
24#include <Protocol/BootLogo.h>\r
25\r
26#define TITLE_TOKEN_COUNT 1\r
27#define HELP_TOKEN_COUNT 3\r
28\r
29typedef struct _BOOT_MENU_SCREEN {\r
30 UINTN StartCol;\r
31 UINTN StartRow;\r
32 UINTN Width;\r
33 UINTN Height;\r
d1102dba 34} BOOT_MENU_SCREEN;\r
a382952f
RN
35\r
36typedef struct _BOOT_MENU_SCROLL_BAR_CONTROL {\r
37 BOOLEAN HasScrollBar;\r
38 UINTN ItemCountPerScreen;\r
39 UINTN FirstItem;\r
40 UINTN LastItem;\r
d1102dba 41} BOOT_MENU_SCROLL_BAR_CONTROL;\r
a382952f
RN
42\r
43typedef struct _BOOT_MENU_POPUP_DATA {\r
44 EFI_STRING_ID TitleToken[TITLE_TOKEN_COUNT]; // Title string ID\r
45 UINTN ItemCount; // Selectable item count\r
46 EFI_STRING_ID *PtrTokens; // All of selectable items string ID\r
47 EFI_STRING_ID HelpToken[HELP_TOKEN_COUNT]; // All of help string ID\r
d1102dba 48 UINTN SelectItem; // Current select item\r
a382952f 49 BOOT_MENU_SCREEN MenuScreen; // Boot menu screen information\r
02d7b797 50 BOOT_MENU_SCROLL_BAR_CONTROL ScrollBarControl; // Boot menu scroll bar information\r
a382952f
RN
51} BOOT_MENU_POPUP_DATA;\r
52\r
d1102dba 53#endif\r
a382952f 54\r