MCPcopy Create free account
hub / github.com/VCVRack/Rack / onDragHover

Method onDragHover

src/ui/TextField.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void TextField::onDragHover(const DragHoverEvent& e) {
93 OpaqueWidget::onDragHover(e);
94
95 if (e.origin == this) {
96 int pos = getTextPosition(e.pos);
97 cursor = pos;
98 }
99}
100
101void TextField::onButton(const ButtonEvent& e) {
102 OpaqueWidget::onButton(e);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected