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

Method JsonNumberFieldImpl

src/platforms/shared/ui/json/number_field.cpp.hpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62};
63
64JsonNumberFieldImpl::JsonNumberFieldImpl(const fl::string &name, float value,
65 float min, float max) FL_NOEXCEPT {
66 // Create an instance of the new internal class
67 mInternal = fl::make_shared<JsonUiNumberFieldInternal>(name, value, min, max);
68
69 // Register the component with the JsonUiManager
70 addJsonUiComponent(mInternal);
71}
72
73JsonNumberFieldImpl::~JsonNumberFieldImpl() {
74 // 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