A more complete implementation for tools that process selected children.
A basic implementation block for timeline tools that process selected child views.
A mixin trait for region-like timeline tools that enables updates during mouse dragging.
A mixin trait for region-like timeline tools that enables updates during mouse dragging.
It adds an internal class Drag
that embodies that dragging state (initial
and current positions). Dragging is useful for all parameters that can
be continuously changed such as region position but also region gain. It does
not necessarily mean that regions are moved. In other words, whenever the
mouseDragged
event causes a meaningful change in the editing state.
Custom data can be added by the sub-class by specifying the type member Initial
.
All the sub-class must do is call new Drag
and provide the body of method dragToParam
.
A more complete implementation for tools that process selected children. It implements
handlePress
to update the child selection and then for the currently hit child invoke thehandleSelect
method.