MCPcopy Create free account
hub / github.com/FastLED/FastLED / JsonSliderImpl

Method JsonSliderImpl

src/platforms/shared/ui/json/slider.cpp.hpp:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89};
90
91JsonSliderImpl::JsonSliderImpl(const fl::string &name, float value, float min,
92 float max, float step)
93 FL_NOEXCEPT : mInternal(fl::make_shared<JsonUiSliderInternal>(name, value, min, max, step)) {
94 // Register the component with the JsonUiManager
95 addJsonUiComponent(mInternal);
96}
97
98JsonSliderImpl::~JsonSliderImpl() {
99 // Ensure the component is removed from the global registry

Callers

nothing calls this directly

Calls 1

addJsonUiComponentFunction · 0.85

Tested by

no test coverage detected