![]() |
VCV Rack API v2
|
Occurs every frame when the mouse is hovering over a Widget. More...
#include <Widget.hpp>
Public Attributes | |
| math::Vec | mouseDelta |
| Change in mouse position since the last frame. | |
| Public Attributes inherited from rack::widget::BaseEvent | |
| EventContext * | context = NULL |
| Public Attributes inherited from rack::widget::Widget::PositionBaseEvent | |
| math::Vec | pos |
| The pixel coordinate where the event occurred, relative to the Widget it is called on. | |
Additional Inherited Members | |
| Public Member Functions inherited from rack::widget::BaseEvent | |
| void | stopPropagating () const |
| Prevents the event from being handled by more Widgets. | |
| bool | isPropagating () const |
| void | setTarget (Widget *w) const |
| Tells the event handler that a particular Widget consumed the event. | |
| Widget * | getTarget () const |
| void | consume (Widget *w) const |
| Sets the target Widget and stops propagating. | |
| void | unconsume () const |
| bool | isConsumed () const |
Occurs every frame when the mouse is hovering over a Widget.
Recurses. Consume this event to allow Enter and Leave to occur.
| math::Vec rack::widget::Widget::HoverEvent::mouseDelta |
Change in mouse position since the last frame.
Can be zero.