Skip to content

Commit 2c50d9f

Browse files
Add files via upload
1 parent fb91ba7 commit 2c50d9f

2 files changed

Lines changed: 2 additions & 42 deletions

File tree

installer/UI.h

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -149,32 +149,3 @@ 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

installer/menu_opentuna.c

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
1-
#define SYS_UI_MSG_OPENTUNA_PROMPT_MODE 21
2-
#define SYS_UI_MSG_OPENTUNA_INSTALLED 22
3-
#define SYS_UI_MSG_OPENTUNA_FAILED 23
4-
#define SYS_UI_MSG_OPENTUNA_DELETE_CFM 24
5-
61

72
#include <stdio.h>
83
#include <string.h>
94
#include <fileXio_rpc.h>
10-
#include <libmc.h>
5+
116

127
#include "graphics.h"
138
#include "pad.h"
149
#include "UI.h"
1510
#include <mcman.h>
1611
#include <libmc.h>
1712

18-
extern char *bootDevicePrefix;
19-
2013
typedef struct {
2114
short label;
2215
short id;
2316
} Item;
2417

2518
typedef struct {
19+
const char *title;
2620
Item *items;
2721
short item_count;
2822
short selected;
29-
short page;
30-
short max_items;
31-
short visible;
32-
short flags;
33-
short title;
3423
void *hints;
3524
} ItemList;
3625
#include "main.h"

0 commit comments

Comments
 (0)