PDA

View Full Version : PSP Dialogs



wraggster
December 7th, 2007, 21:36
News/release from Tommydanger


Hi
Since everyone is keen about the psp inbuilt dialogs you see in psp games and on how to access them within homebrew software I wrote a small library which enables you to trigger
the following dialogs with just one function
Messagedialog
Errordialog
Onscreenkeyboard

It's based on the pspsdk examples but with the overhead cut off, and integrated in a small library

Included is a small sample, it's really straight forwarded
All you have to do is link this library and set up your gu functions
The library itself doesn't provide a gu setup function as every dev prefers his own and it's improper coding style to have 2 setups
Though you can use the one used in the sample :P

Tested on 3.52M33-4

Next version will feature load/save dialogs

Download and Give Feedback Via Comments
via tommydanger (http://forums.qj.net/f-psp-development-forum-11/t-lib-psp-dialogs-129376.html)

kgsws˜™
December 7th, 2007, 23:13
yes, good idea for someone who cant understant example ..

but becouse of 'minimalRender', screen behind dialog will be allways black

Buddy4point0
December 7th, 2007, 23:13
cool, tis should make it easyer for c coders

coolguy5678
December 8th, 2007, 14:54
Here are the errors I get (I took out non-useful ones, like repeats):

../pspdialogs.c:8: error: 'pspUtilityMsgDialogParams' undeclared
../pspdialogs.c:39: error:'PSP_UTILITY_DIALOG_VISIBLE' undeclared
../pspdialogs.c:43: error: 'PSP_UTILITY_DIALOG_QUIT' undeclared
../pspdialogs.c:47: error: 'PSP_UTILITY_DIALOG_NONE' undeclared
../pspdialogs.c:57: error: 'pspUtilityMsgDialogParams' undeclared
../pspdialogs.c:125: error: 'SceUtilityOskParams' has no member named 'base'
../pspdialogs.c:149: error: 'PSP_UTILITY_DIALOG_INIT' undeclared