summaryrefslogtreecommitdiff
path: root/plugins/MagneticWindows
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-12-12 08:33:21 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-12-12 08:33:21 +0000
commit88e6efae0b8867f14d59561f6503bfc41eb0d4d3 (patch)
tree7e50e21757a5bdf221afc2f4e7aa0eee588466f1 /plugins/MagneticWindows
parenteb8546ca0013f26ed4330b35bfb7bcde0a1d9527 (diff)
MagneticWindows moved to deprecated
git-svn-id: http://svn.miranda-ng.org/main/trunk@7134 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MagneticWindows')
-rw-r--r--plugins/MagneticWindows/MagneticWindows_10.vcxproj239
-rw-r--r--plugins/MagneticWindows/MagneticWindows_10.vcxproj.filters59
-rw-r--r--plugins/MagneticWindows/MagneticWindows_11.vcxproj242
-rw-r--r--plugins/MagneticWindows/MagneticWindows_11.vcxproj.filters59
-rw-r--r--plugins/MagneticWindows/MagneticWindows_12.vcxproj242
-rw-r--r--plugins/MagneticWindows/MagneticWindows_12.vcxproj.filters59
-rw-r--r--plugins/MagneticWindows/res/Options.rc113
-rw-r--r--plugins/MagneticWindows/res/Version.rc38
-rw-r--r--plugins/MagneticWindows/src/MagneticWindows.cpp143
-rw-r--r--plugins/MagneticWindows/src/MagneticWindowsCore.cpp355
-rw-r--r--plugins/MagneticWindows/src/MagneticWindowsCore.h35
-rw-r--r--plugins/MagneticWindows/src/Options.cpp96
-rw-r--r--plugins/MagneticWindows/src/Options.h16
-rw-r--r--plugins/MagneticWindows/src/SnapToListService.cpp61
-rw-r--r--plugins/MagneticWindows/src/SnapToListService.h2
-rw-r--r--plugins/MagneticWindows/src/Version.h14
-rw-r--r--plugins/MagneticWindows/src/resource.h25
-rw-r--r--plugins/MagneticWindows/src/stdafx.cpp18
18 files changed, 0 insertions, 1816 deletions
diff --git a/plugins/MagneticWindows/MagneticWindows_10.vcxproj b/plugins/MagneticWindows/MagneticWindows_10.vcxproj
deleted file mode 100644
index 4c601c8036..0000000000
--- a/plugins/MagneticWindows/MagneticWindows_10.vcxproj
+++ /dev/null
@@ -1,239 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{7DC23E4E-2448-4811-AABD-F5D069F6E74A}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>MagneticWindows</RootNamespace>
- <ProjectName>MagneticWindows</ProjectName>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IntDir>$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IntDir>$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- <IntDir>$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <OutDir>$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- <IntDir>$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <OutDir>$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <StringPooling>false</StringPooling>
- <ExceptionHandling>false</ExceptionHandling>
- <FunctionLevelLinking>
- </FunctionLevelLinking>
- <DisableSpecificWarnings>
- </DisableSpecificWarnings>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <BaseAddress>
- </BaseAddress>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <StringPooling>false</StringPooling>
- <ExceptionHandling>false</ExceptionHandling>
- <FunctionLevelLinking>
- </FunctionLevelLinking>
- <DisableSpecificWarnings>
- </DisableSpecificWarnings>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <BaseAddress>
- </BaseAddress>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>Full</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <StringPooling>true</StringPooling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <AdditionalOptions>/PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
- </Link>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>Full</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <StringPooling>true</StringPooling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <AdditionalOptions>/PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
- </Link>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="src\MagneticWindows.cpp" />
- <ClCompile Include="src\MagneticWindowsCore.cpp" />
- <ClCompile Include="src\Options.cpp" />
- <ClCompile Include="src\SnapToListService.cpp" />
- <ClCompile Include="src\stdafx.cpp">
- <PrecompiledHeader>Create</PrecompiledHeader>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\MagneticWindowsCore.h" />
- <ClInclude Include="src\Options.h" />
- <ClInclude Include="src\resource.h" />
- <ClInclude Include="src\SnapToListService.h" />
- <ClInclude Include="src\Version.h" />
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\Options.rc" />
- <ResourceCompile Include="res\Version.rc" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/plugins/MagneticWindows/MagneticWindows_10.vcxproj.filters b/plugins/MagneticWindows/MagneticWindows_10.vcxproj.filters
deleted file mode 100644
index b0bb67e7b7..0000000000
--- a/plugins/MagneticWindows/MagneticWindows_10.vcxproj.filters
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="src\MagneticWindows.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\MagneticWindowsCore.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\Options.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\SnapToListService.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\stdafx.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\MagneticWindowsCore.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\Options.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\resource.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\SnapToListService.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\Version.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\Options.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- <ResourceCompile Include="res\Version.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/plugins/MagneticWindows/MagneticWindows_11.vcxproj b/plugins/MagneticWindows/MagneticWindows_11.vcxproj
deleted file mode 100644
index d94f4f1849..0000000000
--- a/plugins/MagneticWindows/MagneticWindows_11.vcxproj
+++ /dev/null
@@ -1,242 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{7DC23E4E-2448-4811-AABD-F5D069F6E74A}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>MagneticWindows</RootNamespace>
- <ProjectName>MagneticWindows</ProjectName>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v110_xp</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v110_xp</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v110_xp</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v110_xp</PlatformToolset>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IntDir>$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IntDir>$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- <IntDir>$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <OutDir>$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- <IntDir>$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <OutDir>$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <StringPooling>false</StringPooling>
- <ExceptionHandling>false</ExceptionHandling>
- <FunctionLevelLinking>
- </FunctionLevelLinking>
- <DisableSpecificWarnings>
- </DisableSpecificWarnings>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <BaseAddress>
- </BaseAddress>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <StringPooling>false</StringPooling>
- <ExceptionHandling>false</ExceptionHandling>
- <FunctionLevelLinking>
- </FunctionLevelLinking>
- <DisableSpecificWarnings>
- </DisableSpecificWarnings>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <BaseAddress>
- </BaseAddress>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>Full</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <StringPooling>true</StringPooling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>Full</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <StringPooling>true</StringPooling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="src\MagneticWindows.cpp" />
- <ClCompile Include="src\MagneticWindowsCore.cpp" />
- <ClCompile Include="src\Options.cpp" />
- <ClCompile Include="src\SnapToListService.cpp" />
- <ClCompile Include="src\stdafx.cpp">
- <PrecompiledHeader>Create</PrecompiledHeader>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\MagneticWindowsCore.h" />
- <ClInclude Include="src\Options.h" />
- <ClInclude Include="src\resource.h" />
- <ClInclude Include="src\SnapToListService.h" />
- <ClInclude Include="src\Version.h" />
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\Options.rc" />
- <ResourceCompile Include="res\Version.rc" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/plugins/MagneticWindows/MagneticWindows_11.vcxproj.filters b/plugins/MagneticWindows/MagneticWindows_11.vcxproj.filters
deleted file mode 100644
index b0bb67e7b7..0000000000
--- a/plugins/MagneticWindows/MagneticWindows_11.vcxproj.filters
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="src\MagneticWindows.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\MagneticWindowsCore.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\Options.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\SnapToListService.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\stdafx.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\MagneticWindowsCore.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\Options.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\resource.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\SnapToListService.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\Version.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\Options.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- <ResourceCompile Include="res\Version.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/plugins/MagneticWindows/MagneticWindows_12.vcxproj b/plugins/MagneticWindows/MagneticWindows_12.vcxproj
deleted file mode 100644
index 9e59a22dc4..0000000000
--- a/plugins/MagneticWindows/MagneticWindows_12.vcxproj
+++ /dev/null
@@ -1,242 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{7DC23E4E-2448-4811-AABD-F5D069F6E74A}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>MagneticWindows</RootNamespace>
- <ProjectName>MagneticWindows</ProjectName>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v120_xp</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v120_xp</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v120_xp</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v120_xp</PlatformToolset>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IntDir>$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- <OutDir>$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IntDir>$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- <IntDir>$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <OutDir>$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- <IntDir>$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <OutDir>$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <StringPooling>false</StringPooling>
- <ExceptionHandling>false</ExceptionHandling>
- <FunctionLevelLinking>
- </FunctionLevelLinking>
- <DisableSpecificWarnings>
- </DisableSpecificWarnings>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <BaseAddress>
- </BaseAddress>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <StringPooling>false</StringPooling>
- <ExceptionHandling>false</ExceptionHandling>
- <FunctionLevelLinking>
- </FunctionLevelLinking>
- <DisableSpecificWarnings>
- </DisableSpecificWarnings>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <BaseAddress>
- </BaseAddress>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>Full</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <StringPooling>true</StringPooling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>Use</PrecompiledHeader>
- <Optimization>Full</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeaderFile>MagneticWindowsCore.h</PrecompiledHeaderFile>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <StringPooling>true</StringPooling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- </Link>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="src\MagneticWindows.cpp" />
- <ClCompile Include="src\MagneticWindowsCore.cpp" />
- <ClCompile Include="src\Options.cpp" />
- <ClCompile Include="src\SnapToListService.cpp" />
- <ClCompile Include="src\stdafx.cpp">
- <PrecompiledHeader>Create</PrecompiledHeader>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\MagneticWindowsCore.h" />
- <ClInclude Include="src\Options.h" />
- <ClInclude Include="src\resource.h" />
- <ClInclude Include="src\SnapToListService.h" />
- <ClInclude Include="src\Version.h" />
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\Options.rc" />
- <ResourceCompile Include="res\Version.rc" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/plugins/MagneticWindows/MagneticWindows_12.vcxproj.filters b/plugins/MagneticWindows/MagneticWindows_12.vcxproj.filters
deleted file mode 100644
index b0bb67e7b7..0000000000
--- a/plugins/MagneticWindows/MagneticWindows_12.vcxproj.filters
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="src\MagneticWindows.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\MagneticWindowsCore.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\Options.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\SnapToListService.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- <ClCompile Include="src\stdafx.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\MagneticWindowsCore.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\Options.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\resource.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\SnapToListService.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="src\Version.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\Options.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- <ResourceCompile Include="res\Version.rc">
- <Filter>Resource Files</Filter>
- </ResourceCompile>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/plugins/MagneticWindows/res/Options.rc b/plugins/MagneticWindows/res/Options.rc
deleted file mode 100644
index 08972ec3cb..0000000000
--- a/plugins/MagneticWindows/res/Options.rc
+++ /dev/null
@@ -1,113 +0,0 @@
-//Microsoft Developer Studio generated resource script.
-//
-#include "..\src\resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// Deutsch (Deutschland) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
-#ifdef _WIN32
-LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE DISCARDABLE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE DISCARDABLE
-BEGIN
- "#include ""afxres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE DISCARDABLE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-#endif // Deutsch (Deutschland) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-/////////////////////////////////////////////////////////////////////////////
-// Englisch (USA) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_OPT_MAGNETICWINDOWS DIALOGEX 0, 0, 275, 80
-STYLE DS_FIXEDSYS | WS_CHILD
-FONT 8, "MS Shell Dlg"
-BEGIN
- GROUPBOX "Magnetic Windows",IDC_MAINFRAME,8,8,258,64,WS_GROUP
- CONTROL "",IDC_SLIDER_SNAPWIDTH,"msctls_trackbar32",TBS_BOTH |
- TBS_NOTICKS | WS_TABSTOP,108,24,96,12
- CONTROL "Snap windows",IDC_CHK_SNAP,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,18,24,84,12
- LTEXT "15 pix",IDC_TXT_SNAPWIDTH,216,24,42,12,SS_CENTERIMAGE
- CONTROL "For Scriver users: automatically hold down the CTRL key while moving/sizing. (Make sure you use Scriver!)",
- IDC_CHK_SCRIVERWORKAROUND,"Button",BS_AUTOCHECKBOX |
- BS_MULTILINE | WS_TABSTOP,18,44,239,20,WS_EX_TRANSPARENT
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE
-BEGIN
- IDD_OPT_MAGNETICWINDOWS, DIALOG
- BEGIN
- RIGHTMARGIN, 273
- BOTTOMMARGIN, 79
- END
-END
-#endif // APSTUDIO_INVOKED
-
-#endif // Englisch (USA) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
diff --git a/plugins/MagneticWindows/res/Version.rc b/plugins/MagneticWindows/res/Version.rc
deleted file mode 100644
index f4dbfc80e2..0000000000
--- a/plugins/MagneticWindows/res/Version.rc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Microsoft Visual C++ generated resource script.
-//
-#ifdef APSTUDIO_INVOKED
-#error this file is not editable by Microsoft Visual C++
-#endif //APSTUDIO_INVOKED
-
-#include "afxres.h"
-#include "..\src\Version.h"
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION __FILEVERSION_STRING
- PRODUCTVERSION __FILEVERSION_STRING
- FILEFLAGSMASK 0x17L
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x4L
- FILETYPE 0x0L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "000004b0"
- BEGIN
- VALUE "FileDescription", __DESCRIPTION
- VALUE "InternalName", __PLUGIN_NAME
- VALUE "LegalCopyright", __COPYRIGHT
- VALUE "OriginalFilename", __FILENAME
- VALUE "ProductName", __PLUGIN_NAME
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x0, 1200
- END
-END
diff --git a/plugins/MagneticWindows/src/MagneticWindows.cpp b/plugins/MagneticWindows/src/MagneticWindows.cpp
deleted file mode 100644
index bcf38c3036..0000000000
--- a/plugins/MagneticWindows/src/MagneticWindows.cpp
+++ /dev/null
@@ -1,143 +0,0 @@
-#include "MagneticWindowsCore.h"
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-//
-// Magnetic Windows
-//
-// Autor: Michael Kunz
-// EMail: Michael.Kunz@s2005.tu-chemnitz.de
-//
-//
-// thanks to: pescuma
-//
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Variables
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-PLUGININFOEX pluginInfo = {
- sizeof(PLUGININFOEX),
- __PLUGIN_NAME,
- PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
- __DESCRIPTION,
- __AUTHOR,
- __AUTHOREMAIL,
- __COPYRIGHT,
- __AUTHORWEB,
- UNICODE_AWARE,
- // {08C01613-24C8-486F-BDAE-2C3DDCAF9347}
- {0x8c01613, 0x24c8, 0x486f, { 0xbd, 0xae, 0x2c, 0x3d, 0xdc, 0xaf, 0x93, 0x47 }}
-};
-
-HINSTANCE hInst;
-int hLangpack;
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Plugin Functions
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-//For other Plugins to start snapping for other Windows
-INT_PTR SnapPluginWindowStart(WPARAM wParam, LPARAM)
-{
- if (!WindowOpen((HWND)wParam)) return 1;
- return 0;
-}
-
-//For other Plugins to stop snapping for other Windows
-INT_PTR SnapPluginWindowStop(WPARAM wParam, LPARAM)
-{
- if (!WindowClose((HWND)wParam)) return 1;
- return 0;
-}
-
-int PluginMessageWindowEvent(WPARAM, LPARAM lParam)
-{
- MessageWindowEventData *Data = (MessageWindowEventData*) lParam;
-
- switch (Data->uType) {
- case MSG_WINDOW_EVT_OPEN:
- {
- HWND hWnd = Data->hwndWindow;
- HWND hWndParent = GetParent(hWnd);
- while ((hWndParent != 0) && (hWndParent != GetDesktopWindow()) && (IsWindowVisible(hWndParent))) {
- hWnd = hWndParent;
- hWndParent = GetParent(hWnd);
- }
-
- WindowOpen(hWnd);
- }
- break;
-
- case MSG_WINDOW_EVT_CLOSING:
- WindowClose(Data->hwndWindow);
- break;
- }
-
- return 0;
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Main Functions
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-int SnapPluginStart(WPARAM, LPARAM)
-{
- LoadOptions();
-
- HookEvent(ME_MSG_WINDOWEVENT, PluginMessageWindowEvent);
-
- WindowOpen((HWND)CallService(MS_CLUI_GETHWND,0,0));
- return 0;
-}
-
-int SnapPluginShutDown(WPARAM, LPARAM)
-{
- WindowCloseAll();
- return 0;
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Exportet Functions
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
-{
- return &pluginInfo;
-}
-
-extern "C" int __declspec(dllexport) Load()
-{
- mir_getLP(&pluginInfo);
-
- HookEvent(ME_SYSTEM_MODULESLOADED, SnapPluginStart);
- HookEvent(ME_SYSTEM_PRESHUTDOWN, SnapPluginShutDown);
- HookEvent(ME_OPT_INITIALISE, InitOptions);
-
- CreateServiceFunction(MS_MW_ADDWINDOW, SnapPluginWindowStart);
- CreateServiceFunction(MS_MW_REMWINDOW, SnapPluginWindowStop);
- CreateServiceFunction(MS_MW_SNAPTOLIST, SnapToList);
-
- WindowStart();
- return 0;
-}
-
-extern "C" int __declspec(dllexport) Unload()
-{
- return 0;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// DLL MAIN
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
- hInst = hinstDLL;
- return TRUE;
-}
diff --git a/plugins/MagneticWindows/src/MagneticWindowsCore.cpp b/plugins/MagneticWindows/src/MagneticWindowsCore.cpp
deleted file mode 100644
index f81c29cb92..0000000000
--- a/plugins/MagneticWindows/src/MagneticWindowsCore.cpp
+++ /dev/null
@@ -1,355 +0,0 @@
-#include "MagneticWindowsCore.h"
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Variables
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-struct TWindowData
-{
- HWND hWnd;
- RECT Rect;
-};
-
-static LIST<TWindowData> arWindows(10, HandleKeySortT);
-
-TWorkingVariables Globals = {
- 0, 0,
- false, false
-};
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Functions
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-int Abs(int a) {
- return (a<0) ? -a : a;
-}
-
-void DockWindowRect(HWND hWnd, bool Sizing, RECT& GivenRect, int SizingEdge, int MouseX = 0, int MouseY = 0)
-{
- POINT p;
- int XPos, YPos;
- int tmpXPos, tmpYPos;
- int tmpMouseX, tmpMouseY;
-
- int diffX = Options.SnapWidth, diffY = Options.SnapWidth;
-
- RECT tmpRect = GivenRect;
- RECT frmRect = GivenRect;
-
- bool FoundX = false, FoundY = false;
-
- if (!Sizing) {
- GetCursorPos(&p);
- if (Globals.SnappedX) {
- tmpMouseX = p.x - tmpRect.left;
- OffsetRect(&tmpRect, tmpMouseX - MouseX, 0);
- OffsetRect(&GivenRect, tmpMouseX - MouseX, 0);
- }
- else MouseX = p.x - tmpRect.left;
-
- if (Globals.SnappedY) {
- tmpMouseY = p.y - tmpRect.top;
- OffsetRect(&tmpRect, 0, tmpMouseY - MouseY);
- OffsetRect(&GivenRect, 0, tmpMouseY - MouseY);
- }
- else MouseY = p.y - tmpRect.top;
- }
-
- int W = tmpRect.right - tmpRect.left;
- int H = tmpRect.bottom - tmpRect.top;
-
- if (!Sizing) {
- for (int i=0; i < arWindows.getCount(); i++) {
- TWindowData *p = arWindows[i];
- if (p->hWnd == hWnd)
- continue;
-
- if ((tmpRect.left >= (p->Rect.left - Options.SnapWidth)) &&
- (tmpRect.left <= (p->Rect.left + Options.SnapWidth)) &&
- ((tmpRect.top - Options.SnapWidth) < p->Rect.bottom) &
- ((tmpRect.bottom + Options.SnapWidth) > p->Rect.top) &&
- (Abs(tmpRect.left - p->Rect.left) < diffX))
- {
- GivenRect.left = p->Rect.left;
- GivenRect.right = GivenRect.left + W;
-
- diffX = Abs(tmpRect.left - p->Rect.left);
-
- FoundX = true;
- }
- else if (i != 0 &&
- (tmpRect.left >= (p->Rect.right - Options.SnapWidth)) &&
- (tmpRect.left <= (p->Rect.right + Options.SnapWidth)) &&
- ((tmpRect.top - Options.SnapWidth) < p->Rect.bottom) &&
- ((tmpRect.bottom + Options.SnapWidth) > p->Rect.top) &&
- (Abs(tmpRect.left - p->Rect.right) < diffX))
- {
- GivenRect.left = p->Rect.right;
- GivenRect.right = GivenRect.left + W;
-
- diffX = Abs(tmpRect.left - p->Rect.right);
-
- FoundX = true;
- }
- else if (i != 0 &&
- (tmpRect.right >= (p->Rect.left - Options.SnapWidth)) &&
- (tmpRect.right <= (p->Rect.left + Options.SnapWidth)) &&
- ((tmpRect.top - Options.SnapWidth) < p->Rect.bottom) &&
- ((tmpRect.bottom + Options.SnapWidth) > p->Rect.top) &&
- (Abs(tmpRect.right - p->Rect.left) < diffX))
- {
- GivenRect.right = p->Rect.left;
- GivenRect.left = GivenRect.right - W;
-
- diffX = Abs(tmpRect.right - p->Rect.left);
-
- FoundX = true;
- }
- else if ((tmpRect.right >= (p->Rect.right - Options.SnapWidth)) &&
- (tmpRect.right <= (p->Rect.right + Options.SnapWidth)) &&
- ((tmpRect.top - Options.SnapWidth) < p->Rect.bottom) &&
- ((tmpRect.bottom + Options.SnapWidth) > p->Rect.top) &&
- (Abs(tmpRect.right - p->Rect.right) < diffX))
- {
- GivenRect.right = p->Rect.right;
- GivenRect.left = GivenRect.right - W;
-
- diffX = Abs(tmpRect.right - p->Rect.right);
-
- FoundX = true;
- }
-
- if ((tmpRect.top >= (p->Rect.top - Options.SnapWidth)) &&
- (tmpRect.top <= (p->Rect.top + Options.SnapWidth)) &&
- ((tmpRect.left - Options.SnapWidth) < p->Rect.right) &&
- ((tmpRect.right + Options.SnapWidth) > p->Rect.left) &&
- (Abs(tmpRect.top - p->Rect.top) < diffY))
- {
- GivenRect.top = p->Rect.top;
- GivenRect.bottom = GivenRect.top + H;
-
- diffY = Abs(tmpRect.top - p->Rect.top);
-
- FoundY = true;
- }
- else if (i != 0 &&
- (tmpRect.top >= (p->Rect.bottom - Options.SnapWidth)) &&
- (tmpRect.top <= (p->Rect.bottom + Options.SnapWidth)) &&
- ((tmpRect.left - Options.SnapWidth) < p->Rect.right) &&
- ((tmpRect.right + Options.SnapWidth) > p->Rect.left) &&
- (Abs(tmpRect.top - p->Rect.bottom) < diffY))
- {
- GivenRect.top = p->Rect.bottom;
- GivenRect.bottom = GivenRect.top + H;
-
- diffY = Abs(tmpRect.top - p->Rect.bottom);
-
- FoundY = true;
- }
- else if (i != 0 &&
- (tmpRect.bottom >= (p->Rect.top - Options.SnapWidth)) &&
- (tmpRect.bottom <= (p->Rect.top + Options.SnapWidth)) &&
- ((tmpRect.left - Options.SnapWidth) < p->Rect.right) &&
- ((tmpRect.right + Options.SnapWidth) > p->Rect.left) &&
- (Abs(tmpRect.bottom - p->Rect.top) < diffY))
- {
- GivenRect.bottom = p->Rect.top;
- GivenRect.top = GivenRect.bottom - H;
-
- diffY = Abs(tmpRect.bottom - p->Rect.top);
-
- FoundY = true;
- }
- else if ((tmpRect.bottom >= (p->Rect.bottom - Options.SnapWidth)) &&
- (tmpRect.bottom <= (p->Rect.bottom + Options.SnapWidth)) &&
- ((tmpRect.left - Options.SnapWidth) < p->Rect.right) &&
- ((tmpRect.right + Options.SnapWidth) > p->Rect.left) &&
- (Abs(tmpRect.bottom - p->Rect.bottom) < diffY))
- {
- GivenRect.bottom = p->Rect.bottom;
- GivenRect.top = GivenRect.bottom - H;
-
- diffY = Abs(tmpRect.bottom - p->Rect.bottom);
-
- FoundY = true;
- }
- }
-
- Globals.SnappedX = FoundX;
- Globals.SnappedY = FoundY;
- }
- else //Sizing
- {
- if (SizingEdge == WMSZ_LEFT || SizingEdge == WMSZ_TOPLEFT || SizingEdge == WMSZ_BOTTOMLEFT)
- XPos = GivenRect.left;
- else
- XPos = GivenRect.right;
-
- if (SizingEdge == WMSZ_TOP || SizingEdge == WMSZ_TOPLEFT || SizingEdge == WMSZ_TOPRIGHT)
- YPos = GivenRect.top;
- else
- YPos = GivenRect.bottom;
-
- tmpXPos = XPos;
- tmpYPos = YPos;
-
- for (int i=0; i < arWindows.getCount(); i++) {
- TWindowData *p = arWindows[i];
- if (p->hWnd == hWnd)
- continue;
-
- if ((tmpXPos >= (p->Rect.left - Options.SnapWidth)) &&
- (tmpXPos <= (p->Rect.left + Options.SnapWidth)) &&
- ((tmpRect.top - Options.SnapWidth) < p->Rect.bottom) &&
- ((tmpRect.bottom + Options.SnapWidth) > p->Rect.top) &&
- (Abs(tmpXPos - p->Rect.left) < diffX))
- {
- XPos = p->Rect.left;
- diffX = Abs(tmpXPos - p->Rect.left);
- }
- else if ((tmpXPos >= (p->Rect.right - Options.SnapWidth)) &&
- (tmpXPos <= (p->Rect.right + Options.SnapWidth)) &&
- ((tmpRect.top - Options.SnapWidth) < p->Rect.bottom) &&
- ((tmpRect.bottom + Options.SnapWidth) > p->Rect.top) &&
- (Abs(tmpXPos - p->Rect.right) < diffX))
- {
- XPos = p->Rect.right;
- diffX = Abs(tmpXPos - p->Rect.right);
- }
-
- if ((tmpYPos >= (p->Rect.top - Options.SnapWidth)) &&
- (tmpYPos <= (p->Rect.top + Options.SnapWidth)) &&
- ((tmpRect.left - Options.SnapWidth) < p->Rect.right) &&
- ((tmpRect.right + Options.SnapWidth) > p->Rect.left) &&
- (Abs(tmpYPos - p->Rect.top) < diffY))
- {
- YPos = p->Rect.top;
- diffY = Abs(tmpYPos - p->Rect.top);
- }
- else if ((tmpYPos >= (p->Rect.bottom - Options.SnapWidth)) &&
- (tmpYPos <= (p->Rect.bottom + Options.SnapWidth)) &&
- ((tmpRect.left - Options.SnapWidth) < p->Rect.right) &&
- ((tmpRect.right + Options.SnapWidth) > p->Rect.left) &&
- (Abs(tmpYPos - p->Rect.bottom) < diffY))
- {
- YPos = p->Rect.bottom;
- diffY = Abs(tmpYPos - p->Rect.bottom);
- }
- }
-
- if (SizingEdge == WMSZ_LEFT || SizingEdge == WMSZ_TOPLEFT || SizingEdge == WMSZ_BOTTOMLEFT)
- GivenRect.left = XPos;
- else
- GivenRect.right = XPos;
-
- if (SizingEdge == WMSZ_TOP || SizingEdge == WMSZ_TOPLEFT || SizingEdge == WMSZ_TOPRIGHT)
- GivenRect.top = YPos;
- else
- GivenRect.bottom = YPos;
- }
-}
-
-void GetFrmRects(HWND ForWindow)
-{
- SystemParametersInfo(SPI_GETWORKAREA, 0, &arWindows[0]->Rect, 0);
-
- for (int i=1; i < arWindows.getCount(); i++) {
- TWindowData *p = arWindows[i];
- if (p->hWnd != ForWindow && IsWindowVisible(p->hWnd))
- GetWindowRect(p->hWnd, &p->Rect);
- }
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// Subclass Window Proc
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-LRESULT CALLBACK WindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
-{
- RECT r;
- POINT p;
-
- if (Options.DoSnap) {
- switch (Msg) {
- case WM_ENTERSIZEMOVE:
- if (Options.ScriverWorkAround)
- keybd_event(VK_CONTROL, 0, 0, 0);
-
- GetWindowRect(hWnd, &r);
- GetCursorPos(&p);
- Globals.MouseX = p.x - r.left;
- Globals.MouseY = p.y - r.top;
- GetFrmRects(hWnd);
- break;
-
- case WM_EXITSIZEMOVE:
- if (Options.ScriverWorkAround)
- keybd_event(VK_CONTROL, 0, KEYEVENTF_KEYUP, 0);
- break;
-
- case WM_SIZING:
- case WM_MOVING:
- r = *((PRECT)lParam);
- if (Msg == WM_SIZING)
- DockWindowRect(hWnd, true, r, wParam);
- else
- DockWindowRect(hWnd, false, r, wParam, Globals.MouseX, Globals.MouseY);
-
- (*(PRECT)lParam) = r;
-
- if (Msg == WM_SIZING)
- return 1;
-
- break;
- }
- }
-
- return mir_callNextSubclass(hWnd, WindowProc, Msg, wParam, lParam);
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-// exportet Functions
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-void WindowStart()
-{
- TWindowData *p = (TWindowData*)mir_calloc(sizeof(TWindowData));
- arWindows.insert(p);
-}
-
-bool WindowOpen(HWND hWnd)
-{
- if (hWnd == 0)
- return false;
-
- TWindowData *p = (TWindowData*)mir_alloc(sizeof(TWindowData));
- p->hWnd = hWnd;
- GetWindowRect(hWnd, &p->Rect);
- arWindows.insert(p);
-
- mir_subclassWindow(hWnd, WindowProc);
- return true;
-}
-
-bool WindowClose(HWND hWnd)
-{
- if (hWnd == 0)
- return false;
-
- mir_unsubclassWindow(hWnd, WindowProc);
- int idx = arWindows.indexOf((TWindowData*)&hWnd);
- if (idx != -1) {
- TWindowData *p = arWindows[idx];
- arWindows.remove(idx);
- mir_free(p);
- }
- return true;
-}
-
-void WindowCloseAll()
-{
- for (int i=0; i < arWindows.getCount(); i++)
- mir_free(arWindows[i]);
- arWindows.destroy();
-}
diff --git a/plugins/MagneticWindows/src/MagneticWindowsCore.h b/plugins/MagneticWindows/src/MagneticWindowsCore.h
deleted file mode 100644
index aaff256590..0000000000
--- a/plugins/MagneticWindows/src/MagneticWindowsCore.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#include <windows.h>
-#include <commctrl.h>
-#include <stdio.h>
-
-#include <newpluginapi.h>
-#include <m_clist.h>
-#include <m_clui.h>
-#include <m_message.h>
-#include <m_system.h>
-#include <m_options.h>
-#include <m_database.h>
-#include <m_langpack.h>
-#include <m_MagneticWindows.h>
-
-#include "SnapToListService.h"
-#include "Options.h"
-
-#include "resource.h"
-#include "Version.h"
-
-typedef
- struct {
- int MouseX, MouseY;
- bool SnappedX, SnappedY;
- } TWorkingVariables;
-
-
-
-#define MODULE_NAME "MagneticWindows"
-extern HINSTANCE hInst;
-
-void WindowStart();
-bool WindowOpen(HWND);
-bool WindowClose(HWND);
-void WindowCloseAll();
diff --git a/plugins/MagneticWindows/src/Options.cpp b/plugins/MagneticWindows/src/Options.cpp
deleted file mode 100644
index 6729e33861..0000000000
--- a/plugins/MagneticWindows/src/Options.cpp
+++ /dev/null
@@ -1,96 +0,0 @@
-#include "MagneticWindowsCore.h"
-
-TOptions Options = {
- true,
- cDefaultSnapWidth,
- false
-};
-
-INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
-{
- TCHAR str[64];
-
- switch (msg) {
- case WM_INITDIALOG:
- TranslateDialogDefault(hwndDlg);
-
- CheckDlgButton(hwndDlg, IDC_CHK_SNAP, Options.DoSnap?BST_CHECKED:BST_UNCHECKED);
- SendDlgItemMessage(hwndDlg, IDC_SLIDER_SNAPWIDTH, TBM_SETRANGE, FALSE, MAKELONG(1,32));
- SendDlgItemMessage(hwndDlg, IDC_SLIDER_SNAPWIDTH, TBM_SETPOS, TRUE, Options.SnapWidth);
-
- mir_sntprintf(str, SIZEOF(str),TranslateT("%d pix"), Options.SnapWidth);
- SetDlgItemText(hwndDlg, IDC_TXT_SNAPWIDTH, str);
-
- EnableWindow(GetDlgItem(hwndDlg, IDC_SLIDER_SNAPWIDTH), Options.DoSnap);
- EnableWindow(GetDlgItem(hwndDlg, IDC_TXT_SNAPWIDTH), Options.DoSnap);
-
- CheckDlgButton(hwndDlg, IDC_CHK_SCRIVERWORKAROUND, Options.ScriverWorkAround?BST_CHECKED:BST_UNCHECKED);
- break;
-
- case WM_HSCROLL:
- mir_sntprintf(str, SIZEOF(str), TranslateT("%d pix"), SendDlgItemMessage(hwndDlg, IDC_SLIDER_SNAPWIDTH, TBM_GETPOS, 0, 0));
- SetDlgItemText(hwndDlg, IDC_TXT_SNAPWIDTH, str);
- SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
- break;
-
- case WM_COMMAND:
- switch( LOWORD(wParam)) {
- case IDC_CHK_SNAP:
- if (HIWORD(wParam) == BN_CLICKED) {
- EnableWindow(GetDlgItem(hwndDlg, IDC_SLIDER_SNAPWIDTH), IsDlgButtonChecked(hwndDlg, IDC_CHK_SNAP));
- EnableWindow(GetDlgItem(hwndDlg, IDC_TXT_SNAPWIDTH), IsDlgButtonChecked(hwndDlg, IDC_CHK_SNAP));
-
- SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
- }
- break;
-
- case IDC_CHK_SCRIVERWORKAROUND:
- if (HIWORD(wParam) == BN_CLICKED)
- SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
- break;
- }
- break;
-
- case WM_NOTIFY: //Here we have pressed either the OK or the APPLY button.
- switch(((LPNMHDR)lParam)->idFrom) {
- case 0:
- switch (((LPNMHDR)lParam)->code) {
- case PSN_RESET:
- LoadOptions();
- break;
-
- case PSN_APPLY:
- Options.DoSnap = (IsDlgButtonChecked(hwndDlg, IDC_CHK_SNAP) == TRUE);
- Options.SnapWidth = SendDlgItemMessage(hwndDlg, IDC_SLIDER_SNAPWIDTH, TBM_GETPOS, 0, 0);
- Options.ScriverWorkAround = (IsDlgButtonChecked(hwndDlg, IDC_CHK_SCRIVERWORKAROUND) == TRUE);
-
- db_set_b(NULL, MODULE_NAME, "DoSnap", Options.DoSnap);
- db_set_b(NULL, MODULE_NAME, "SnapWidth", Options.SnapWidth);
- db_set_b(NULL, MODULE_NAME, "ScriverWorkAround", Options.ScriverWorkAround);
- break;
- }
- }
- break;
- }
- return 0;
-}
-
-int InitOptions(WPARAM wParam, LPARAM)
-{
- OPTIONSDIALOGPAGE Opt = { sizeof(Opt) };
- Opt.pfnDlgProc = OptionsDlgProc;
- Opt.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_MAGNETICWINDOWS);
- Opt.hInstance = hInst;
- Opt.pszGroup = LPGEN("Customize");
- Opt.pszTitle = LPGEN("Magnetic Windows");
- Opt.flags = ODPF_BOLDGROUPS;
- Options_AddPage(wParam, &Opt);
- return 0;
-}
-
-void LoadOptions()
-{
- Options.DoSnap = db_get_b(NULL, MODULE_NAME, "DoSnap", 1) != 0;
- Options.SnapWidth = db_get_b(NULL, MODULE_NAME, "SnapWidth", cDefaultSnapWidth);
- Options.ScriverWorkAround = db_get_b(NULL, MODULE_NAME, "ScriverWorkAround", 0) != 0;
-}
diff --git a/plugins/MagneticWindows/src/Options.h b/plugins/MagneticWindows/src/Options.h
deleted file mode 100644
index 1e9affa629..0000000000
--- a/plugins/MagneticWindows/src/Options.h
+++ /dev/null
@@ -1,16 +0,0 @@
-
-#define cDefaultSnapWidth 12
-
-typedef
- struct TOptions {
- bool DoSnap;
- int SnapWidth;
- bool ScriverWorkAround;
-} TOptions;
-
-extern TOptions Options;
-
-INT_PTR CALLBACK OptionsDlgProc(HWND, UINT, WPARAM, LPARAM);
-
-int InitOptions(WPARAM, LPARAM);
-void LoadOptions(); \ No newline at end of file
diff --git a/plugins/MagneticWindows/src/SnapToListService.cpp b/plugins/MagneticWindows/src/SnapToListService.cpp
deleted file mode 100644
index 586fa594b1..0000000000
--- a/plugins/MagneticWindows/src/SnapToListService.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-#include "MagneticWindowsCore.h"
-
-INT_PTR SnapToList(WPARAM wParam, LPARAM Align)
-{
- HWND hWnd, hWndList;
- RECT WndRect, ListRect;
- RECT AlignRect;
- RECT ResultRect;
-
- hWnd = (HWND)wParam;
-
- hWndList = (HWND)CallService(MS_CLUI_GETHWND,0,0);
- GetWindowRect(hWnd, &WndRect);
- GetWindowRect(hWndList, &ListRect);
-
- AlignRect = ListRect;
- if ((!(MS_MW_STL_List_Left & Align)) && (MS_MW_STL_List_Right & Align)) {
- AlignRect.left = AlignRect.right;
- } else
- if ((MS_MW_STL_List_Left & Align) && (!(MS_MW_STL_List_Right & Align))) {
- AlignRect.right = AlignRect.left;
- }
-
- if ((!(MS_MW_STL_List_Top & Align)) && (MS_MW_STL_List_Bottom & Align)) {
- AlignRect.top = AlignRect.bottom;
- } else
- if ((MS_MW_STL_List_Top & Align) && (!(MS_MW_STL_List_Bottom & Align))) {
- AlignRect.bottom = AlignRect.top;
- }
-
- ResultRect = WndRect;
- if ((MS_MW_STL_Wnd_Left & Align) && (MS_MW_STL_Wnd_Right & Align)) {
- ResultRect.left = AlignRect.left;
- ResultRect.right = AlignRect.right;
- } else
- if ((!(MS_MW_STL_Wnd_Left & Align)) && (MS_MW_STL_Wnd_Right & Align)) {
- ResultRect.left = AlignRect.right - (WndRect.right - WndRect.left);
- ResultRect.right = AlignRect.right;
- } else
- if ((MS_MW_STL_Wnd_Left & Align) && (!(MS_MW_STL_Wnd_Right & Align))) {
- ResultRect.left = AlignRect.left;
- ResultRect.right = AlignRect.left + (WndRect.right - WndRect.left);
- }
-
- if ((MS_MW_STL_Wnd_Top & Align) && (MS_MW_STL_Wnd_Bottom & Align)) {
- ResultRect.top = AlignRect.top;
- ResultRect.bottom = AlignRect.bottom;
- } else
- if ((!(MS_MW_STL_Wnd_Top & Align)) && (MS_MW_STL_Wnd_Bottom & Align)) {
- ResultRect.top = AlignRect.bottom - (WndRect.bottom - WndRect.top);
- ResultRect.bottom = AlignRect.bottom;
- } else
- if ((MS_MW_STL_Wnd_Top & Align) && (!(MS_MW_STL_Wnd_Bottom & Align))) {
- ResultRect.top = AlignRect.top;
- ResultRect.bottom = AlignRect.top + (WndRect.bottom - WndRect.top);
- }
-
- MoveWindow(hWnd, ResultRect.left, ResultRect.top, ResultRect.right-ResultRect.left, ResultRect.bottom-ResultRect.top, true);
-
- return 0;
-} \ No newline at end of file
diff --git a/plugins/MagneticWindows/src/SnapToListService.h b/plugins/MagneticWindows/src/SnapToListService.h
deleted file mode 100644
index 3a421c454d..0000000000
--- a/plugins/MagneticWindows/src/SnapToListService.h
+++ /dev/null
@@ -1,2 +0,0 @@
-
-INT_PTR SnapToList(WPARAM, LPARAM);
diff --git a/plugins/MagneticWindows/src/Version.h b/plugins/MagneticWindows/src/Version.h
deleted file mode 100644
index 681fda66a6..0000000000
--- a/plugins/MagneticWindows/src/Version.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 0
-#define __RELEASE_NUM 3
-#define __BUILD_NUM 2
-
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-
-#define __PLUGIN_NAME "Magnetic Windows"
-#define __FILENAME "MagneticWindows.dll"
-#define __DESCRIPTION "Makes the main contactlist and the chat windows snapping to the desktop border and to each other."
-#define __AUTHOR "Michael Kunz"
-#define __AUTHOREMAIL "Michael.Kunz@s2005.TU-Cemnitz.de"
-#define __AUTHORWEB "http://miranda-ng.org/p/MagneticWindows/"
-#define __COPYRIGHT "© 2006 Michael Kunz"
diff --git a/plugins/MagneticWindows/src/resource.h b/plugins/MagneticWindows/src/resource.h
deleted file mode 100644
index a651a69a50..0000000000
--- a/plugins/MagneticWindows/src/resource.h
+++ /dev/null
@@ -1,25 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Developer Studio generated include file.
-// Used by Options.rc
-//
-
-#define IDD_OPT_MAGNETICWINDOWS 101
-
-
-#define IDC_MAINFRAME 1001
-#define IDC_SLIDER_SNAPWIDTH 1002
-#define IDC_CHK_SNAP 1003
-#define IDC_TXT_SNAPWIDTH 1004
-#define IDC_CHK_SCRIVERWORKAROUND 1005
-
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 102
-#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1006
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
diff --git a/plugins/MagneticWindows/src/stdafx.cpp b/plugins/MagneticWindows/src/stdafx.cpp
deleted file mode 100644
index 5fe904d242..0000000000
--- a/plugins/MagneticWindows/src/stdafx.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
-Copyright (C) 2012-13 Miranda NG Project (http://miranda-ng.org)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation version 2
-of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "MagneticWindowsCore.h" \ No newline at end of file