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 "widget/OpaqueWidget.hpp"
- #include "ui/Quantity.hpp"
- #include "ui/common.hpp"
- #include "app.hpp"
-
-
- namespace rack {
- namespace ui {
-
-
- struct Slider : widget::OpaqueWidget {
- BNDwidgetState state = BND_DEFAULT;
- Quantity *quantity = NULL;
-
- Slider();
- ~Slider();
- void draw(const widget::DrawContext &ctx) override;
- void onDragStart(const event::DragStart &e) override;
- void onDragMove(const event::DragMove &e) override;
- void onDragEnd(const event::DragEnd &e) override;
- void onButton(const event::Button &e) override;
- };
-
-
- } // namespace ui
- } // namespace rack
|