@@ -111,7 +111,11 @@ struct YGNode {
111
111
void setLayoutMeasuredDimension (float measuredDimension, int index);
112
112
void setLayoutHadOverflow (bool hadOverflow);
113
113
void setLayoutDimension (float dimension, int index);
114
-
114
+ void setLayoutDirection (YGDirection direction);
115
+ void setLayoutMargin (float margin, int index);
116
+ void setLayoutBorder (float border, int index);
117
+ void setLayoutPadding (float padding, int index);
118
+ void setLayoutPosition (float position, int index);
115
119
void setPosition (
116
120
const YGDirection direction,
117
121
const float mainSize,
@@ -131,15 +135,10 @@ struct YGNode {
131
135
// / Removes the first occurrence of child
132
136
bool removeChild (YGNodeRef child);
133
137
void removeChild (uint32_t index);
134
- void setLayoutDirection (YGDirection direction);
135
- void setLayoutMargin (float margin, int index);
136
- void setLayoutBorder (float border, int index);
137
- void setLayoutPadding (float padding, int index);
138
- void setLayoutPosition (float position, int index);
139
138
140
- // Other methods
141
139
void cloneChildrenIfNeeded ();
142
140
void markDirtyAndPropogate ();
143
141
float resolveFlexGrow ();
144
142
float resolveFlexShrink ();
143
+ bool isNodeFlexible ();
145
144
};
0 commit comments