Revision: 18885
          http://sourceforge.net/p/edk2/code/18885
Author:   vanjeff
Date:     2015-11-18 08:56:06 +0000 (Wed, 18 Nov 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Feng Tian <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18866

Modified Paths:
--------------
    branches/UDK2015/MdeModulePkg/Include/Protocol/PlatformLogo.h

Modified: branches/UDK2015/MdeModulePkg/Include/Protocol/PlatformLogo.h
===================================================================
--- branches/UDK2015/MdeModulePkg/Include/Protocol/PlatformLogo.h       
2015-11-18 08:55:06 UTC (rev 18884)
+++ branches/UDK2015/MdeModulePkg/Include/Protocol/PlatformLogo.h       
2015-11-18 08:56:06 UTC (rev 18885)
@@ -55,8 +55,8 @@
                            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 @@
      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
 );
 
 


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to