#include <ppu-types.h>
Go to the source code of this file.
|
| enum | msgType {
MSG_DIALOG_ERROR = 0
, MSG_DIALOG_NORMAL = 1
, MSG_DIALOG_MUTE_ON = 2
, MSG_DIALOG_BKG_INVISIBLE = 4
,
MSG_DIALOG_BTN_TYPE_YESNO = 16
, MSG_DIALOG_BTN_TYPE_OK = 32
, MSG_DIALOG_DISABLE_CANCEL_ON = 128
, MSG_DIALOG_DEFAULT_CURSOR_NO = 256
,
MSG_DIALOG_SINGLE_PROGRESSBAR = 4096
, MSG_DIALOG_DOUBLE_PROGRESSBAR = 8192
} |
| |
| enum | msgButton {
MSG_DIALOG_BTN_NONE = -1
, MSG_DIALOG_BTN_INVALID
, MSG_DIALOG_BTN_OK
, MSG_DIALOG_BTN_YES = 1
,
MSG_DIALOG_BTN_NO
, MSG_DIALOG_BTN_ESCAPE
} |
| |
|
| s32 | msgDialogAbort () |
| |
| s32 | msgDialogClose (f32 waitMs) |
| |
| s32 | msgDialogOpen (msgType type, const char *msg, msgDialogCallback cb, void *usrData, void *unused) |
| |
| s32 | msgDialogOpen2 (msgType type, const char *msg, msgDialogCallback cb, void *usrData, void *unused) |
| |
| s32 | msgDialogOpenErrorCode (u32 errorCode, msgDialogCallback cb, void *usrData, void *unused) |
| |
| s32 | msgDialogProgressBarSetMsg (u32 index, const char *msg) |
| |
| s32 | msgDialogProgressBarReset (u32 index) |
| |
| s32 | msgDialogProgressBarInc (u32 index, u32 percent) |
| |
◆ MSG_PROGRESSBAR_INDEX0
| #define MSG_PROGRESSBAR_INDEX0 0 |
Definition at line 6 of file msg.h.
◆ MSG_PROGRESSBAR_INDEX1
| #define MSG_PROGRESSBAR_INDEX1 1 |
Definition at line 7 of file msg.h.
◆ msgDialogCallback
| typedef void(* msgDialogCallback) (msgButton button, void *usrData) |
Definition at line 38 of file msg.h.
◆ msgButton
| Enumerator |
|---|
| MSG_DIALOG_BTN_NONE | |
| MSG_DIALOG_BTN_INVALID | |
| MSG_DIALOG_BTN_OK | |
| MSG_DIALOG_BTN_YES | |
| MSG_DIALOG_BTN_NO | |
| MSG_DIALOG_BTN_ESCAPE | |
Definition at line 28 of file msg.h.
◆ msgType
| Enumerator |
|---|
| MSG_DIALOG_ERROR | |
| MSG_DIALOG_NORMAL | |
| MSG_DIALOG_MUTE_ON | |
| MSG_DIALOG_BKG_INVISIBLE | |
| MSG_DIALOG_BTN_TYPE_YESNO | |
| MSG_DIALOG_BTN_TYPE_OK | |
| MSG_DIALOG_DISABLE_CANCEL_ON | |
| MSG_DIALOG_DEFAULT_CURSOR_NO | |
| MSG_DIALOG_SINGLE_PROGRESSBAR | |
| MSG_DIALOG_DOUBLE_PROGRESSBAR | |
Definition at line 13 of file msg.h.
◆ msgDialogAbort()
◆ msgDialogClose()
| s32 msgDialogClose |
( |
f32 |
waitMs | ) |
|
◆ msgDialogOpen()
◆ msgDialogOpen2()
◆ msgDialogOpenErrorCode()
| s32 msgDialogOpenErrorCode |
( |
u32 |
errorCode, |
|
|
msgDialogCallback |
cb, |
|
|
void * |
usrData, |
|
|
void * |
unused |
|
) |
| |
◆ msgDialogProgressBarInc()
| s32 msgDialogProgressBarInc |
( |
u32 |
index, |
|
|
u32 |
percent |
|
) |
| |
◆ msgDialogProgressBarReset()
| s32 msgDialogProgressBarReset |
( |
u32 |
index | ) |
|
◆ msgDialogProgressBarSetMsg()
| s32 msgDialogProgressBarSetMsg |
( |
u32 |
index, |
|
|
const char * |
msg |
|
) |
| |