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/Tooltip.hpp"
- #include "app/ParamQuantity.hpp"
- #include "history.hpp"
-
-
- namespace rack {
-
-
- struct ParamWidget : OpaqueWidget {
- ParamQuantity *paramQuantity = NULL;
- float dirtyValue = NAN;
- Tooltip *tooltip = NULL;
-
- ~ParamWidget();
- void step() override;
- void draw(NVGcontext *vg) override;
- void onButton(const event::Button &e) override;
- void onEnter(const event::Enter &e) override;
- void onLeave(const event::Leave &e) override;
-
- /** For legacy patch loading */
- void fromJson(json_t *rootJ);
- void createContextMenu();
- void resetAction();
- };
-
-
- } // namespace rack
|