]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
Update the conflicted function name with UefiLib from CreatePopUp to CreateMultiStrin...
[mirror_edk2.git] / MdeModulePkg / Universal / SetupBrowserDxe / Ui.h
index 3244cd1dbcd7eb10ef21e3581fcdbc2086dccf03..2c144486ddbe2c257cdd06817eedde3aff741caa 100644 (file)
@@ -26,6 +26,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #define SUBTITLE_INDENT  2\r
 \r
+\r
+//\r
+// It take 23 characters including the NULL to print a 64 bits number with "[" and "]".\r
+// pow(2, 64) = [18446744073709551616]\r
+//\r
+#define MAX_NUMERIC_INPUT_WIDTH 23\r
+\r
 typedef enum {\r
   UiNoOperation,\r
   UiDefault,\r
@@ -104,8 +111,8 @@ typedef struct {
   FORM_BROWSER_STATEMENT  *Statement;\r
 } UI_MENU_SELECTION;\r
 \r
-#define UI_MENU_OPTION_SIGNATURE  EFI_SIGNATURE_32 ('u', 'i', 'm', 'm')\r
-#define UI_MENU_LIST_SIGNATURE    EFI_SIGNATURE_32 ('u', 'i', 'm', 'l')\r
+#define UI_MENU_OPTION_SIGNATURE  SIGNATURE_32 ('u', 'i', 'm', 'm')\r
+#define UI_MENU_LIST_SIGNATURE    SIGNATURE_32 ('u', 'i', 'm', 'l')\r
 \r
 typedef struct {\r
   UINTN                   Signature;\r
@@ -350,13 +357,13 @@ UiWaitForSingleEvent (
   Draw a pop up windows based on the dimension, number of lines and\r
   strings specified.\r
 \r
-  @param RequestedWidth  The width of the pop-up.\r
+  @param ScreenWidth     The width of the pop-up.\r
   @param NumberOfLines   The number of lines.\r
   @param ...             A series of text strings that displayed in the pop-up.\r
 \r
 **/\r
 VOID\r
-CreatePopUp (\r
+CreateMultiStringPopUp (\r
   IN  UINTN                       ScreenWidth,\r
   IN  UINTN                       NumberOfLines,\r
   ...\r
@@ -734,6 +741,8 @@ CompareHiiValue (
 /**\r
   Evaluate the result of a HII expression\r
 \r
+  If Expression is NULL, then ASSERT.\r
+\r
   @param  FormSet                FormSet associated with this expression.\r
   @param  Form                   Form associated with this expression.\r
   @param  Expression             Expression to be evaluated.\r