]>
Commit | Line | Data |
---|---|---|
8dfe7fd2 RN |
1 | /** @file\r |
2 | This library is only intended to be used by PlatformBootManagerLib\r | |
3 | to show progress bar and LOGO.\r | |
4 | \r | |
d1102dba | 5 | Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r |
9d510e61 | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
8dfe7fd2 RN |
7 | \r |
8 | **/\r | |
9 | \r | |
10 | #ifndef _BOOT_LOGO_LIB_H_\r | |
11 | #define _BOOT_LOGO_LIB_H_\r | |
12 | \r | |
13 | #include <Protocol/PlatformLogo.h>\r | |
10fa5abf | 14 | #include <Protocol/GraphicsOutput.h>\r |
8dfe7fd2 RN |
15 | \r |
16 | /**\r | |
e0ac9c8a | 17 | Show LOGO returned from Edkii Platform Logo protocol on all consoles.\r |
8dfe7fd2 RN |
18 | **/\r |
19 | EFI_STATUS\r | |
20 | EFIAPI\r | |
21 | BootLogoEnableLogo (\r | |
e0ac9c8a | 22 | VOID\r |
8dfe7fd2 RN |
23 | );\r |
24 | \r | |
25 | \r | |
26 | /**\r | |
d1102dba | 27 | Use SystemTable ConOut to turn on video based Simple Text Out consoles. The\r |
8dfe7fd2 RN |
28 | Simple Text Out screens will now be synced up with all non-video output devices.\r |
29 | \r | |
30 | @retval EFI_SUCCESS UGA devices are back in text mode and synced up.\r | |
31 | \r | |
32 | **/\r | |
33 | EFI_STATUS\r | |
34 | EFIAPI\r | |
35 | BootLogoDisableLogo (\r | |
36 | VOID\r | |
37 | );\r | |
38 | \r | |
39 | /**\r | |
40 | \r | |
41 | Update progress bar with title above it. It only works in Graphics mode.\r | |
42 | \r | |
43 | @param TitleForeground Foreground color for Title.\r | |
44 | @param TitleBackground Background color for Title.\r | |
45 | @param Title Title above progress bar.\r | |
46 | @param ProgressColor Progress bar color.\r | |
47 | @param Progress Progress (0-100)\r | |
48 | @param PreviousValue The previous value of the progress.\r | |
49 | \r | |
50 | @retval EFI_STATUS Successly update the progress bar\r | |
51 | \r | |
52 | **/\r | |
53 | EFI_STATUS\r | |
54 | EFIAPI\r | |
55 | BootLogoUpdateProgress (\r | |
56 | IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground,\r | |
57 | IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground,\r | |
58 | IN CHAR16 *Title,\r | |
59 | IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor,\r | |
60 | IN UINTN Progress,\r | |
61 | IN UINTN PreviousValue\r | |
62 | );\r | |
63 | \r | |
64 | #endif\r |