当前位置: 首页>>代码示例>>C++>>正文


C++ PSPOskDialog类代码示例

本文整理汇总了C++中PSPOskDialog的典型用法代码示例。如果您正苦于以下问题:C++ PSPOskDialog类的具体用法?C++ PSPOskDialog怎么用?C++ PSPOskDialog使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了PSPOskDialog类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: __UtilityDoState

void __UtilityDoState(PointerWrap &p) {
	auto s = p.Section("sceUtility", 1, 2);
	if (!s) {
		return;
	}

	p.Do(currentDialogType);
	p.Do(currentDialogActive);
	saveDialog.DoState(p);
	msgDialog.DoState(p);
	oskDialog.DoState(p);
	netDialog.DoState(p);
	screenshotDialog.DoState(p);
	gamedataInstallDialog.DoState(p);

	if (s >= 2) {
		p.Do(currentlyLoadedModules);
	} else {
		std::set<int> oldModules;
		p.Do(oldModules);
		for (auto it = oldModules.begin(), end = oldModules.end(); it != end; ++it) {
			currentlyLoadedModules[*it] = 0;
		}
	}
}
开发者ID:AdmiralCurtiss,项目名称:ppsspp,代码行数:25,代码来源:sceUtility.cpp

示例2: __UtilityShutdown

void __UtilityShutdown()
{
	saveDialog.Shutdown();
	msgDialog.Shutdown();
	oskDialog.Shutdown();
	netDialog.Shutdown();
}
开发者ID:LucianoRavallo,项目名称:ppsspp,代码行数:7,代码来源:sceUtility.cpp

示例3: __UtilityShutdown

void __UtilityShutdown() {
	saveDialog.Shutdown(true);
	msgDialog.Shutdown(true);
	oskDialog.Shutdown(true);
	netDialog.Shutdown(true);
	screenshotDialog.Shutdown(true);
	gamedataInstallDialog.Shutdown(true);
}
开发者ID:AdmiralCurtiss,项目名称:ppsspp,代码行数:8,代码来源:sceUtility.cpp

示例4: __UtilityDoState

void __UtilityDoState(PointerWrap &p)
{
	saveDialog.DoState(p);
	msgDialog.DoState(p);
	oskDialog.DoState(p);
	netDialog.DoState(p);
	p.DoMarker("sceUtility");
}
开发者ID:ChrisAldama,项目名称:ppsspp,代码行数:8,代码来源:sceUtility.cpp

示例5: __UtilityDoState

void __UtilityDoState(PointerWrap &p)
{
	p.Do(currentDialogType);
	p.Do(currentDialogActive);
	saveDialog.DoState(p);
	msgDialog.DoState(p);
	oskDialog.DoState(p);
	netDialog.DoState(p);
	p.DoMarker("sceUtility");
}
开发者ID:LucianoRavallo,项目名称:ppsspp,代码行数:10,代码来源:sceUtility.cpp

示例6: sceUtilityOskGetStatus

int sceUtilityOskGetStatus()
{
	int status = oskDialog.GetStatus();
	// Seems that 4 is the cancelled status for OSK?
	if (status == 4)
	{
		status = 5;
	}
	return status;
}
开发者ID:ChrisAldama,项目名称:ppsspp,代码行数:10,代码来源:sceUtility.cpp

示例7: sceUtilityOskUpdate

int sceUtilityOskUpdate(int animSpeed)
{
	if (currentDialogType != UTILITY_DIALOG_OSK)
	{
		WARN_LOG(HLE, "sceUtilityMsgDialogUpdate(): wrong dialog type");
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}

	DEBUG_LOG(HLE, "sceUtilityOskUpdate(%i)", animSpeed);
	return oskDialog.Update();
}
开发者ID:LucianoRavallo,项目名称:ppsspp,代码行数:11,代码来源:sceUtility.cpp

示例8: sceUtilityOskShutdownStart

int sceUtilityOskShutdownStart()
{
	if (currentDialogType != UTILITY_DIALOG_OSK)
	{
		WARN_LOG(HLE, "sceUtilityOskShutdownStart(): wrong dialog type");
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}
	currentDialogActive = false;

	DEBUG_LOG(HLE, "sceUtilityOskShutdownStart()");
	return oskDialog.Shutdown();
}
开发者ID:LucianoRavallo,项目名称:ppsspp,代码行数:12,代码来源:sceUtility.cpp

示例9: sceUtilityOskUpdate

