Definition at line 17 of file InputSwitch.cpp.
◆ metadata()
◆ constraints
Initial value:{
.type = ElementType::InputSwitch,
.group = ElementGroup::Input,
.minOutputSize = 1,
.maxOutputSize = 1,
.canChangeAppearance = true,
.hasTrigger = true,
.hasLabel = true,
.rotatesGraphic = false,
}
Definition at line 18 of file InputSwitch.cpp.
Referenced by metadata().
◆ registered
Initial value: = []() {
return true;
}()
static void registerCreator(ElementType type, std::function< GraphicElement *()> creator)
Registers a creator lambda for type, used by buildElement().
static constexpr ElementConstraints constraints
Definition at line 44 of file InputSwitch.cpp.
The documentation for this struct was generated from the following file: