Skip to content

Commit 2723c95

Browse files
Add files via upload
1 parent f7be5d8 commit 2723c95

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

installer/UI.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,32 @@ int UIExecMenu(struct UIMenu *FirstMenu, short int SelectedItem, struct UIMenu *
149149

150150

151151
#define SYS_UI_LBL_BACK SYS_UI_LBL_RESERVED_6
152+
153+
154+
// Label index mappings based on DefaultLanguageLabelStringTable[]
155+
#define SYS_UI_LBL_YES 0
156+
#define SYS_UI_LBL_NO 1
157+
#define SYS_UI_LBL_OK 2
158+
#define SYS_UI_LBL_CANCEL 3
159+
#define SYS_UI_LBL_BACK 4
160+
#define SYS_UI_LBL_INSTALL 5
161+
#define SYS_UI_LBL_UINSTALL 6
162+
#define SYS_UI_LBL_FORMAT_MC 7
163+
#define SYS_UI_LBL_REST_MC 8
164+
#define SYS_UI_LBL_DUMP_MC 9
165+
#define SYS_UI_LBL_CONFIGURE 10
166+
#define SYS_UI_LBL_OPENTUNA_SLIM 11
167+
#define SYS_UI_LBL_OPENTUNA_170 12
168+
#define SYS_UI_LBL_OPENTUNA_110_160 13
169+
#define SYS_UI_LBL_AUTO 14
170+
#define SYS_UI_LBL_MANUAL 15
171+
#define SYS_UI_LBL_MENU_BACK 16
172+
173+
// Additional labels referenced in UI.c that map to general values
174+
#define SYS_UI_LBL_WARNING SYS_UI_LBL_NO
175+
#define SYS_UI_LBL_ERROR SYS_UI_LBL_NO
176+
#define SYS_UI_LBL_INFO SYS_UI_LBL_NO
177+
#define SYS_UI_LBL_CONFIRM SYS_UI_LBL_YES
178+
#define SYS_UI_LBL_WAIT SYS_UI_LBL_NO
179+
#define SYS_UI_LBL_ENABLED SYS_UI_LBL_YES
180+
#define SYS_UI_LBL_DISABLED SYS_UI_LBL_NO

0 commit comments

Comments
 (0)