summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-11-18 05:05:22 +0000
committerniruiyu <niruiyu@Edk2>2015-11-18 05:05:22 +0000
commitb9335cf562f11a096efea6c98d8612f22929eeb9 (patch)
tree8b3f3c50c51eb3684d143d87764fdab645c0ee1a /MdeModulePkg/Include
parentc25be72e15b9f499551278b06b458c5bf072646f (diff)
downloadedk2-platforms-b9335cf562f11a096efea6c98d8612f22929eeb9.tar.xz
MdeModulePkg: Change BootLogoEnableLogo 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@18867 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Library/BootLogoLib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Include/Library/BootLogoLib.h b/MdeModulePkg/Include/Library/BootLogoLib.h
index 3637405371..b39d61b7c3 100644
--- a/MdeModulePkg/Include/Library/BootLogoLib.h
+++ b/MdeModulePkg/Include/Library/BootLogoLib.h
@@ -24,8 +24,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param[in] ImageFormat Format of the image file.
@param[in] LogoFile The file name of logo to display.
@param[in] Attribute The display attributes of the image returned.
- @param[in] CoordinateX The X coordinate of the image.
- @param[in] CoordinateY The Y coordinate of the image.
+ @param[in] OffsetX The X offset of the image regarding the Attribute.
+ @param[in] OffsetY The Y offset of the image regarding the Attribute.
@retval EFI_SUCCESS Logo was displayed.
@retval EFI_UNSUPPORTED Logo was not found or cannot be displayed.
@@ -36,8 +36,8 @@ BootLogoEnableLogo (
IN IMAGE_FORMAT ImageFormat,
IN EFI_GUID *Logo,
IN EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE Attribute,
- IN UINTN CoordinateX,
- IN UINTN CoordinateY
+ IN INTN OffsetX,
+ IN INTN OffsetY
);