From 767a5da6c15a6ad2838eaa84e54800ceec5e9bed Mon Sep 17 00:00:00 2001 From: Haibo Date: Mon, 16 Jul 2018 22:43:56 +0800 Subject: [PATCH] =?UTF-8?q?VS=E9=A1=B9=E7=9B=AE=E6=96=87=E4=BB=B6=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/Common/String.cpp | 1 - core/Node/Node.cpp | 1 - core/Tool/File.cpp | 2 +- core/Tool/Path.cpp | 2 -- core/e2dmacros.h | 1 + project/vs2012/Easy2D.vcxproj | 6 +++--- project/vs2012/Easy2D.vcxproj.filters | 18 ++++++++++-------- project/vs2013/Easy2D.vcxproj | 6 +++--- project/vs2013/Easy2D.vcxproj.filters | 18 ++++++++++-------- project/vs2017/Easy2D.vcxproj | 2 +- 10 files changed, 29 insertions(+), 28 deletions(-) diff --git a/core/Common/String.cpp b/core/Common/String.cpp index 65a39ae6..cecd72c6 100644 --- a/core/Common/String.cpp +++ b/core/Common/String.cpp @@ -1,7 +1,6 @@ #include "..\e2dcommon.h" #include #include -#include #include #pragma comment(lib, "comsuppw.lib") diff --git a/core/Node/Node.cpp b/core/Node/Node.cpp index 60519c01..29bed8c6 100644 --- a/core/Node/Node.cpp +++ b/core/Node/Node.cpp @@ -1,7 +1,6 @@ #include "..\e2dnode.h" #include "..\e2dmanager.h" #include "..\e2daction.h" -#include const e2d::Node::Property e2d::Node::Property::Origin = { 0 }; diff --git a/core/Tool/File.cpp b/core/Tool/File.cpp index 960a8ba5..7c2f9389 100644 --- a/core/Tool/File.cpp +++ b/core/Tool/File.cpp @@ -58,7 +58,7 @@ bool e2d::File::exists() const bool e2d::File::isFolder() const { - return _attributes & FILE_ATTRIBUTE_DIRECTORY; + return (_attributes & FILE_ATTRIBUTE_DIRECTORY) != 0; } e2d::String e2d::File::getFilePath() const diff --git a/core/Tool/Path.cpp b/core/Tool/Path.cpp index 714ef319..186b475e 100644 --- a/core/Tool/Path.cpp +++ b/core/Tool/Path.cpp @@ -1,6 +1,4 @@ #include "..\e2dtool.h" -#include - extern "C" const GUID DECLSPEC_SELECTANY FOLDERID_LocalAppData = { 0xF1B32785, 0x6FBA, 0x4FCF, { 0x9D, 0x55, 0x7B, 0x8E, 0x7F, 0x15, 0x70, 0x91 } diff --git a/core/e2dmacros.h b/core/e2dmacros.h index bd4fd1ed..d64ee1cc 100644 --- a/core/e2dmacros.h +++ b/core/e2dmacros.h @@ -49,6 +49,7 @@ #include #include #include +#include // Import Libraries #pragma comment(lib, "d2d1.lib") diff --git a/project/vs2012/Easy2D.vcxproj b/project/vs2012/Easy2D.vcxproj index 6f8e2110..f6e7174c 100644 --- a/project/vs2012/Easy2D.vcxproj +++ b/project/vs2012/Easy2D.vcxproj @@ -21,7 +21,6 @@ - @@ -59,7 +58,6 @@ - @@ -76,9 +74,11 @@ + + + - diff --git a/project/vs2012/Easy2D.vcxproj.filters b/project/vs2012/Easy2D.vcxproj.filters index f91bf190..d34ca1f8 100644 --- a/project/vs2012/Easy2D.vcxproj.filters +++ b/project/vs2012/Easy2D.vcxproj.filters @@ -22,20 +22,19 @@ {337d5a0f-60fd-473a-83da-b2a3515affd9} - - {4ff7f97f-95dd-4060-badc-0362c74a7318} - {f0ed2748-5199-48d1-930c-286afd27c235} {8ef0d8e2-1138-40c0-a1a8-0eb681721f4e} + + {69654184-01f6-4729-9559-802cd79bcb4b} + - @@ -254,11 +253,14 @@ Manager - - Manager + + Event - - Common + + Event + + + Event \ No newline at end of file diff --git a/project/vs2013/Easy2D.vcxproj b/project/vs2013/Easy2D.vcxproj index a10727f2..94595c9b 100644 --- a/project/vs2013/Easy2D.vcxproj +++ b/project/vs2013/Easy2D.vcxproj @@ -165,7 +165,6 @@ - @@ -203,7 +202,6 @@ - @@ -220,9 +218,11 @@ + + + - diff --git a/project/vs2013/Easy2D.vcxproj.filters b/project/vs2013/Easy2D.vcxproj.filters index daa42ee3..12e5a74d 100644 --- a/project/vs2013/Easy2D.vcxproj.filters +++ b/project/vs2013/Easy2D.vcxproj.filters @@ -25,17 +25,16 @@ {47b7c15b-ac05-4773-a9ee-7aa352830f02} - - {2092de23-7fdd-430a-9936-1038c55b504b} - {7660a3fa-36f9-4b1b-8942-e38e02c0c95b} + + {c597916e-c162-41a4-849a-c568513f6d14} + - @@ -254,11 +253,14 @@ Manager - - Manager + + Event - - Common + + Event + + + Event \ No newline at end of file diff --git a/project/vs2017/Easy2D.vcxproj b/project/vs2017/Easy2D.vcxproj index 0635fa13..1f305c7b 100644 --- a/project/vs2017/Easy2D.vcxproj +++ b/project/vs2017/Easy2D.vcxproj @@ -23,7 +23,7 @@ {FF7F943D-A89C-4E6C-97CF-84F7D8FF8EDF} Win32Proj Easy2D - 10.0.16299.0 + 10.0.17134.0