Skip to content

SingleRowLayout

Source: SingleRowLayout.h

SingleRowLayout

class SingleRowLayout
src/light/layouts/SingleRowLayout.h:20

Inherits: LayoutBase

Layout of one horizontal LED row (1D).

Public Attributes

uint8_t startX = 0

uint16_t width = 30

uint16_t yPosition = 0

bool reversedOrder =

Public Methods

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 void defineControls() override : defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().

virtual inline nrOfLightsType lightCount() const override

virtual inline void forEachCoord(constCoordSink & sink) const override