| 62 | }; |
| 63 | |
| 64 | JsonNumberFieldImpl::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 | |
| 73 | JsonNumberFieldImpl::~JsonNumberFieldImpl() { |
| 74 | // Ensure the component is removed from the global registry |
nothing calls this directly
no test coverage detected