Post: [SPRX] MSGDIALOG like "Do you want to quit the game? Yes No" on PS3
11-01-2014, 09:09 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello Guys,


i was inactive for some reasons but now i am active and want to release something special for SPRX

its the MSGDIALOG - here is a screen -> You must login or register to view this content.

include:
    
#include <sysutil\sysutil_msgdialog.h>
#include <sysutil\sysutil_oskdialog.h>
#include <sysutil\sysutil_oskdialog_ext.h>



Callback [credits to : Ita, but i edited it]
    
void my_dialog2(int button, void *userdata)
{
switch(button) {



case CELL_MSGDIALOG_BUTTON_OK:
case CELL_MSGDIALOG_BUTTON_NONE:
case CELL_MSGDIALOG_BUTTON_ESCAPE:
dialog_action = 1;
break;
default:
break;
}
}


MSGDIALOG FUNC:
    
cellMsgDialogOpen(1,"Hello",my_dialog2,(void*) 0x0000aaab, NULL);



the first argument are the types , 1 is the OK-Dialog , 2 is i think YES-NO-Dialog and there are some other types like progressbars , but i release it next weekSmile


have fun Enzo

Credits:
Me
Ita-Team for the callback

The following 2 users say thank you to EnVatoHD for this useful post:

ImAzazel, th3_goodGuy
03-07-2018, 09:52 PM #11
S63
Space Ninja
Originally posted by optantic View Post
nice, already got this
is there anyway to get Notify working, like Trophy popups (instead of Dialog popup) when you earn a Trophy in game???


yes :p

The following user thanked S63 for this useful post:

DGNGOD

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo