PSPSDK 2024-12-16
Loading...
Searching...
No Matches
psputility_msgdialog.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _pspUtilityMsgDialogParams
 Structure to hold the parameters for a message dialog. More...
 

Typedefs

typedef struct _pspUtilityMsgDialogParams pspUtilityMsgDialogParams
 Structure to hold the parameters for a message dialog.
 

Enumerations

enum  pspUtilityMsgDialogMode { PSP_UTILITY_MSGDIALOG_MODE_ERROR = 0 , PSP_UTILITY_MSGDIALOG_MODE_TEXT }
 
enum  pspUtilityMsgDialogOption { PSP_UTILITY_MSGDIALOG_OPTION_ERROR = 0 , PSP_UTILITY_MSGDIALOG_OPTION_TEXT = 0x00000001 , PSP_UTILITY_MSGDIALOG_OPTION_YESNO_BUTTONS = 0x00000010 , PSP_UTILITY_MSGDIALOG_OPTION_DEFAULT_NO = 0x00000100 }
 
enum  pspUtilityMsgDialogPressed { PSP_UTILITY_MSGDIALOG_RESULT_UNKNOWN1 = 0 , PSP_UTILITY_MSGDIALOG_RESULT_YES , PSP_UTILITY_MSGDIALOG_RESULT_NO , PSP_UTILITY_MSGDIALOG_RESULT_BACK }
 

Functions

int sceUtilityMsgDialogInitStart (pspUtilityMsgDialogParams *params)
 Create a message dialog.
 
void sceUtilityMsgDialogShutdownStart (void)
 Remove a message dialog currently active.
 
int sceUtilityMsgDialogGetStatus (void)
 Get the current status of a message dialog currently active.
 
void sceUtilityMsgDialogUpdate (int n)
 Refresh the GUI for a message dialog currently active.
 
int sceUtilityMsgDialogAbort (void)
 Abort a message dialog currently active.
 

Typedef Documentation

◆ pspUtilityMsgDialogParams

Structure to hold the parameters for a message dialog.

Enumeration Type Documentation

◆ pspUtilityMsgDialogMode

Enumerator
PSP_UTILITY_MSGDIALOG_MODE_ERROR 
PSP_UTILITY_MSGDIALOG_MODE_TEXT 

◆ pspUtilityMsgDialogOption

Enumerator
PSP_UTILITY_MSGDIALOG_OPTION_ERROR 
PSP_UTILITY_MSGDIALOG_OPTION_TEXT 
PSP_UTILITY_MSGDIALOG_OPTION_YESNO_BUTTONS 
PSP_UTILITY_MSGDIALOG_OPTION_DEFAULT_NO 

◆ pspUtilityMsgDialogPressed

Enumerator
PSP_UTILITY_MSGDIALOG_RESULT_UNKNOWN1 
PSP_UTILITY_MSGDIALOG_RESULT_YES 
PSP_UTILITY_MSGDIALOG_RESULT_NO 
PSP_UTILITY_MSGDIALOG_RESULT_BACK 

Function Documentation

◆ sceUtilityMsgDialogAbort()

int sceUtilityMsgDialogAbort ( void  )

Abort a message dialog currently active.

◆ sceUtilityMsgDialogGetStatus()

int sceUtilityMsgDialogGetStatus ( void  )

Get the current status of a message dialog currently active.

Returns
2 if the GUI is visible (you need to call sceUtilityMsgDialogGetStatus). 3 if the user cancelled the dialog, and you need to call sceUtilityMsgDialogShutdownStart. 4 if the dialog has been successfully shut down.

◆ sceUtilityMsgDialogInitStart()

int sceUtilityMsgDialogInitStart ( pspUtilityMsgDialogParams params)

Create a message dialog.

Parameters
params- dialog parameters
Returns
0 on success

◆ sceUtilityMsgDialogShutdownStart()

void sceUtilityMsgDialogShutdownStart ( void  )

Remove a message dialog currently active.

After calling this function you need to keep calling GetStatus and Update until you get a status of 4.

◆ sceUtilityMsgDialogUpdate()

void sceUtilityMsgDialogUpdate ( int  n)

Refresh the GUI for a message dialog currently active.

Parameters
n- unknown, pass 1