FiniteBtnRelationShips
The FiniteBtnRelationShips struct describes the relationship between a given button and it’s neighbors.
typedef struct { int left; int right; int down; int up; // optional diagonals int leftUp; int rightUp; int leftDown; int rightDown;} FiniteBtnRelationShips;Properties
Section titled “Properties”| Type | Description |
|---|---|
int left,right,down.... | Each parameter refers to the id of the button in that direction. |
Standard Usage
Section titled “Standard Usage”When creating a FiniteBtn this struct refers to relationship between it an other buttons. When there is more than one button you must include a valid FiniteBtnRelationShips by calling finite_button_create_relation.