From 680ad60c2bf4782e1f639f59ae8fe787a0cbfbb2 Mon Sep 17 00:00:00 2001 From: omigamedev Date: Sun, 17 Mar 2019 16:11:44 +0100 Subject: [PATCH] update yoga --- PanoPainter.vcxproj | 126 ++++++++++++++++++++++++++++++++---- PanoPainter.vcxproj.filters | 51 +++++++++------ android/CMakeLists.txt | 13 +++- data/layout.xml | 38 +++++------ libs/yoga | 2 +- src/node.cpp | 4 +- 6 files changed, 179 insertions(+), 55 deletions(-) diff --git a/PanoPainter.vcxproj b/PanoPainter.vcxproj index 0ad5ff6..4284054 100644 --- a/PanoPainter.vcxproj +++ b/PanoPainter.vcxproj @@ -112,7 +112,7 @@ Use Level3 Disabled - DEBUG;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + ENUM_BITFIELDS_NOT_SUPPORTED;DEBUG;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) pch.h false @@ -153,7 +153,7 @@ MaxSpeed true true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + ENUM_BITFIELDS_NOT_SUPPORTED;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) pch.h MultiThreadedDLL false @@ -189,6 +189,116 @@ NotUsing NotUsing + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + + + NotUsing + NotUsing + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + $(IntDir)yoga\ + @@ -310,14 +420,6 @@ Use Use - - NotUsing - NotUsing - - - NotUsing - NotUsing - @@ -394,10 +496,6 @@ - - - - diff --git a/PanoPainter.vcxproj.filters b/PanoPainter.vcxproj.filters index 21a39d2..9f57f61 100644 --- a/PanoPainter.vcxproj.filters +++ b/PanoPainter.vcxproj.filters @@ -258,12 +258,6 @@ Source Files\ui - - libs\yoga - - - libs\yoga - Source Files\ui @@ -315,6 +309,39 @@ Source Files + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + + + libs\yoga + @@ -491,18 +518,6 @@ Header Files\ui - - libs\yoga - - - libs\yoga - - - libs\yoga - - - libs\yoga - Header Files\ui diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index 113217a..8bd9fb3 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -21,8 +21,17 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") add_library( native-lib SHARED - ../libs/yoga/yoga/YGNodeList.c - ../libs/yoga/yoga/Yoga.c + ../libs/yoga/yoga/log.cpp + ../libs/yoga/yoga/Utils.cpp + ../libs/yoga/yoga/YGConfig.cpp + ../libs/yoga/yoga/YGEnums.cpp + ../libs/yoga/yoga/YGLayout.cpp + ../libs/yoga/yoga/YGMarker.cpp + ../libs/yoga/yoga/YGNode.cpp + ../libs/yoga/yoga/YGNodePrint.cpp + ../libs/yoga/yoga/YGStyle.cpp + ../libs/yoga/yoga/YGValue.cpp + ../libs/yoga/yoga/Yoga.cpp ../libs/tinyxml2/tinyxml2.cpp ../libs/jpeg/jpgd.cpp ../libs/jpeg/jpge.cpp diff --git a/data/layout.xml b/data/layout.xml index d7ec945..42f3e56 100644 --- a/data/layout.xml +++ b/data/layout.xml @@ -137,7 +137,7 @@ - + @@ -168,7 +168,7 @@ - + @@ -1087,13 +1087,13 @@ - + - + - + -