VCV Rack API v2
Loading...
Searching...
No Matches
TransparentWidget.hpp
Go to the documentation of this file.
1#pragma once
2#include <widget/Widget.hpp>
3
4
5namespace rack {
6namespace widget {
7
8
12 void onHover(const HoverEvent& e) override {}
13 void onButton(const ButtonEvent& e) override {}
14 void onHoverKey(const HoverKeyEvent& e) override {}
15 void onHoverText(const HoverTextEvent& e) override {}
16 void onHoverScroll(const HoverScrollEvent& e) override {}
17 void onDragHover(const DragHoverEvent& e) override {}
18 void onPathDrop(const PathDropEvent& e) override {}
19};
20
21
22} // namespace widget
23} // namespace rack
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
A Widget that does not respond to events and does not pass events to children.
Definition TransparentWidget.hpp:10
void onDragHover(const DragHoverEvent &e) override
Definition TransparentWidget.hpp:17
void onHoverKey(const HoverKeyEvent &e) override
Definition TransparentWidget.hpp:14
void onHoverScroll(const HoverScrollEvent &e) override
Definition TransparentWidget.hpp:16
void onHover(const HoverEvent &e) override
Override behavior to do nothing instead.
Definition TransparentWidget.hpp:12
void onHoverText(const HoverTextEvent &e) override
Definition TransparentWidget.hpp:15
void onButton(const ButtonEvent &e) override
Definition TransparentWidget.hpp:13
void onPathDrop(const PathDropEvent &e) override
Definition TransparentWidget.hpp:18
Occurs each mouse button press or release.
Definition Widget.hpp:237
Occurs every frame when the mouse is hovering over a Widget while another Widget (possibly the same o...
Definition Widget.hpp:391
Occurs every frame when the mouse is hovering over a Widget.
Definition Widget.hpp:225
Occurs when a key is pressed, released, or repeated while the mouse is hovering a Widget.
Definition Widget.hpp:294
Occurs when the mouse scroll wheel is moved while the mouse is hovering a Widget.
Definition Widget.hpp:315
Occurs when a character is typed while the mouse is hovering a Widget.
Definition Widget.hpp:307
Occurs when a selection of files from the operating system is dropped onto a Widget.
Definition Widget.hpp:432
A node in the 2D scene graph.
Definition Widget.hpp:21