vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Macros | |
#define | SCE_MSG_DIALOG_USER_MSG_SIZE 512 |
Max length of a user message. More... | |
struct SceMsgDialogButtonsParam |
Data Fields | ||
---|---|---|
const char * | msg1 | Text of the first button. |
SceInt32 | fontSize1 | Font size of the first button (one of SceMsgDialogFontSize) |
const char * | msg2 | Text of the second button. |
SceInt32 | fontSize2 | Font size of the second button (one of SceMsgDialogFontSize) |
const char * | msg3 | Text of the third button. |
SceInt32 | fontSize3 | Font size of the third button (one of SceMsgDialogFontSize) |
SceChar8 | reserved[32] | Reserved range. |
struct SceMsgDialogUserMessageParam |
Data Fields | ||
---|---|---|
SceInt32 | buttonType | Type of button set (one of SceMsgDialogButtonType) |
const SceChar8 * | msg | Displayed message. |
SceMsgDialogButtonsParam * | buttonParam | Buttons parameters. |
SceChar8 | reserved[28] | Reserved range. |
struct SceMsgDialogSystemMessageParam |
Data Fields | ||
---|---|---|
SceInt32 | sysMsgType | System message type (one of SceMsgDialogSystemMessageType) |
SceInt32 | value | Additional value. |
SceChar8 | reserved[32] | Reserved range. |
struct SceMsgDialogErrorCodeParam |
struct SceMsgDialogProgressBarParam |
Data Fields | ||
---|---|---|
SceInt32 | barType | Progress bar type (one of SceMsgDialogProgressBarType) |
SceMsgDialogSystemMessageParam | sysMsgParam | Displayed system message. |
const SceChar8 * | msg | Displayed user message. |
SceInt32 | reserved[8] | Reserved range. |
struct SceMsgDialogParam |
Data Fields | ||
---|---|---|
SceUInt32 | sdkVersion | Required to use MsgDialog. Just use NULL. |
SceCommonDialogParam | commonParam | Common parameter. |
SceInt32 | mode | Mode of function (one of SceMsgDialogMode) |
SceMsgDialogUserMessageParam * | userMsgParam | Parameter for user message. |
SceMsgDialogSystemMessageParam * | sysMsgParam | Parameter for system prepared message. |
SceMsgDialogErrorCodeParam * | errorCodeParam | Parameter for display error code. |
SceMsgDialogProgressBarParam * | progBarParam | Parameter for progress bar. |
SceInt32 | flag | Settings for dialog environment (one of SceMsgDialogEnvFlag) |
SceChar8 | reserved[32] | Reserved range. |
struct SceMsgDialogResult |
Data Fields | ||
---|---|---|
SceInt32 | mode | Mode of function (one of SceMsgDialogMode) |
SceInt32 | result | Result of executing function. |
SceInt32 | buttonId | Id of button user selected (one of SceMsgDialogButtonId) |
SceChar8 | reserved[32] | Reserved range. |
#define SCE_MSG_DIALOG_USER_MSG_SIZE 512 |
Max length of a user message.
enum SceMsgDialogMode |
enum SceMsgDialogButtonId |
enum SceMsgDialogEnvFlag |
enum SceMsgDialogFontSize |
VITASDK_BUILD_ASSERT_EQ | ( | 0x38 | , |
SceMsgDialogButtonsParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x28 | , |
SceMsgDialogUserMessageParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x28 | , |
SceMsgDialogSystemMessageParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x24 | , |
SceMsgDialogErrorCodeParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x50 | , |
SceMsgDialogProgressBarParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x88 | , |
SceMsgDialogParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x2C | , |
SceMsgDialogResult | |||
) |
int sceMsgDialogInit | ( | const SceMsgDialogParam * | param | ) |
SceCommonDialogStatus sceMsgDialogGetStatus | ( | void | ) |
int sceMsgDialogAbort | ( | void | ) |
int sceMsgDialogGetResult | ( | SceMsgDialogResult * | result | ) |
int sceMsgDialogTerm | ( | void | ) |
int sceMsgDialogClose | ( | void | ) |
int sceMsgDialogProgressBarInc | ( | SceMsgDialogProgressBarTarget | target, |
SceUInt32 | delta | ||
) |
Increases the rate of the progress bar in the message dialog.
target | - Target progress bar |
delta | - Progress rate to increase (%) |
int sceMsgDialogProgressBarSetValue | ( | SceMsgDialogProgressBarTarget | target, |
SceUInt32 | rate | ||
) |
Set the progress rate of the progress bar in the message dialog immediately.
target | - Target progress bar |
delta | - Progress rate to increase (%) |
int sceMsgDialogProgressBarSetMsg | ( | SceMsgDialogProgressBarTarget | target, |
const SceChar8 * | barMsg | ||
) |
Set the string displayed in the progress bar of the message dialog immediately.
target | - Target progress bar |
barMsg | - The string displayed in the progress bar |