-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Differential Revision: D4244360 fbshipit-source-id: c9fcbdd231098c9ff230a6055676bbc7cbd11001
- Loading branch information
Emil Sjolander
authored and
Martin Konicek
committed
Dec 12, 2016
1 parent
11a2b21
commit d414fdc
Showing
55 changed files
with
2,212 additions
and
1,902 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
/** | ||
* Copyright (c) 2014-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
|
||
typedef enum YGFlexDirection { | ||
YGFlexDirectionColumn, | ||
YGFlexDirectionColumnReverse, | ||
YGFlexDirectionRow, | ||
YGFlexDirectionRowReverse, | ||
YGFlexDirectionCount, | ||
} YGFlexDirection; | ||
|
||
typedef enum YGMeasureMode { | ||
YGMeasureModeUndefined, | ||
YGMeasureModeExactly, | ||
YGMeasureModeAtMost, | ||
YGMeasureModeCount, | ||
} YGMeasureMode; | ||
|
||
typedef enum YGPrintOptions { | ||
YGPrintOptionsLayout = 1, | ||
YGPrintOptionsStyle = 2, | ||
YGPrintOptionsChildren = 4, | ||
YGPrintOptionsCount, | ||
} YGPrintOptions; | ||
|
||
typedef enum YGEdge { | ||
YGEdgeLeft, | ||
YGEdgeTop, | ||
YGEdgeRight, | ||
YGEdgeBottom, | ||
YGEdgeStart, | ||
YGEdgeEnd, | ||
YGEdgeHorizontal, | ||
YGEdgeVertical, | ||
YGEdgeAll, | ||
YGEdgeCount, | ||
} YGEdge; | ||
|
||
typedef enum YGPositionType { | ||
YGPositionTypeRelative, | ||
YGPositionTypeAbsolute, | ||
YGPositionTypeCount, | ||
} YGPositionType; | ||
|
||
typedef enum YGDimension { | ||
YGDimensionWidth, | ||
YGDimensionHeight, | ||
YGDimensionCount, | ||
} YGDimension; | ||
|
||
typedef enum YGJustify { | ||
YGJustifyFlexStart, | ||
YGJustifyCenter, | ||
YGJustifyFlexEnd, | ||
YGJustifySpaceBetween, | ||
YGJustifySpaceAround, | ||
YGJustifyCount, | ||
} YGJustify; | ||
|
||
typedef enum YGDirection { | ||
YGDirectionInherit, | ||
YGDirectionLTR, | ||
YGDirectionRTL, | ||
YGDirectionCount, | ||
} YGDirection; | ||
|
||
typedef enum YGLogLevel { | ||
YGLogLevelError, | ||
YGLogLevelWarn, | ||
YGLogLevelInfo, | ||
YGLogLevelDebug, | ||
YGLogLevelVerbose, | ||
YGLogLevelCount, | ||
} YGLogLevel; | ||
|
||
typedef enum YGWrap { | ||
YGWrapNoWrap, | ||
YGWrapWrap, | ||
YGWrapCount, | ||
} YGWrap; | ||
|
||
typedef enum YGOverflow { | ||
YGOverflowVisible, | ||
YGOverflowHidden, | ||
YGOverflowScroll, | ||
YGOverflowCount, | ||
} YGOverflow; | ||
|
||
typedef enum YGExperimentalFeature { | ||
YGExperimentalFeatureRounding, | ||
YGExperimentalFeatureWebFlexBasis, | ||
YGExperimentalFeatureCount, | ||
} YGExperimentalFeature; | ||
|
||
typedef enum YGAlign { | ||
YGAlignAuto, | ||
YGAlignFlexStart, | ||
YGAlignCenter, | ||
YGAlignFlexEnd, | ||
YGAlignStretch, | ||
YGAlignCount, | ||
} YGAlign; |
Oops, something went wrong.