From fc705d5d0b6ac12a0b96be19f07b5f239ae96afe Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 23 Apr 2022 10:03:28 +0200 Subject: [PATCH] flex layout: grid col/row span --- radio/src/thirdparty/libopenui/src/flexlayout.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio/src/thirdparty/libopenui/src/flexlayout.h b/radio/src/thirdparty/libopenui/src/flexlayout.h index e9cf3dc67..4d2fa2ee8 100644 --- a/radio/src/thirdparty/libopenui/src/flexlayout.h +++ b/radio/src/thirdparty/libopenui/src/flexlayout.h @@ -63,5 +63,9 @@ class FlexGridLayout void nextColumn() { col_pos++; } void nextRow() { row_pos++; } + void resetPos() { col_pos = 0; row_pos = 0; } + + void setColSpan(uint8_t span) { col_span = span; } + void setRowSpan(uint8_t span) { row_span = span; } };