/** @file\r
Private structure, MACRO and function definitions for User Interface related functionalities.\r
\r
-Copyright (c) 2004 - 2010, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
#define UI_ACTION_REFRESH_FORMSET 2\r
#define UI_ACTION_EXIT 3\r
\r
+typedef struct _UI_MENU_LIST UI_MENU_LIST;\r
+\r
typedef struct {\r
EFI_HII_HANDLE Handle;\r
\r
// Whether the Form is editable\r
//\r
BOOLEAN FormEditable;\r
+\r
+ UI_MENU_LIST *CurrentMenu;\r
} UI_MENU_SELECTION;\r
\r
#define UI_MENU_OPTION_SIGNATURE SIGNATURE_32 ('u', 'i', 'm', 'm')\r
\r
#define MENU_OPTION_FROM_LINK(a) CR (a, UI_MENU_OPTION, Link, UI_MENU_OPTION_SIGNATURE)\r
\r
-typedef struct _UI_MENU_LIST UI_MENU_LIST;\r
-\r
struct _UI_MENU_LIST {\r
UINTN Signature;\r
LIST_ENTRY Link;\r
UINTN CurrentColumn;\r
UINTN CurrentRow;\r
UINTN CurrentAttribute;\r
+ EFI_EVENT Event;\r
};\r
\r
typedef struct {\r
\r
**/\r
VOID\r
+EFIAPI\r
CreateMultiStringPopUp (\r
IN UINTN ScreenWidth,\r
IN UINTN NumberOfLines,\r
/**\r
Update status bar on the bottom of menu.\r
\r
+ @param Selection Current selection info.\r
@param MessageType The type of message to be shown.\r
@param Flags The flags in Question header.\r
@param State Set or clear.\r
**/\r
VOID\r
UpdateStatusBar (\r
+ IN UI_MENU_SELECTION *Selection,\r
IN UINTN MessageType,\r
IN UINT8 Flags,\r
IN BOOLEAN State\r