Working on fixing grid movement.
This commit is contained in:
@ -27,14 +27,6 @@ typedef struct {
|
||||
float gutterY;
|
||||
} gridbreakpoint_t;
|
||||
|
||||
/** Callback to receive when a grid child is to be resized */
|
||||
typedef void gridchildresizecallback_t(
|
||||
void *user, uint8_t i,
|
||||
float screenWidth, float screenHeight,
|
||||
float x, float y,
|
||||
float width, float height
|
||||
);
|
||||
|
||||
/** Definition of a grid child's breakpoint */
|
||||
typedef struct {
|
||||
uint8_t columns;
|
||||
@ -43,6 +35,14 @@ typedef struct {
|
||||
uint8_t y;
|
||||
} gridchildbreakpoint_t;
|
||||
|
||||
/** Callback to receive when a grid child is to be resized */
|
||||
typedef void gridchildresizecallback_t(
|
||||
void *user, uint8_t i, gridchildbreakpoint_t *breakpoint,
|
||||
float screenWidth, float screenHeight,
|
||||
float x, float y,
|
||||
float width, float height
|
||||
);
|
||||
|
||||
/** Definition of a grid child */
|
||||
typedef struct {
|
||||
gridchildbreakpoint_t breakpoints[GRID_BREAKPOINT_COUNT];
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "../libs.h"
|
||||
#include "../display/font.h"
|
||||
#include "menuv2.h"
|
||||
#include "grid.h"
|
||||
#include "label.h"
|
||||
|
Reference in New Issue
Block a user