Skip to content

Commit

Permalink
Merge pull request #1 from AaaChiuuu/publicConstants
Browse files Browse the repository at this point in the history
Make CSSLayout constants public
  • Loading branch information
aaronechiu committed Sep 15, 2015
2 parents f51c2d0 + 4a7936a commit a353a11
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/java/src/com/facebook/csslayout/CSSLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
* Where the output of {@link LayoutEngine#layoutNode(CSSNode, float)} will go in the CSSNode.
*/
public class CSSLayout {
static final int POSITION_LEFT = 0;
static final int POSITION_TOP = 1;
static final int POSITION_RIGHT = 2;
static final int POSITION_BOTTOM = 3;
public static final int POSITION_LEFT = 0;
public static final int POSITION_TOP = 1;
public static final int POSITION_RIGHT = 2;
public static final int POSITION_BOTTOM = 3;

static final int DIMENSION_WIDTH = 0;
static final int DIMENSION_HEIGHT = 1;
public static final int DIMENSION_WIDTH = 0;
public static final int DIMENSION_HEIGHT = 1;

float[] position = new float[4];
float[] dimensions = new float[2];
CSSDirection direction = CSSDirection.LTR;
public float[] position = new float[4];
public float[] dimensions = new float[2];
public CSSDirection direction = CSSDirection.LTR;

/**
* This should always get called before calling {@link LayoutEngine#layoutNode(CSSNode, float)}
Expand Down

0 comments on commit a353a11

Please sign in to comment.