2 This library is only intended to be used by PlatformBootManagerLib
3 to show progress bar and LOGO.
5 Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials are licensed and made available under
7 the terms and conditions of the BSD License that accompanies this distribution.
8 The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef _BOOT_LOGO_LIB_H_
17 #define _BOOT_LOGO_LIB_H_
19 #include <Protocol/PlatformLogo.h>
22 Show LOGO on all consoles.
24 @param[in] ImageFormat Format of the image file.
25 @param[in] LogoFile The file name of logo to display.
26 @param[in] Attribute The display attributes of the image returned.
27 @param[in] OffsetX The X offset of the image regarding the Attribute.
28 @param[in] OffsetY The Y offset of the image regarding the Attribute.
30 @retval EFI_SUCCESS Logo was displayed.
31 @retval EFI_UNSUPPORTED Logo was not found or cannot be displayed.
36 IN IMAGE_FORMAT ImageFormat
,
38 IN EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE Attribute
,
45 Use SystemTable ConOut to turn on video based Simple Text Out consoles. The
46 Simple Text Out screens will now be synced up with all non-video output devices.
48 @retval EFI_SUCCESS UGA devices are back in text mode and synced up.
59 Update progress bar with title above it. It only works in Graphics mode.
61 @param TitleForeground Foreground color for Title.
62 @param TitleBackground Background color for Title.
63 @param Title Title above progress bar.
64 @param ProgressColor Progress bar color.
65 @param Progress Progress (0-100)
66 @param PreviousValue The previous value of the progress.
68 @retval EFI_STATUS Successly update the progress bar
73 BootLogoUpdateProgress (
74 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground
,
75 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground
,
77 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor
,
79 IN UINTN PreviousValue