vitasdk
Documentation of the vitasdk
common_dialog.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/kernel/clib.h>
#include <psp2/system_param.h>
#include <psp2/gxm.h>
#include <psp2/types.h>
#include <psp2common/defs.h>

Go to the source code of this file.

Data Structures

struct  SceCommonDialogConfigParam
 
struct  SceCommonDialogRenderTargetInfo
 
struct  SceCommonDialogUpdateParam
 
struct  SceCommonDialogInfobarParam
 
struct  SceCommonDialogColor
 
struct  SceCommonDialogParam
 

Macros

#define SCE_COMMON_DIALOG_MAGIC_NUMBER   0xC0D1A109
 

Typedefs

typedef SceCommonDialogColor SceCommonDialogBgColor
 

Enumerations

enum  SceCommonDialogErrorCode {
  SCE_COMMON_DIALOG_ERROR_BUSY = 0x80020401 , SCE_COMMON_DIALOG_ERROR_NULL = 0x80020402 , SCE_COMMON_DIALOG_ERROR_INVALID_ARGUMENT = 0x80020403 , SCE_COMMON_DIALOG_ERROR_NOT_RUNNING = 0x80020404 ,
  SCE_COMMON_DIALOG_ERROR_NOT_SUPPORTED = 0x80020405 , SCE_COMMON_DIALOG_ERROR_ILLEGAL_CALLER_THREAD = 0x80020406 , SCE_COMMON_DIALOG_ERROR_NOT_CONFIGURED = 0x80020407 , SCE_COMMON_DIALOG_ERROR_NOT_AVAILABLE = 0x80020408 ,
  SCE_COMMON_DIALOG_ERROR_NOT_FINISHED = 0x80020410 , SCE_COMMON_DIALOG_ERROR_NOT_IN_USE = 0x80020411 , SCE_COMMON_DIALOG_ERROR_INVALID_COLOR_FORMAT = 0x80020420 , SCE_COMMON_DIALOG_ERROR_INVALID_SURFACE_RESOLUTION = 0x80020421 ,
  SCE_COMMON_DIALOG_ERROR_INVALID_SURFACE_STRIDE = 0x80020422 , SCE_COMMON_DIALOG_ERROR_INVALID_SURFACE_TYPE = 0x80020423 , SCE_COMMON_DIALOG_ERROR_WITHIN_SCENE = 0x80020424 , SCE_COMMON_DIALOG_ERROR_IME_IN_USE = 0x80020430 ,
  SCE_COMMON_DIALOG_ERROR_INVALID_LANGUAGE = 0x80020431 , SCE_COMMON_DIALOG_ERROR_INVALID_ENTER_BUTTON_ASSIGN = 0x80020432 , SCE_COMMON_DIALOG_ERROR_INVALID_INFOBAR_PARAM = 0x80020433 , SCE_COMMON_DIALOG_ERROR_INVALID_BG_COLOR = 0x80020434 ,
  SCE_COMMON_DIALOG_ERROR_INVALID_DIMMER_COLOR = 0x80020435 , SCE_COMMON_DIALOG_ERROR_GXM_IS_UNINITIALIZED = 0x80020436 , SCE_COMMON_DIALOG_ERROR_UNEXPECTED_FATAL = 0x8002047F
}
 
enum  SceCommonDialogStatus { SCE_COMMON_DIALOG_STATUS_NONE = 0 , SCE_COMMON_DIALOG_STATUS_RUNNING = 1 , SCE_COMMON_DIALOG_STATUS_FINISHED = 2 }
 
enum  SceCommonDialogResult { SCE_COMMON_DIALOG_RESULT_OK , SCE_COMMON_DIALOG_RESULT_USER_CANCELED , SCE_COMMON_DIALOG_RESULT_ABORTED }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x2C, SceCommonDialogConfigParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x3C, SceCommonDialogRenderTargetInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x60, SceCommonDialogUpdateParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x2C, SceCommonDialogInfobarParam)
 
 VITASDK_BUILD_ASSERT_EQ (4, SceCommonDialogColor)
 
 VITASDK_BUILD_ASSERT_EQ (0x4C, SceCommonDialogParam)
 
int sceCommonDialogSetConfigParam (const SceCommonDialogConfigParam *configParam)
 
int sceCommonDialogUpdate (const SceCommonDialogUpdateParam *updateParam)