]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Change PlatformLogo.GetImage use INTN for minus value
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 18 Nov 2015 05:04:23 +0000 (05:04 +0000)
committerniruiyu <niruiyu@Edk2>
Wed, 18 Nov 2015 05:04:23 +0000 (05:04 +0000)
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

MdeModulePkg/Include/Protocol/PlatformLogo.h

index 9ac87f1748d36ff7c798d70042e4835faa5312fc..8c1d3cad40f7885a41cd195ad232ed1774869dea 100644 (file)
@@ -55,8 +55,8 @@ typedef enum {
                            supports the .bmp file format. \r
   @param ImageSize         The size of the image returned.\r
   @param Attribute         The display attributes of the image returned.\r
-  @param CoordinateX       The X coordinate of the image.\r
-  @param CoordinateY       The Y coordinate of the image.\r
+  @param OffsetX           The X offset of the image regarding the Attribute.\r
+  @param OffsetY           The Y offset of the image regarding the Attribute.\r
 \r
   @retval EFI_SUCCESS      The image was fetched successfully.\r
   @retval EFI_NOT_FOUND    The specified image could not be found.\r
@@ -71,8 +71,8 @@ EFI_STATUS
      OUT UINT8                                 **ImageData,\r
      OUT UINTN                                 *ImageSize,\r
      OUT EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE *Attribute,\r
-     OUT UINTN                                 *CoordinateX,\r
-     OUT UINTN                                 *CoordinateY\r
+     OUT INTN                                  *OffsetX,\r
+     OUT INTN                                  *OffsetY\r
 );\r
 \r
 \r