UIElement.onMouseDrag

Called when mouse drag this Element. This function is meant to be overriden.

class UIElement
nothrow @nogc
void
onMouseDrag
(
int x
,
int y
,
int dx
,
int dy
,
MouseState mstate
)

Examples

if a mouse click started an edit f a plugin parameter with a drag, this will be a preferred place to call param.setFromGUI.

Meta