Added textmenu
This commit is contained in:
@@ -29,7 +29,7 @@ typedef struct {
|
||||
|
||||
/** Callback to receive when a grid child is to be resized */
|
||||
typedef void gridchildresizecallback_t(
|
||||
void *user, int32_t i,
|
||||
void *user, uint8_t i,
|
||||
float screenWidth, float screenHeight,
|
||||
float x, float y,
|
||||
float width, float height
|
||||
@@ -47,7 +47,6 @@ typedef struct {
|
||||
typedef struct {
|
||||
gridchildbreakpoint_t breakpoints[GRID_BREAKPOINT_COUNT];
|
||||
uint8_t breakpointCount;
|
||||
gridchildresizecallback_t *onResize;
|
||||
} gridchild_t;
|
||||
|
||||
/** Definitio of a grid */
|
||||
@@ -65,9 +64,10 @@ typedef struct {
|
||||
/** Internal size reference, used for caching resize events */
|
||||
float width;
|
||||
float height;
|
||||
float x;
|
||||
float y;
|
||||
|
||||
/** Pointer to any custom user data */
|
||||
void *user;
|
||||
|
||||
/** Callback to listen for when children are resized */
|
||||
gridchildresizecallback_t *onResize;
|
||||
} grid_t;
|
Reference in New Issue
Block a user