2 This library is only intended to be used by PlatformBootManagerLib
3 to show progress bar and LOGO.
5 Copyright (c) 2011 - 2018, 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>
20 #include <Protocol/GraphicsOutput.h>
23 Show LOGO returned from Edkii Platform Logo protocol on all consoles.
33 Use SystemTable ConOut to turn on video based Simple Text Out consoles. The
34 Simple Text Out screens will now be synced up with all non-video output devices.
36 @retval EFI_SUCCESS UGA devices are back in text mode and synced up.
47 Update progress bar with title above it. It only works in Graphics mode.
49 @param TitleForeground Foreground color for Title.
50 @param TitleBackground Background color for Title.
51 @param Title Title above progress bar.
52 @param ProgressColor Progress bar color.
53 @param Progress Progress (0-100)
54 @param PreviousValue The previous value of the progress.
56 @retval EFI_STATUS Successly update the progress bar
61 BootLogoUpdateProgress (
62 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground
,
63 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground
,
65 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor
,
67 IN UINTN PreviousValue