6 #define MSG_PROGRESSBAR_INDEX0 0 7 #define MSG_PROGRESSBAR_INDEX1 1 16 MSG_DIALOG_NORMAL = 1,
17 MSG_DIALOG_MUTE_ON = 2,
18 MSG_DIALOG_BKG_INVISIBLE = 4,
19 MSG_DIALOG_BTN_TYPE_YESNO = 16,
20 MSG_DIALOG_BTN_TYPE_OK = 32,
21 MSG_DIALOG_DISABLE_CANCEL_ON = 128,
22 MSG_DIALOG_DEFAULT_CURSOR_NO = 256,
24 MSG_DIALOG_SINGLE_PROGRESSBAR = 4096,
25 MSG_DIALOG_DOUBLE_PROGRESSBAR = 8192
30 MSG_DIALOG_BTN_NONE = -1,
31 MSG_DIALOG_BTN_INVALID,
33 MSG_DIALOG_BTN_YES = 1,
38 typedef void (*msgDialogCallback)(msgButton button,
void *usrData);
41 s32 msgDialogClose(f32 waitMs);
42 s32 msgDialogOpen(msgType type,
const char *msg,msgDialogCallback cb,
void *usrData,
void *unused);
43 s32 msgDialogOpen2(msgType type,
const char *msg,msgDialogCallback cb,
void *usrData,
void *unused);
44 s32 msgDialogOpenErrorCode(u32 errorCode,msgDialogCallback cb,
void *usrData,
void *unused);
46 s32 msgDialogProgressBarSetMsg(u32 index,
const char *msg);
47 s32 msgDialogProgressBarReset(u32 index);
48 s32 msgDialogProgressBarInc(u32 index,u32 percent);