9#ifndef __FORM_DISPLAY_H__
10#define __FORM_DISPLAY_H__
31extern UINT8 DisplayEngineStrings[];
36extern UINT16 gDirection;
38extern CHAR16 *gConfirmOptYes;
39extern CHAR16 *gConfirmOptNo;
40extern CHAR16 *gConfirmOptOk;
41extern CHAR16 *gConfirmOptCancel;
42extern CHAR16 *gYesOption;
43extern CHAR16 *gNoOption;
44extern CHAR16 *gOkOption;
45extern CHAR16 *gCancelOption;
46extern CHAR16 *gErrorPopup;
47extern CHAR16 *gWarningPopup;
48extern CHAR16 *gInfoPopup;
53extern CHAR16 *gSaveFailed;
54extern CHAR16 *gPromptForData;
55extern CHAR16 *gPromptForPassword;
56extern CHAR16 *gPromptForNewPassword;
57extern CHAR16 *gConfirmPassword;
58extern CHAR16 *gConfirmError;
59extern CHAR16 *gPassowordInvalid;
60extern CHAR16 *gPressEnter;
61extern CHAR16 *gEmptyString;
62extern CHAR16 *gMiniString;
63extern CHAR16 *gOptionMismatch;
64extern CHAR16 *gFormSuppress;
65extern CHAR16 *gProtocolNotFound;
66extern CHAR16 *gPasswordUnsupported;
68extern CHAR16 gPromptBlockWidth;
69extern CHAR16 gOptionBlockWidth;
70extern CHAR16 gHelpBlockWidth;
71extern CHAR16 *mUnknownString;
72extern BOOLEAN gMisMatch;
78#define LEFT_SKIPPED_COLUMNS 3
79#define SCROLL_ARROW_HEIGHT 1
80#define POPUP_PAD_SPACE_COUNT 5
81#define POPUP_FRAME_WIDTH 2
83#define UPPER_LOWER_CASE_OFFSET 0x20
88#define LEFT_ONEOF_DELIMITER L'<'
89#define RIGHT_ONEOF_DELIMITER L'>'
91#define LEFT_NUMERIC_DELIMITER L'['
92#define RIGHT_NUMERIC_DELIMITER L']'
94#define LEFT_CHECKBOX_DELIMITER L'['
95#define RIGHT_CHECKBOX_DELIMITER L']'
100#define TIME_SEPARATOR L':'
101#define DATE_SEPARATOR L'/'
103#define SUBTITLE_INDENT 2
113#define NV_UPDATE_REQUIRED 2
117#define ONE_SECOND 10000000
124#define MAX_NUMERIC_INPUT_WIDTH 24
126#define EFI_HII_EXPRESSION_INCONSISTENT_IF 0
127#define EFI_HII_EXPRESSION_NO_SUBMIT_IF 1
128#define EFI_HII_EXPRESSION_GRAY_OUT_IF 2
129#define EFI_HII_EXPRESSION_SUPPRESS_IF 3
130#define EFI_HII_EXPRESSION_DISABLE_IF 4
135#define CHAR_SPACE 0x0020
137#define FORM_DISPLAY_DRIVER_SIGNATURE SIGNATURE_32 ('F', 'D', 'D', 'V')
163} UI_SCREEN_OPERATION;
197 UI_SCREEN_OPERATION ScreenOperation;
201 UI_SCREEN_OPERATION ScreenOperation;
202 UI_CONTROL_FLAG ControlFlag;
219 EFI_QUESTION_ID HLTQuestionId;
228 EFI_QUESTION_ID TOSQuestionId;
241#define UI_MENU_OPTION_SIGNATURE SIGNATURE_32 ('u', 'i', 'm', 'm')
275 BOOLEAN NestInStatement;
278#define MENU_OPTION_FROM_LINK(a) CR (a, UI_MENU_OPTION, Link, UI_MENU_OPTION_SIGNATURE)
280#define USER_SELECTABLE_OPTION_OK_WIDTH StrLen (gOkOption)
281#define USER_SELECTABLE_OPTION_OK_CAL_WIDTH (StrLen (gOkOption) + StrLen (gCancelOption))
282#define USER_SELECTABLE_OPTION_YES_NO_WIDTH (StrLen (gYesOption) + StrLen (gNoOption))
283#define USER_SELECTABLE_OPTION_YES_NO_CAL_WIDTH (StrLen (gYesOption) + StrLen (gNoOption) + StrLen (gCancelOption))
285#define USER_SELECTABLE_OPTION_SKIP_WIDTH 2
296#define POPUP_BORDER 1
297#define POPUP_EMPTY_LINE_HEIGHT 1
298#define POPUP_STYLE_STRING_HEIGHT 1
299#define POPUP_USER_SELECTABLE_OPTION_HEIGHT 1
301#define POPUP_HEADER_HEIGHT (POPUP_BORDER + POPUP_STYLE_STRING_HEIGHT + POPUP_EMPTY_LINE_HEIGHT)
302#define POPUP_FOOTER_HEIGHT (POPUP_EMPTY_LINE_HEIGHT + POPUP_USER_SELECTABLE_OPTION_HEIGHT + POPUP_BORDER)
304#define USER_SELECTABLE_OPTION_SIGNATURE SIGNATURE_32 ('u', 's', 's', 'o')
309 EFI_HII_POPUP_SELECTION OptionType;
310 CHAR16 *OptionString;
332#define SELECTABLE_OPTION_FROM_LINK(a) CR (a, USER_SELECTABLE_OPTION, Link, USER_SELECTABLE_OPTION_SIGNATURE)
348 IN OUT CHAR16 *FormattedNumber,
463 IN CHAR16 *InputString,
465 IN OUT UINT16 *GlyphWidth,
467 OUT CHAR16 **OutputString
481 IN EFI_STRING_ID Token,
535 IN OUT CHAR16 *StringPtr
593 IN CHAR16 *StringPtr,
594 OUT CHAR16 **FormattedString,
595 OUT UINT16 *EachLineWidth,
615 OUT CHAR16 **OptionString,
616 IN BOOLEAN SkipErrorValue
731 IN EFI_HII_POPUP_STYLE PopupStyle,
732 IN EFI_HII_POPUP_TYPE PopupType,
734 IN EFI_STRING_ID Message,
735 OUT EFI_HII_POPUP_SELECTION *UserSelection OPTIONAL
UINT8 ScanCode
follows value defined in Scan Code Set1