summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Ui.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.c132
1 files changed, 88 insertions, 44 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
index 06479c7409..064a8d9e33 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
@@ -33,53 +33,97 @@ MENU_REFRESH_ENTRY *gMenuRefreshHead;
// Search table for UiDisplayMenu()
//
SCAN_CODE_TO_SCREEN_OPERATION gScanCodeToOperation[] = {
- SCAN_UP,
- UiUp,
- SCAN_DOWN,
- UiDown,
- SCAN_PAGE_UP,
- UiPageUp,
- SCAN_PAGE_DOWN,
- UiPageDown,
- SCAN_ESC,
- UiReset,
- SCAN_F2,
- UiPrevious,
- SCAN_LEFT,
- UiLeft,
- SCAN_RIGHT,
- UiRight,
- SCAN_F9,
- UiDefault,
- SCAN_F10,
- UiSave
+ {
+ SCAN_UP,
+ UiUp,
+ },
+ {
+ SCAN_DOWN,
+ UiDown,
+ },
+ {
+ SCAN_PAGE_UP,
+ UiPageUp,
+ },
+ {
+ SCAN_PAGE_DOWN,
+ UiPageDown,
+ },
+ {
+ SCAN_ESC,
+ UiReset,
+ },
+ {
+ SCAN_F2,
+ UiPrevious,
+ },
+ {
+ SCAN_LEFT,
+ UiLeft,
+ },
+ {
+ SCAN_RIGHT,
+ UiRight,
+ },
+ {
+ SCAN_F9,
+ UiDefault,
+ },
+ {
+ SCAN_F10,
+ UiSave
+ }
};
SCREEN_OPERATION_T0_CONTROL_FLAG gScreenOperationToControlFlag[] = {
- UiNoOperation,
- CfUiNoOperation,
- UiDefault,
- CfUiDefault,
- UiSelect,
- CfUiSelect,
- UiUp,
- CfUiUp,
- UiDown,
- CfUiDown,
- UiLeft,
- CfUiLeft,
- UiRight,
- CfUiRight,
- UiReset,
- CfUiReset,
- UiSave,
- CfUiSave,
- UiPrevious,
- CfUiPrevious,
- UiPageUp,
- CfUiPageUp,
- UiPageDown,
- CfUiPageDown
+ {
+ UiNoOperation,
+ CfUiNoOperation,
+ },
+ {
+ UiDefault,
+ CfUiDefault,
+ },
+ {
+ UiSelect,
+ CfUiSelect,
+ },
+ {
+ UiUp,
+ CfUiUp,
+ },
+ {
+ UiDown,
+ CfUiDown,
+ },
+ {
+ UiLeft,
+ CfUiLeft,
+ },
+ {
+ UiRight,
+ CfUiRight,
+ },
+ {
+ UiReset,
+ CfUiReset,
+ },
+ {
+ UiSave,
+ CfUiSave,
+ },
+ {
+ UiPrevious,
+ CfUiPrevious,
+ },
+ {
+ UiPageUp,
+ CfUiPageUp,
+ },
+ {
+ UiPageDown,
+ CfUiPageDown
+ }
};