mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 16:35:31 +00: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.
278 lines
6.2 KiB
XML
Executable file
278 lines
6.2 KiB
XML
Executable file
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="testautomation"
|
|
ProjectGUID="{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}"
|
|
RootNamespace="testautomation"
|
|
TargetFrameworkVersion="131072"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
OutputDirectory=".\Debug"
|
|
IntermediateDirectory=".\Debug"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
PreprocessorDefinitions="_DEBUG"
|
|
MkTypLibCompatible="true"
|
|
SuppressStartupBanner="true"
|
|
TargetEnvironment="1"
|
|
TypeLibraryName=".\Debug/testautomation.tlb"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\..\include"
|
|
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
PrecompiledHeaderFile=".\Debug/testautomation.pch"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="true"
|
|
DebugInformationFormat="4"
|
|
CompileAs="0"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
PreprocessorDefinitions="_DEBUG"
|
|
Culture="1033"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalOptions="/MACHINE:I386"
|
|
LinkIncremental="2"
|
|
SuppressStartupBanner="true"
|
|
GenerateDebugInformation="true"
|
|
ProgramDatabaseFile=".\Debug/testautomation.pdb"
|
|
SubSystem="2"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCManifestTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
Description="Copy SDL"
|
|
CommandLine="copy "$(SolutionDir)\SDL\$(ConfigurationName)\SDL2.dll" "$(TargetDir)\SDL2.dll""
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
OutputDirectory=".\Release"
|
|
IntermediateDirectory=".\Release"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="false"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
PreprocessorDefinitions="NDEBUG"
|
|
MkTypLibCompatible="true"
|
|
SuppressStartupBanner="true"
|
|
TargetEnvironment="1"
|
|
TypeLibraryName=".\Release/testautomation.tlb"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
InlineFunctionExpansion="1"
|
|
AdditionalIncludeDirectories="..\..\..\include"
|
|
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
|
StringPooling="true"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
PrecompiledHeaderFile=".\Release/testautomation.pch"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="true"
|
|
CompileAs="0"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
PreprocessorDefinitions="NDEBUG"
|
|
Culture="1033"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalOptions="/MACHINE:I386"
|
|
LinkIncremental="1"
|
|
SuppressStartupBanner="true"
|
|
ProgramDatabaseFile=".\Release/testautomation.pdb"
|
|
SubSystem="2"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCManifestTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
Description="Copy SDL"
|
|
CommandLine="copy "$(SolutionDir)\SDL\$(ConfigurationName)\SDL2.dll" "$(TargetDir)\SDL2.dll""
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References>
|
|
</References>
|
|
<Files>
|
|
<File
|
|
RelativePath="..\..\..\Test\testautomation.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_audio.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_clipboard.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_events.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_keyboard.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_main.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_mouse.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_pixels.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_platform.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_rect.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_render.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_rwops.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_sdltest.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_stdlib.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_suites.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_surface.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_syswm.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_timer.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\..\test\testautomation_video.c"
|
|
>
|
|
</File>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|