]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Fonts.c
Bug fixes for FrameworkHiiToUefiHiiThunk;
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiToUefiHiiThunk / Fonts.c
1 /**@file
2
3 This file contains the Glyph related function.
4
5 Copyright (c) 2006 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
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.
13
14 **/
15
16
17 #include "HiiDatabase.h"
18
19
20 UINT8 mGlyphBuffer[EFI_GLYPH_WIDTH * 2 * EFI_GLYPH_HEIGHT];
21
22 /**
23 This function is only called by Graphics Console module and GraphicsLib.
24 EDK II provides a UEFI Graphics Console module. ECP provides a GraphicsLib
25 complying to UEFI HII.
26
27 This function will ASSERT and return EFI_UNSUPPORTED.
28
29 @param This N.A.
30 @param Source N.A.
31 @param Index N.A.
32 @param GlyphBuffer N.A.
33 @param BitWidth N.A.
34 @param InternalStatus N.A.
35
36 @return EFI_UNSUPPORTED N.A.
37
38 **/
39 EFI_STATUS
40 EFIAPI
41 HiiGetGlyph (
42 IN EFI_HII_PROTOCOL *This,
43 IN CHAR16 *Source,
44 IN OUT UINT16 *Index,
45 OUT UINT8 **GlyphBuffer,
46 OUT UINT16 *BitWidth,
47 IN OUT UINT32 *InternalStatus
48 )
49 {
50 ASSERT (FALSE);
51 return EFI_UNSUPPORTED;
52 }
53
54 /**
55 This function is only called by Graphics Console module and GraphicsLib.
56 EDK II provides a UEFI Graphics Console module. ECP provides a GraphicsLib
57 complying to UEFI HII.
58
59 This function will ASSERT and return EFI_UNSUPPORTED.
60
61 @param This N.A.
62 @param GlyphBuffer N.A.
63 @param Foreground N.A.
64 @param Background N.A.
65 @param Count N.A.
66 @param Width N.A.
67 @param Height N.A.
68 @param BltBuffer N.A.
69
70 @return EFI_UNSUPPORTED N.A.
71
72 **/
73 EFI_STATUS
74 EFIAPI
75 HiiGlyphToBlt (
76 IN EFI_HII_PROTOCOL *This,
77 IN UINT8 *GlyphBuffer,
78 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL Foreground,
79 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL Background,
80 IN UINTN Count,
81 IN UINTN Width,
82 IN UINTN Height,
83 IN OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer
84 )
85 {
86 ASSERT (FALSE);
87 return EFI_UNSUPPORTED;
88 }