You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
490B

  1. using namespace rack;
  2. #include "rack.hpp"
  3. // #include "ui.hpp"
  4. namespace rack_plugin_Alikins {
  5. // TODO/FIXME: This is more or less adhoc TextField mixed with QuantityWidget
  6. // just inherit from both?
  7. struct ParamFloatField : TextField
  8. {
  9. Module *module;
  10. float hovered_value;
  11. ParamFloatField(Module *module);
  12. void setValue(float value);
  13. void onChange(EventChange &e) override;
  14. };
  15. } // namespace rack_plugin_Alikins
  16. using namespace rack_plugin_Alikins;