Skip to content

SingleColumnLayout

Source: SingleColumnLayout.h

SingleColumnLayout

class SingleColumnLayout
src/light/layouts/SingleColumnLayout.h:16

Inherits: LayoutBase

Layout of one vertical LED column (1D).

Public Attributes

uint8_t start_y = 0

uint16_t height = 30

uint16_t xposition = 0

bool reversed_order = false

Public Methods

virtual inline const char * 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 Dim dimensions() const override : The shape this layout LAYS OUT: a line, a picture, a volume.

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 placeLights(const CoordSink & sink) const override