MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / onDragStart

Method onDragStart

plugins/Cardinal/src/TextEditor.cpp:280–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 }
279
280 void onDragStart(const DragStartEvent& e) override
281 {
282 if (e.button != GLFW_MOUSE_BUTTON_LEFT)
283 return;
284
285 dragPos = APP->scene->rack->getMousePos();
286 originalBox = widget->box;
287 }
288
289 void onDragMove(const DragMoveEvent& e) override
290 {

Callers

nothing calls this directly

Calls 1

getMousePosMethod · 0.45

Tested by

no test coverage detected