PanelsLayout
Source:
PanelsLayout.h
Emit¶
src/light/layouts/PanelsLayout.h:151Public Attributes¶
CoordCallback cb
void * ctx
lengthType panelWidth
lengthType panelHeight
uint32_t limit
uint32_t idx
PanelsLayout¶
src/light/layouts/PanelsLayout.h:33Inherits:
LayoutBase
Layout tiling multiple panels into one grid.
Public Attributes¶
lengthType horizontalPanels = 2
lengthType verticalPanels = 2
uint8_t wiringOrderP = 0
bool incXP =
bool incYP =
bool snakeP =
lengthType panelWidth = 16
lengthType panelHeight = 16
uint8_t wiringOrder = 0
bool incX =
bool incY =
bool snake =
Public Methods¶
virtual inline void defineControls() override
: defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().
virtual inline constchar * tags() const override
: Curated emoji tags for the module picker's chip filter — extras beyond the role chip (which the UI derives from role() on its own).
virtual inline nrOfLightsType lightCount() const override
virtual inline void forEachCoord(constCoordSink & sink) const override