mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
dad420670f
If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.
481 lines
9.3 KiB
XML
481 lines
9.3 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="SDL2test"
|
|
ProjectGUID="{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}"
|
|
RootNamespace="SDLtest"
|
|
TargetFrameworkVersion="131072"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
<Platform
|
|
Name="x64"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
OutputDirectory=".\Release"
|
|
IntermediateDirectory=".\Release"
|
|
ConfigurationType="4"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine=""
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
InlineFunctionExpansion="1"
|
|
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
|
|
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
|
StringPooling="true"
|
|
ExceptionHandling="0"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="true"
|
|
DebugInformationFormat="1"
|
|
CompileAs="0"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLibrarianTool"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|x64"
|
|
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
|
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
|
ConfigurationType="4"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
TargetEnvironment="3"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
InlineFunctionExpansion="1"
|
|
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
|
|
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
|
StringPooling="true"
|
|
ExceptionHandling="0"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="true"
|
|
DebugInformationFormat="1"
|
|
CompileAs="0"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLibrarianTool"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release_NoSTDIO|Win32"
|
|
IntermediateDirectory="$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
ExceptionHandling="0"
|
|
DebugInformationFormat="1"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCManifestTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release_NoSTDIO|x64"
|
|
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
|
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
|
ConfigurationType="4"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
TargetEnvironment="3"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
InlineFunctionExpansion="1"
|
|
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
|
|
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,NO_STDIO_REDIRECT"
|
|
StringPooling="true"
|
|
ExceptionHandling="0"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="true"
|
|
DebugInformationFormat="1"
|
|
CompileAs="0"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLibrarianTool"
|
|
OutputFile="$(IntDir)\SDLtest.lib"
|
|
SuppressStartupBanner="true"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
OutputDirectory=".\Debug"
|
|
IntermediateDirectory=".\Debug"
|
|
ConfigurationType="4"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine=""
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
|
|
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
|
|
ExceptionHandling="0"
|
|
RuntimeLibrary="3"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="true"
|
|
DebugInformationFormat="1"
|
|
CompileAs="0"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLibrarianTool"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug|x64"
|
|
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
|
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
|
ConfigurationType="4"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
TargetEnvironment="3"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
|
|
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
|
|
ExceptionHandling="0"
|
|
RuntimeLibrary="2"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="true"
|
|
DebugInformationFormat="1"
|
|
CompileAs="0"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLibrarianTool"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References>
|
|
</References>
|
|
<Files>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_assert.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_common.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_compare.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_crc32.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_font.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_fuzzer.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_harness.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_imageBlit.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_imageBlitBlend.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_imageFace.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_imagePrimitives.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_imagePrimitivesBlend.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_log.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_md5.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\src\test\SDL_test_random.c"
|
|
>
|
|
</File>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|