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/Widget.hpp"
-
-
- namespace rack {
- namespace widget {
-
-
- /** Widget that does not respond to events and does not pass events to children */
- struct TransparentWidget : Widget {
- /** Override behavior to do nothing instead. */
- void onHover(const event::Hover &e) override {}
- void onButton(const event::Button &e) override {}
- void onHoverKey(const event::HoverKey &e) override {}
- void onHoverText(const event::HoverText &e) override {}
- void onHoverScroll(const event::HoverScroll &e) override {}
- void onDragHover(const event::DragHover &e) override {}
- void onPathDrop(const event::PathDrop &e) override {}
- };
-
-
- } // namespace widget
- } // namespace rack
|