SilverBull: apply a delay to CDVDMAN functions (initially for Shadow Heart 2)
[open-ps2-loader.git] / src / dialogs.c
blob0a89562df85ed92e281e121355ebff8235f3e54c
1 #include "include/dialogs.h"
2 #include "include/usbld.h"
3 #include "include/dia.h"
4 #include "include/lang.h"
5 #include "include/gui.h"
7 #include <stdio.h>
9 // Dialog definition for IP configuration
10 struct UIItem diaIPConfig[] = {
11 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_IPCONFIG}}},
13 {UI_SPLITTER},
15 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {"- PS2 -", -1}}}, {UI_BREAK},
17 // ---- IP address ----
18 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_IP}}}, {UI_SPACER},
20 {UI_INT, 2, 1, -1, 0, 0, {.intvalue = {192, 192, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
21 {UI_INT, 3, 1, -1, 0, 0, {.intvalue = {168, 168, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
22 {UI_INT, 4, 1, -1, 0, 0, {.intvalue = {0, 0, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
23 {UI_INT, 5, 1, -1, 0, 0, {.intvalue = {10, 10, 0, 255}}}, {UI_BREAK},
25 // ---- Netmask ----
26 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_MASK}}}, {UI_SPACER},
28 {UI_INT, 6, 1, -1, 0, 0, {.intvalue = {255, 255, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
29 {UI_INT, 7, 1, -1, 0, 0, {.intvalue = {255, 255, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
30 {UI_INT, 8, 1, -1, 0, 0, {.intvalue = {255, 255, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
31 {UI_INT, 9, 1, -1, 0, 0, {.intvalue = {0, 0, 0, 255}}}, {UI_BREAK},
33 // ---- Gateway ----
34 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_GATEWAY}}}, {UI_SPACER},
36 {UI_INT, 10, 1, -1, 0, 0, {.intvalue = {192, 192, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
37 {UI_INT, 11, 1, -1, 0, 0, {.intvalue = {168, 168, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
38 {UI_INT, 12, 1, -1, 0, 0, {.intvalue = {0, 0, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
39 {UI_INT, 13, 1, -1, 0, 0, {.intvalue = {1, 1, 0, 255}}},
41 {UI_SPLITTER},
43 // ---- PC ----
44 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {"- PC -", -1}}}, {UI_BREAK},
46 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_IP}}}, {UI_SPACER},
48 {UI_INT, 14, 1, -1, 0, 0, {.intvalue = {192, 192, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
49 {UI_INT, 15, 1, -1, 0, 0, {.intvalue = {168, 168, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
50 {UI_INT, 16, 1, -1, 0, 0, {.intvalue = {0, 0, 0, 255}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {".", -1}}},
51 {UI_INT, 17, 1, -1, 0, 0, {.intvalue = {1, 1, 0, 255}}}, {UI_BREAK},
53 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_PORT}}}, {UI_SPACER}, {UI_INT, 18, 1, -1, 0, 0, {.intvalue = {445, 445, 0, 1024}}}, {UI_BREAK},
55 {UI_BREAK},
57 // ---- PC share name ----
58 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_SHARE}}}, {UI_SPACER}, {UI_STRING, 19, 1, _STR_HINT_SHARENAME, 0, 0, {.stringvalue = {"PS2SMB", "PS2SMB", NULL}}}, {UI_BREAK},
59 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_USER}}}, {UI_SPACER}, {UI_STRING, 20, 1, -1, 0, 0, {.stringvalue = {"GUEST", "GUEST", NULL}}}, {UI_BREAK},
60 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_PASSWORD}}}, {UI_SPACER}, {UI_PASSWORD, 21, 1, _STR_HINT_GUEST, 0, 0, {.stringvalue = {"", "", NULL}}},
62 {UI_SPLITTER},
64 // ---- Ok ----
65 {UI_BUTTON, NETCFG_OK, 1, -1, 0, 0, {.label = {NULL, -1}}},
67 {UI_SPACER}, // UIItem #64
69 {UI_BUTTON, NETCFG_RECONNECT, 1, -1, 0, 0, {.label = {NULL, _STR_RECONNECT}}},
71 // end of dialog
72 {UI_TERMINATOR}
75 struct UIItem diaCompatConfig[] = {
76 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_COMPAT_SETTINGS}}}, {UI_SPACER},
77 {UI_LABEL, COMPAT_GAME, 1, -1, 0, 0, {.label = {"<Game Label>", -1}}},
79 {UI_SPLITTER},
81 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE1}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE , 1, _STR_HINT_MODE1, -10, 0, {.intvalue = {0, 0}}}, {UI_SPACER},
82 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE2}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE + 1, 1, _STR_HINT_MODE2, -10, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
83 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE3}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE + 2, 1, _STR_HINT_MODE3, -10, 0, {.intvalue = {0, 0}}}, {UI_SPACER},
84 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE4}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE + 3, 1, _STR_HINT_MODE4, -10, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
85 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE5}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE + 4, 1, _STR_HINT_MODE5, -10, 0, {.intvalue = {0, 0}}}, {UI_SPACER},
86 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE6}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE + 5, 1, _STR_HINT_MODE6, -10, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
87 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE7}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE + 6, 1, _STR_HINT_MODE7, -10, 0, {.intvalue = {0, 0}}}, {UI_SPACER},
88 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_MODE8}}}, {UI_SPACER}, {UI_BOOL, COMPAT_MODE_BASE + 7, 1, _STR_HINT_MODE8, -10, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
90 {UI_BREAK},
92 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_CDVDMAN_TIMER}}}, {UI_SPACER}, {UI_INT, COMPAT_CDVDMAN_TIMER, 1, _STR_HINT_CDVDMAN_TIMER, 0, 0, {.intvalue = {0, 0, 0, 255}}}, {UI_BREAK},
93 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_DMA_MODE}}}, {UI_SPACER}, {UI_ENUM, COMPAT_DMA, 1, -1, 0, 0, {.intvalue = {0, 0}}},
95 {UI_SPLITTER},
97 #ifdef VMC
98 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_VMC_SLOT1}}}, {UI_SPACER},
99 #ifndef __CHILDPROOF
100 {UI_BUTTON, COMPAT_VMC1_DEFINE, 1, -1, 0, 0, {.label = {NULL, -1}}}, {UI_SPACER}, {UI_BUTTON, COMPAT_VMC1_ACTION, 1, -1, 0, 0, {.label = {NULL, -1}}}, {UI_BREAK},
101 #else
102 {UI_BUTTON, COMPAT_VMC1_DEFINE, 0, -1, 0, 0, {.label = {NULL, -1}}}, {UI_BREAK},
103 #endif
104 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_VMC_SLOT2}}}, {UI_SPACER},
105 #ifndef __CHILDPROOF
106 {UI_BUTTON, COMPAT_VMC2_DEFINE, 1, -1, 0, 0, {.label = {NULL, -1}}}, {UI_SPACER}, {UI_BUTTON, COMPAT_VMC2_ACTION, 1, -1, 0, 0, {.label = {NULL, -1}}},
107 #else
108 {UI_BUTTON, COMPAT_VMC2_DEFINE, 0, -1, 0, 0, {.label = {NULL, -1}}},
109 #endif
111 {UI_SPLITTER},
112 #endif
114 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_GAME_ID}}}, {UI_SPACER}, {UI_STRING, COMPAT_GAMEID, 1, -1, 0, 0, {.stringvalue = {"", "", NULL}}},
115 {UI_SPACER}, {UI_BUTTON, COMPAT_LOADFROMDISC, 1, -1, 0, 0, {.label = {NULL, _STR_LOAD_FROM_DISC}}},
117 {UI_SPLITTER},
119 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_ALTSTARTUP}}}, {UI_SPACER}, {UI_STRING, COMPAT_ALTSTARTUP, 1, -1, 0, 0, {.stringvalue = {"", "", &guiAltStartupNameHandler}}},
121 {UI_SPLITTER},
123 #ifndef __CHILDPROOF
124 {UI_BUTTON, COMPAT_SAVE, 1, -1, 0, 0, {.label = {NULL, _STR_SAVE_CHANGES}}}, {UI_SPACER},
125 #endif
126 {UI_BUTTON, COMPAT_TEST, 1, -1, 0, 0, {.label = {NULL, _STR_TEST}}}, {UI_BREAK},
128 {UI_BREAK},
130 #ifndef __CHILDPROOF
131 {UI_BUTTON, COMPAT_REMOVE, 1, -1, 0, 0, {.label = {NULL, _STR_REMOVE_ALL_SETTINGS}}},
132 #endif
133 // end of dialog
134 {UI_TERMINATOR}
137 struct UIItem diaConfig[] = {
138 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_SETTINGS}}},
139 {UI_SPLITTER},
141 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_DEBUG}}}, {UI_SPACER}, {UI_BOOL, CFG_DEBUG, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
142 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_EXITTO}}}, {UI_SPACER}, {UI_STRING, CFG_EXITTO, 1, _STR_HINT_EXITPATH, 0, 0, {.stringvalue = {"", "", NULL}}}, {UI_BREAK},
143 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_DANDROP}}}, {UI_SPACER}, {UI_BOOL, CFG_DANDROP, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
144 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_LASTPLAYED}}}, {UI_SPACER}, {UI_BOOL, CFG_LASTPLAYED, 1, -1, 0, 0, {.intvalue = {0, 0}}},
146 {UI_SPLITTER},
148 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_CHECKUSBFRAG}}}, {UI_SPACER}, {UI_BOOL, CFG_CHECKUSBFRAG, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
149 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_USB_DELAY}}}, {UI_SPACER}, {UI_INT, CFG_USBDELAY, 1, -1, 0, 0, {.intvalue = {3, 3, 0, 99}}}, {UI_BREAK},
150 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_USB_PREFIX}}}, {UI_SPACER}, {UI_STRING, CFG_USBPREFIX, 1, -1, 0, 0, {.stringvalue = {"", "", NULL}}}, {UI_BREAK},
151 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_ETH_PREFIX}}}, {UI_SPACER}, {UI_STRING, CFG_ETHPREFIX, 1, -1, 0, 0, {.stringvalue = {"", "", NULL}}}, {UI_BREAK},
153 {UI_BREAK},
155 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_HDD_SPINDOWN}}}, {UI_SPACER}, {UI_INT, CFG_HDDSPINDOWN, 1, _STR_HINT_SPINDOWN, 0, 0, {.intvalue = {20, 20, 0, 20}}},
157 {UI_SPLITTER},
159 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_USBMODE}}}, {UI_SPACER}, {UI_ENUM, CFG_USBMODE, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
160 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_HDDMODE}}}, {UI_SPACER}, {UI_ENUM, CFG_HDDMODE, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
161 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_ETHMODE}}}, {UI_SPACER}, {UI_ENUM, CFG_ETHMODE, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
162 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_APPMODE}}}, {UI_SPACER}, {UI_ENUM, CFG_APPMODE, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
163 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_DEFDEVICE}}}, {UI_SPACER}, {UI_ENUM, CFG_DEFDEVICE, 1, -1, 0, 0, {.intvalue = {0, 0}}},
165 {UI_SPLITTER},
167 {UI_OK, 0, 1, -1, 0, 0, {.label = {NULL, _STR_OK}}},
169 // end of dialog
170 {UI_TERMINATOR}
173 struct UIItem diaUIConfig[] = {
174 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_GFX_SETTINGS}}},
176 {UI_SPLITTER},
178 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_THEME}}}, {UI_SPACER}, {UI_ENUM, UICFG_THEME, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
179 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_LANGUAGE}}}, {UI_SPACER}, {UI_ENUM, UICFG_LANG, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
180 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_SCROLLING}}}, {UI_SPACER}, {UI_ENUM, UICFG_SCROLL, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
181 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_AUTOSORT}}}, {UI_SPACER}, {UI_BOOL, UICFG_AUTOSORT, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
182 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_AUTOREFRESH}}}, {UI_SPACER}, {UI_BOOL, UICFG_AUTOREFRESH, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
183 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_COVERART}}}, {UI_SPACER}, {UI_BOOL, UICFG_COVERART, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
184 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_USE_INFO_SCREEN}}}, {UI_SPACER}, {UI_BOOL, UICFG_INFOPAGE, 1, -1, 0, 0, {.intvalue = {0, 0}}},
186 {UI_SPLITTER},
188 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_TXTCOLOR}}}, {UI_SPACER}, {UI_COLOUR, UICFG_TXTCOL, 1, -1, -10, 17, {.colourvalue = {0, 0}}}, // UIItem #32
189 {UI_SPACER},
190 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_SELCOLOR}}}, {UI_SPACER}, {UI_COLOUR, UICFG_SELCOL, 1, -1, -10, 17, {.colourvalue = {0, 0}}}, // UIItem #36
191 {UI_BREAK},
192 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_UICOLOR}}}, {UI_SPACER}, {UI_COLOUR, UICFG_UICOL, 1, -1, -10, 17, {.colourvalue = {0, 0}}}, // UIItem #40
193 {UI_SPACER},
194 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_BGCOLOR}}}, {UI_SPACER}, {UI_COLOUR, UICFG_BGCOL, 1, -1, -10, 17, {.colourvalue = {0, 0}}}, // UIItem #44
195 {UI_BREAK},
197 {UI_SPLITTER},
199 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_VMODE}}}, {UI_SPACER}, {UI_ENUM, UICFG_VMODE, 1, -1, 0, 0, {.intvalue = {0, 0}}}, {UI_BREAK},
200 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_VSYNC}}}, {UI_SPACER}, {UI_BOOL, UICFG_VSYNC, 1, -1, 0, 0, {.intvalue = {1, 1}}}, {UI_BREAK},
201 {UI_LABEL, 0, 1, -1, -20, 0, {.label = {NULL, _STR_WIDE_SCREEN}}}, {UI_SPACER}, {UI_BOOL, UICFG_WIDESCREEN, 1, -1, 0, 0, {.intvalue = {0, 0}}},
203 {UI_SPLITTER},
205 {UI_OK, 0, 1, -1, 0, 0, {.label = {NULL, _STR_OK}}},
207 // end of dialog
208 {UI_TERMINATOR}
211 struct UIItem diaAbout[] = {
212 {UI_LABEL, 1, 1, -1, 0, 0, {.label = {NULL, -1}}},
214 {UI_SPLITTER},
216 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_DEVS}}}, {UI_BREAK},
218 {UI_BREAK},
220 {UI_SPACER}, {UI_LABEL, 0, 1, -1, 0, 15, {.label = {"crazyc", -1}}}, {UI_BREAK},
221 {UI_SPACER}, {UI_LABEL, 0, 1, -1, 0, 15, {.label = {"ifcaro", -1}}}, {UI_BREAK},
222 {UI_SPACER}, {UI_LABEL, 0, 1, -1, 0, 15, {.label = {"izdubar", -1}}}, {UI_BREAK},
223 {UI_SPACER}, {UI_LABEL, 0, 1, -1, 0, 15, {.label = {"jimmikaelkael", -1}}}, {UI_BREAK},
224 {UI_SPACER}, {UI_LABEL, 0, 1, -1, 0, 15, {.label = {"Polo35", -1}}}, {UI_BREAK},
225 {UI_SPACER}, {UI_LABEL, 0, 1, -1, 0, 15, {.label = {"volca", -1}}}, {UI_BREAK},
227 {UI_SPLITTER},
229 {UI_OK, 0, 1, -1, 0, 0, {.label = {NULL, _STR_OK}}},
231 // end of dialog
232 {UI_TERMINATOR}
235 #ifdef VMC
236 struct UIItem diaVMC[] = {
237 {UI_LABEL, 0, 1, -1, 0, 0, {.label = {NULL, _STR_VMC_SCREEN}}},
239 {UI_SPLITTER},
241 {UI_LABEL, 0, 1, -1, -15, 0, {.label = {NULL, _STR_VMC_NAME}}}, {UI_SPACER}, {UI_STRING, VMC_NAME, 1, -1, 0, 0, {.stringvalue = {"", "", &guiVmcNameHandler}}}, {UI_BREAK},
242 {UI_LABEL, 0, 1, -1, -15, 0, {.label = {NULL, _STR_VMC_SIZE}}}, {UI_SPACER}, {UI_ENUM, VMC_SIZE, 1, _STR_HINT_VMC_SIZE, 0, 0, {.intvalue = {0, 0}}},
244 {UI_SPLITTER},
246 {UI_LABEL, 0, 1, -1, -15, 0, {.label = {NULL, _STR_VMC_STATUS}}}, {UI_SPACER}, {UI_LABEL, VMC_STATUS, 0, -1, 0, 0, {.label = {NULL, -1}}}, {UI_BREAK},
247 {UI_LABEL, 0, 1, -1, -15, 0, {.label = {NULL, _STR_VMC_PROGRESS}}}, {UI_SPACER}, {UI_INT, VMC_PROGRESS, 0, -1, 0, 0, {.intvalue = {0, 0, 0, 100}}}, {UI_LABEL, 0, 1, -1, 0, 0, {.label = {"%", -1}}},
249 {UI_SPLITTER},
251 {UI_BUTTON, VMC_BUTTON_CREATE, 1, -1, 0, 0, {.label = {NULL, -1}}},
253 {UI_SPLITTER}, // UIItem #20
255 {UI_BUTTON, VMC_BUTTON_DELETE, 1, -1, 0, 0, {.label = {NULL, _STR_DELETE}}},
257 // end of dialog
258 {UI_TERMINATOR}
260 #endif