Loading [MathJax]/extensions/tex2jax.js
VCV Rack API v2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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
Rack's custom UI widgets that control the Rack state and engine.
Definition AudioDisplay.hpp:10
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
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