VCV Rack API v2
Loading...
Searching...
No Matches
SliderKnob.hpp
Go to the documentation of this file.
1#pragma once
2#include <app/common.hpp>
3#include <app/Knob.hpp>
4
5
6namespace rack {
7namespace app {
8
9
10struct SliderKnob : Knob {
12
13 void onHover(const HoverEvent& e) override;
14 void onButton(const ButtonEvent& e) override;
15};
16
17
18} // namespace app
19} // namespace rack
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Implements vertical dragging behavior for ParamWidgets.
Definition Knob.hpp:12
Definition SliderKnob.hpp:10
void onHover(const HoverEvent &e) override
void onButton(const ButtonEvent &e) override
Occurs each mouse button press or release.
Definition Widget.hpp:237
Occurs every frame when the mouse is hovering over a Widget.
Definition Widget.hpp:225