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.
206 lines
4.9 KiB
XML
206 lines
4.9 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="testoverlay2"
|
|
ProjectGUID="{B51E0D74-F0A2-45A2-BD2A-8B7D95B8204A}"
|
|
RootNamespace="testoverlay2"
|
|
TargetFrameworkVersion="131072"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<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/testoverlay2.tlb"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
InlineFunctionExpansion="1"
|
|
AdditionalIncludeDirectories="..\..\..\include"
|
|
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
|
|
StringPooling="true"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
PrecompiledHeaderFile=".\Release/testoverlay2.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/testoverlay2.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 and data files"
|
|
CommandLine="copy "$(SolutionDir)\SDL\$(ConfigurationName)\SDL2.dll" "$(TargetDir)\SDL2.dll"
copy "$(SolutionDir)\..\test\moose.dat" "$(ProjectDir)\moose.dat"
"
|
|
/>
|
|
</Configuration>
|
|
<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/testoverlay2.tlb"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\..\include"
|
|
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
PrecompiledHeaderFile=".\Debug/testoverlay2.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/testoverlay2.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 and data files"
|
|
CommandLine="copy "$(SolutionDir)\SDL\$(ConfigurationName)\SDL2.dll" "$(TargetDir)\SDL2.dll"
copy "$(SolutionDir)\..\test\moose.dat" "$(ProjectDir)\moose.dat"
"
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References>
|
|
</References>
|
|
<Files>
|
|
<File
|
|
RelativePath="..\..\..\test\testoverlay2.c"
|
|
>
|
|
</File>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|