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.
|
- #pragma once
- #include "app/common.hpp"
- #include "widgets/OpaqueWidget.hpp"
- #include "ui/Quantity.hpp"
-
-
- namespace rack {
-
-
- struct ParamWidget : OpaqueWidget {
- Quantity *quantity = NULL;
- float dirtyValue = NAN;
-
- ~ParamWidget() {
- if (quantity)
- delete quantity;
- }
-
- void step() override;
- /** For legacy patch loading */
- void fromJson(json_t *rootJ);
- void onButton(event::Button &e) override;
- };
-
-
- } // namespace rack
|