summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-11-18 08:56:06 +0000
committervanjeff <vanjeff@Edk2>2015-11-18 08:56:06 +0000
commit9688300b28a17aea7f392f9d0d31abdda2cd0998 (patch)
tree7cf97d181fe13050a405de21976f0e1d531704d5 /MdeModulePkg/Include
parentd6ca0be1685b76bbe5d0ee507c6250f00bf435d5 (diff)
downloadedk2-platforms-9688300b28a17aea7f392f9d0d31abdda2cd0998.tar.xz
MdeModulePkg: Change PlatformLogo.GetImage use INTN for minus value
The parameter name is also changed from Coordinate* to Offset* to reflect that it's the offset to the location specified by Attribute. For example, when the Attribute is Center, OffsetX and OffsetY are used to specify the offset to the Center. OffsetX = 100 means 100 pixels right to the Center. (Sync patch r18866 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18885 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Protocol/PlatformLogo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Include/Protocol/PlatformLogo.h b/MdeModulePkg/Include/Protocol/PlatformLogo.h
index 9ac87f1748..8c1d3cad40 100644
--- a/MdeModulePkg/Include/Protocol/PlatformLogo.h
+++ b/MdeModulePkg/Include/Protocol/PlatformLogo.h
@@ -55,8 +55,8 @@ typedef enum {
supports the .bmp file format.
@param ImageSize The size of the image returned.
@param Attribute The display attributes of the image returned.
- @param CoordinateX The X coordinate of the image.
- @param CoordinateY The Y coordinate of the image.
+ @param OffsetX The X offset of the image regarding the Attribute.
+ @param OffsetY The Y offset of the image regarding the Attribute.
@retval EFI_SUCCESS The image was fetched successfully.
@retval EFI_NOT_FOUND The specified image could not be found.
@@ -71,8 +71,8 @@ EFI_STATUS
OUT UINT8 **ImageData,
OUT UINTN *ImageSize,
OUT EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE *Attribute,
- OUT UINTN *CoordinateX,
- OUT UINTN *CoordinateY
+ OUT INTN *OffsetX,
+ OUT INTN *OffsetY
);