]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/HiiFont.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / HiiFont.h
index 539d45ff8f7809eb29512fdfc3f37c0b9729f20a..596e1011b33557d23b2db854c8c2544deaea9120 100644 (file)
@@ -20,21 +20,21 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 typedef struct _EFI_HII_FONT_PROTOCOL EFI_HII_FONT_PROTOCOL;\r
 \r
-typedef VOID    *EFI_FONT_HANDLE;\r
+typedef VOID *EFI_FONT_HANDLE;\r
 \r
 ///\r
 /// EFI_HII_OUT_FLAGS.\r
 ///\r
-typedef UINT32  EFI_HII_OUT_FLAGS;\r
+typedef UINT32 EFI_HII_OUT_FLAGS;\r
 \r
-#define EFI_HII_OUT_FLAG_CLIP         0x00000001\r
-#define EFI_HII_OUT_FLAG_WRAP         0x00000002\r
-#define EFI_HII_OUT_FLAG_CLIP_CLEAN_Y 0x00000004\r
-#define EFI_HII_OUT_FLAG_CLIP_CLEAN_X 0x00000008\r
-#define EFI_HII_OUT_FLAG_TRANSPARENT  0x00000010\r
-#define EFI_HII_IGNORE_IF_NO_GLYPH    0x00000020\r
-#define EFI_HII_IGNORE_LINE_BREAK     0x00000040\r
-#define EFI_HII_DIRECT_TO_SCREEN      0x00000080\r
+#define EFI_HII_OUT_FLAG_CLIP          0x00000001\r
+#define EFI_HII_OUT_FLAG_WRAP          0x00000002\r
+#define EFI_HII_OUT_FLAG_CLIP_CLEAN_Y  0x00000004\r
+#define EFI_HII_OUT_FLAG_CLIP_CLEAN_X  0x00000008\r
+#define EFI_HII_OUT_FLAG_TRANSPARENT   0x00000010\r
+#define EFI_HII_IGNORE_IF_NO_GLYPH     0x00000020\r
+#define EFI_HII_IGNORE_LINE_BREAK      0x00000040\r
+#define EFI_HII_DIRECT_TO_SCREEN       0x00000080\r
 \r
 /**\r
   Definition of EFI_HII_ROW_INFO.\r
@@ -43,26 +43,26 @@ typedef struct _EFI_HII_ROW_INFO {
   ///\r
   /// The index of the first character in the string which is displayed on the line.\r
   ///\r
-  UINTN   StartIndex;\r
+  UINTN    StartIndex;\r
   ///\r
   /// The index of the last character in the string which is displayed on the line.\r
   /// If this is the same as StartIndex, then no characters are displayed.\r
   ///\r
-  UINTN   EndIndex;\r
-  UINTN   LineHeight; ///< The height of the line, in pixels.\r
-  UINTN   LineWidth;  ///< The width of the text on the line, in pixels.\r
+  UINTN    EndIndex;\r
+  UINTN    LineHeight; ///< The height of the line, in pixels.\r
+  UINTN    LineWidth;  ///< The width of the text on the line, in pixels.\r
 \r
   ///\r
   /// The font baseline offset in pixels from the bottom of the row, or 0 if none.\r
   ///\r
-  UINTN   BaselineOffset;\r
+  UINTN    BaselineOffset;\r
 } EFI_HII_ROW_INFO;\r
 \r
 ///\r
 /// Font info flag. All flags (FONT, SIZE, STYLE, and COLOR) are defined.\r
 /// They are defined as EFI_FONT_INFO_***\r
 ///\r
-typedef UINT32  EFI_FONT_INFO_MASK;\r
+typedef UINT32 EFI_FONT_INFO_MASK;\r
 \r
 #define EFI_FONT_INFO_SYS_FONT        0x00000001\r
 #define EFI_FONT_INFO_SYS_SIZE        0x00000002\r
@@ -79,9 +79,9 @@ typedef UINT32  EFI_FONT_INFO_MASK;
 // EFI_FONT_INFO\r
 //\r
 typedef struct {\r
-  EFI_HII_FONT_STYLE FontStyle;\r
-  UINT16             FontSize;      ///< character cell height in pixels\r
-  CHAR16             FontName[1];\r
+  EFI_HII_FONT_STYLE    FontStyle;\r
+  UINT16                FontSize;   ///< character cell height in pixels\r
+  CHAR16                FontName[1];\r
 } EFI_FONT_INFO;\r
 \r
 /**\r
@@ -97,10 +97,10 @@ typedef struct {
   font requested and the font available.\r
 **/\r
 typedef struct _EFI_FONT_DISPLAY_INFO {\r
-  EFI_GRAPHICS_OUTPUT_BLT_PIXEL ForegroundColor;\r
-  EFI_GRAPHICS_OUTPUT_BLT_PIXEL BackgroundColor;\r
-  EFI_FONT_INFO_MASK            FontInfoMask;\r
-  EFI_FONT_INFO                 FontInfo;\r
+  EFI_GRAPHICS_OUTPUT_BLT_PIXEL    ForegroundColor;\r
+  EFI_GRAPHICS_OUTPUT_BLT_PIXEL    BackgroundColor;\r
+  EFI_FONT_INFO_MASK               FontInfoMask;\r
+  EFI_FONT_INFO                    FontInfo;\r
 } EFI_FONT_DISPLAY_INFO;\r
 \r
 /**\r
@@ -220,9 +220,7 @@ EFI_STATUS
   OUT       EFI_HII_ROW_INFO      **RowInfoArray OPTIONAL,\r
   OUT       UINTN                 *RowInfoArraySize OPTIONAL,\r
   OUT       UINTN                 *ColumnInfoArray OPTIONAL\r
-);\r
-\r
-\r
+  );\r
 \r
 /**\r
 \r
@@ -358,8 +356,7 @@ EFI_STATUS
   OUT       EFI_HII_ROW_INFO      **RowInfoArray    OPTIONAL,\r
   OUT       UINTN                 *RowInfoArraySize OPTIONAL,\r
   OUT       UINTN                 *ColumnInfoArray  OPTIONAL\r
-);\r
-\r
+  );\r
 \r
 /**\r
 \r
@@ -403,7 +400,7 @@ EFI_STATUS
   IN CONST  EFI_FONT_DISPLAY_INFO *StringInfo,\r
   OUT       EFI_IMAGE_OUTPUT      **Blt,\r
   OUT       UINTN                 *Baseline OPTIONAL\r
-);\r
+  );\r
 \r
 /**\r
 \r
@@ -450,19 +447,18 @@ EFI_STATUS
   IN CONST  EFI_FONT_DISPLAY_INFO *StringInfoIn  OPTIONAL,\r
   OUT       EFI_FONT_DISPLAY_INFO **StringInfoOut,\r
   IN CONST  EFI_STRING            String OPTIONAL\r
-);\r
+  );\r
 \r
 ///\r
 /// The protocol provides the service to retrieve the font informations.\r
 ///\r
 struct _EFI_HII_FONT_PROTOCOL {\r
-  EFI_HII_STRING_TO_IMAGE     StringToImage;\r
-  EFI_HII_STRING_ID_TO_IMAGE  StringIdToImage;\r
-  EFI_HII_GET_GLYPH           GetGlyph;\r
-  EFI_HII_GET_FONT_INFO       GetFontInfo;\r
+  EFI_HII_STRING_TO_IMAGE       StringToImage;\r
+  EFI_HII_STRING_ID_TO_IMAGE    StringIdToImage;\r
+  EFI_HII_GET_GLYPH             GetGlyph;\r
+  EFI_HII_GET_FONT_INFO         GetFontInfo;\r
 };\r
 \r
-extern EFI_GUID gEfiHiiFontProtocolGuid;\r
-\r
+extern EFI_GUID  gEfiHiiFontProtocolGuid;\r
 \r
 #endif\r