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
5
namespace
rack
{
6
namespace
widget {
7
8
10
struct
TransparentWidget
:
Widget
{
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
Widget.hpp
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
rack::widget::TransparentWidget
A Widget that does not respond to events and does not pass events to children.
Definition
TransparentWidget.hpp:10
rack::widget::TransparentWidget::onDragHover
void onDragHover(const DragHoverEvent &e) override
Definition
TransparentWidget.hpp:17
rack::widget::TransparentWidget::onHoverKey
void onHoverKey(const HoverKeyEvent &e) override
Definition
TransparentWidget.hpp:14
rack::widget::TransparentWidget::onHoverScroll
void onHoverScroll(const HoverScrollEvent &e) override
Definition
TransparentWidget.hpp:16
rack::widget::TransparentWidget::onHover
void onHover(const HoverEvent &e) override
Override behavior to do nothing instead.
Definition
TransparentWidget.hpp:12
rack::widget::TransparentWidget::onHoverText
void onHoverText(const HoverTextEvent &e) override
Definition
TransparentWidget.hpp:15
rack::widget::TransparentWidget::onButton
void onButton(const ButtonEvent &e) override
Definition
TransparentWidget.hpp:13
rack::widget::TransparentWidget::onPathDrop
void onPathDrop(const PathDropEvent &e) override
Definition
TransparentWidget.hpp:18
rack::widget::Widget::ButtonEvent
Occurs each mouse button press or release.
Definition
Widget.hpp:237
rack::widget::Widget::DragHoverEvent
Occurs every frame when the mouse is hovering over a Widget while another Widget (possibly the same o...
Definition
Widget.hpp:391
rack::widget::Widget::HoverEvent
Occurs every frame when the mouse is hovering over a Widget.
Definition
Widget.hpp:225
rack::widget::Widget::HoverKeyEvent
Occurs when a key is pressed, released, or repeated while the mouse is hovering a Widget.
Definition
Widget.hpp:294
rack::widget::Widget::HoverScrollEvent
Occurs when the mouse scroll wheel is moved while the mouse is hovering a Widget.
Definition
Widget.hpp:315
rack::widget::Widget::HoverTextEvent
Occurs when a character is typed while the mouse is hovering a Widget.
Definition
Widget.hpp:307
rack::widget::Widget::PathDropEvent
Occurs when a selection of files from the operating system is dropped onto a Widget.
Definition
Widget.hpp:432
rack::widget::Widget
A node in the 2D scene graph.
Definition
Widget.hpp:21
include
widget
TransparentWidget.hpp
Generated by
1.12.0