Skip to content

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres6936 committed Jan 30, 2021
1 parent 7b02f64 commit 255a649
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Include/Hippy/Flex/Hippy.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ void HPNodeStyleSetFlex(HPNodeRef node, float flex);
* provided <number>. Negative numbers are invalid.
*/
void HPNodeStyleSetFlexGrow(HPNodeRef node, float flexGrow);

/**
* @param node The flex container to apply the flex shrink.
* @param flexShrink The flex-shrink property sets the flex shrink factor to
* the provided <number>. Negative numbers are invalid.
*/
void HPNodeStyleSetFlexShrink(HPNodeRef node, float flexShrink);
void HPNodeStyleSetFlexBasis(HPNodeRef node, float flexBasis);
void HPNodeStyleSetFlexDirection(HPNodeRef node, FlexDirection direction);
Expand Down

0 comments on commit 255a649

Please sign in to comment.