summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Include/Protocol
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-11-18 05:04:23 +0000
committerniruiyu <niruiyu@Edk2>2015-11-18 05:04:23 +0000
commitc25be72e15b9f499551278b06b458c5bf072646f (patch)
tree828d393a619cdc4a0d0faf0243a479e6d7892d55 /MdeModulePkg/Include/Protocol
parent386cdfbecbbacb600ffc8e2ffa8c7af1b3855a61 (diff)
downloadedk2-c25be72e15b9f499551278b06b458c5bf072646f.tar.gz
edk2-c25be72e15b9f499551278b06b458c5bf072646f.tar.bz2
edk2-c25be72e15b9f499551278b06b458c5bf072646f.zip
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. 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/trunk/edk2@18866 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include/Protocol')
-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
);