static int sceUtilityOskUpdate(int animSpeed)
{
	if (currentDialogType != UTILITY_DIALOG_OSK)
	{
		WARN_LOG(SCEUTILITY, "sceUtilityOskUpdate(%i): wrong dialog type", animSpeed);
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}
	
	int ret = oskDialog.Update(animSpeed);
	DEBUG_LOG(SCEUTILITY, "%08x=sceUtilityOskUpdate(%i)", ret, animSpeed);
	return ret;
}
开发者ID:AdmiralCurtiss,项目名称:ppsspp,代码行数:12,代码来源:sceUtility.cpp

示例10: sceUtilityOskGetStatus

int sceUtilityOskGetStatus()
{
	if (currentDialogType != UTILITY_DIALOG_OSK)
	{
		DEBUG_LOG(SCEUTILITY, "sceUtilityOskGetStatus(): wrong dialog type");
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}

	int status = oskDialog.GetStatus();
	DEBUG_LOG(SCEUTILITY, "%08x=sceUtilityOskGetStatus()", status);
	return status;
}
开发者ID:18859966862,项目名称:ppsspp,代码行数:12,代码来源:sceUtility.cpp

示例11: sceUtilityOskInitStart

int sceUtilityOskInitStart(u32 oskPtr)
{
	if (currentDialogActive && currentDialogType != UTILITY_DIALOG_OSK)
	{
		WARN_LOG(HLE, "sceUtilityOskInitStart(%08x): wrong dialog type", oskPtr);
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}
	currentDialogType = UTILITY_DIALOG_OSK;
	currentDialogActive = true;

	DEBUG_LOG(HLE, "sceUtilityOskInitStart(%08x)", oskPtr);
	return oskDialog.Init(oskPtr);
}
开发者ID:LucianoRavallo,项目名称:ppsspp,代码行数:13,代码来源:sceUtility.cpp

示例12: sceUtilityOskShutdownStart

static int sceUtilityOskShutdownStart()
{
	if (currentDialogType != UTILITY_DIALOG_OSK)
	{
		WARN_LOG(SCEUTILITY, "sceUtilityOskShutdownStart(): wrong dialog type");
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}
	
	currentDialogActive = false;
	int ret = oskDialog.Shutdown();
	DEBUG_LOG(SCEUTILITY, "%08x=sceUtilityOskShutdownStart()",ret);
	return ret;
}
开发者ID:AdmiralCurtiss,项目名称:ppsspp,代码行数:13,代码来源:sceUtility.cpp

示例13: sceUtilityOskInitStart

// On screen keyboard
int sceUtilityOskInitStart(u32 oskPtr)
{
	if (currentDialogActive && currentDialogType != UTILITY_DIALOG_OSK)
	{
		WARN_LOG(SCEUTILITY, "sceUtilityOskInitStart(%08x): wrong dialog type", oskPtr);
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}
	
	currentDialogType = UTILITY_DIALOG_OSK;
	currentDialogActive = true;
	int ret = oskDialog.Init(oskPtr);
	INFO_LOG(SCEUTILITY, "%08x=sceUtilityOskInitStart(%08x)", ret, oskPtr);
	return ret;
}
开发者ID:18859966862,项目名称:ppsspp,代码行数:15,代码来源:sceUtility.cpp

示例14: __UtilityDoState

void __UtilityDoState(PointerWrap &p)
{
	auto s = p.Section("sceUtility", 1);
	if (!s)
		return;

	p.Do(currentDialogType);
	p.Do(currentDialogActive);
	saveDialog.DoState(p);
	msgDialog.DoState(p);
	oskDialog.DoState(p);
	netDialog.DoState(p);
	screenshotDialog.DoState(p);
	gamedataInstallDialog.DoState(p);
	p.Do(currentlyLoadedModules);
}
开发者ID:18859966862,项目名称:ppsspp,代码行数:16,代码来源:sceUtility.cpp

示例15: sceUtilityOskGetStatus

int sceUtilityOskGetStatus()
{
	if (currentDialogType != UTILITY_DIALOG_OSK)
	{
		DEBUG_LOG(HLE, "sceUtilityOskGetStatus(): wrong dialog type");
		return SCE_ERROR_UTILITY_WRONG_TYPE;
	}

	int status = oskDialog.GetStatus();

	// Seems that 4 is the cancelled status for OSK?
	if (status == 4)
	{
		status = 5;
	}

	DEBUG_LOG(HLE, "%08x=sceUtilityOskGetStatus()", status);
	return status;
}
开发者ID:LucianoRavallo,项目名称:ppsspp,代码行数:19,代码来源:sceUtility.cpp


注:本文中的PSPOskDialog类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。