File tree 14 files changed +56
-37
lines changed
CSSLayout/CssLayoutEngine 14 files changed +56
-37
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSAlign
6
6
{
7
- AUTO ,
8
- FLEX_START ,
9
- CENTER ,
10
- FLEX_END ,
11
- STRETCH
7
+ Auto ,
8
+ FlexStart ,
9
+ Center ,
10
+ FlexEnd ,
11
+ Stretch
12
12
};
13
13
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSDirection
6
6
{
7
- INHERIT ,
7
+ Inherit ,
8
8
LTR,
9
9
RTL,
10
10
};
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSFlexDirection
6
6
{
7
- COLUMN ,
8
- COLUMN_REVERSE ,
9
- ROW ,
10
- ROW_REVERSE
7
+ Column ,
8
+ ColumnReverse ,
9
+ Row ,
10
+ RowReverse
11
11
};
12
12
}
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSJustify
6
6
{
7
- FLEX_START ,
8
- CENTER ,
9
- FLEX_END ,
10
- SPACE_BETWEEN ,
11
- SPACE_AROUND ,
7
+ FlexStart ,
8
+ Center ,
9
+ FlexEnd ,
10
+ SpaceBetween ,
11
+ SpaceAround ,
12
12
};
13
13
}
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSMeasureMode
6
6
{
7
- UNDEFINED ,
8
- EXACTLY ,
9
- AT_MOST ,
7
+ Undefined ,
8
+ Exactly ,
9
+ AtMost ,
10
10
};
11
11
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSOverflow
6
6
{
7
- VISIBLE ,
8
- HIDDEN ,
7
+ Visible ,
8
+ Hidden ,
9
9
};
10
10
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSPositionType
6
6
{
7
- RELATIVE ,
8
- ABSOLUTE ,
7
+ Relative ,
8
+ Absolute ,
9
9
};
10
10
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace CssLayoutEngine
4
4
{
5
5
public enum class CSSWrap
6
6
{
7
- NOWRAP ,
8
- WRAP ,
7
+ NoWrap ,
8
+ Wrap ,
9
9
};
10
10
}
Original file line number Diff line number Diff line change 212
212
<ClInclude Include =" CSSDirection.h" />
213
213
<ClInclude Include =" CSSFlexDirection.h" />
214
214
<ClInclude Include =" CSSJustify.h" />
215
+ <ClInclude Include =" CSSLayoutContext.h" />
215
216
<ClInclude Include =" CSSMeasureMode.h" />
216
217
<ClInclude Include =" CSSOverflow.h" />
217
218
<ClInclude Include =" CSSPositionType.h" />
218
219
<ClInclude Include =" CSSWrap.h" />
220
+ <ClInclude Include =" LayoutEngine.h" />
221
+ <ClInclude Include =" MeasureOutput.h" />
219
222
<ClInclude Include =" pch.h" />
220
223
<ClInclude Include =" SpacingType.h" />
221
224
</ItemGroup >
222
225
<ItemGroup >
223
226
<ClCompile Include =" CSSConstants.cpp" />
227
+ <ClCompile Include =" LayoutEngine.cpp" />
224
228
<ClCompile Include =" pch.cpp" >
225
229
<PrecompiledHeader Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >Create</PrecompiledHeader >
226
230
<PrecompiledHeader Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >Create</PrecompiledHeader >
Original file line number Diff line number Diff line change 9
9
<ItemGroup >
10
10
<ClCompile Include =" pch.cpp" />
11
11
<ClCompile Include =" CSSConstants.cpp" />
12
+ <ClCompile Include =" LayoutEngine.cpp" />
12
13
</ItemGroup >
13
14
<ItemGroup >
14
15
<ClInclude Include =" pch.h" />
23
24
<ClInclude Include =" CSSFlexDirection.h" />
24
25
<ClInclude Include =" CSSMeasureMode.h" />
25
26
<ClInclude Include =" CSSCachedMeasurement.h" />
27
+ <ClInclude Include =" CSSLayoutContext.h" />
28
+ <ClInclude Include =" MeasureOutput.h" />
29
+ <ClInclude Include =" LayoutEngine.h" />
26
30
</ItemGroup >
27
31
</Project >
Original file line number Diff line number Diff line change
1
+ #include " pch.h"
2
+ #include " LayoutEngine.h"
3
+
4
+ #include " CSSFlexDirection.h"
5
+ #include " CSSPositionType.h"
6
+
7
+ using namespace CssLayoutEngine ;
8
+
9
+ int CSS_FLEX_DIRECTION_COLUMN = (int )CSSFlexDirection::Column;
10
+ int CSS_FLEX_DIRECTION_COLUMN_REVERSE = (int )CSSFlexDirection::ColumnReverse;
11
+ int CSS_FLEX_DIRECTION_ROW = (int )CSSFlexDirection::Row;
12
+ int CSS_FLEX_DIRECTION_ROW_REVERSE = (int )CSSFlexDirection::RowReverse;
13
+
14
+ int CSS_POSITION_RELATIVE = (int )CSSPositionType::Relative;
15
+ int CSS_POSITION_ABSOLUTE = (int )CSSPositionType::Absolute;
Original file line number Diff line number Diff line change
1
+ #pragma once
2
+
3
+ namespace CssLayoutEngine
4
+ {
5
+ public ref class LayoutEngine sealed
6
+ {
7
+
8
+ };
9
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 171
171
<Compile Include =" Collections\HeapBasedPriorityQueue.cs" />
172
172
<Compile Include =" Collections\ListExtensions.cs" />
173
173
<Compile Include =" Common\WindowsPlatformHelper.cs" />
174
- <Compile Include =" CssLayout\Native.cs" />
175
174
<Compile Include =" DevSupport\DebugServerException.cs" />
176
175
<Compile Include =" DevSupport\DevInternalSettings.cs" />
177
176
<Compile Include =" DevSupport\DevOptionDialog.xaml.cs" >
You can’t perform that action at this time.
0 commit comments