Skip to content

TorontoBarGourdsLayout

Source: TorontoBarGourdsLayout.h

Emit

struct Emit
src/light/layouts/TorontoBarGourdsLayout.h:68

Public Attributes

CoordCallback cb

void * ctx

nrOfLightsType idx = 0

Public Methods

inline void add(lengthType x, lengthType y, lengthType z)

TorontoBarGourdsLayout

class TorontoBarGourdsLayout
src/light/layouts/TorontoBarGourdsLayout.h:34

Inherits: LayoutBase

Layout for the Toronto bar decorative-gourd installation.

TorontoBarGourdsLayout card

Public Attributes

uint8_t nrOfLightsPerGourd = 61

uint8_t granularity = 2

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