Loading...
Searching...
No Matches
Media::Step::StepsGesture Class Reference

The mouse on the bars of the sequence shown, in the layer and in the node. More...

Detailed Description

The mouse on the bars of the sequence shown, in the layer and in the node.

As in the parameter bars of the pattern sequencer: a press sets the bar under the mouse and the drag every bar it goes over; Shift-drag moves every bar by the same amount; Alt-drag blends every bar towards a random value, the more the further the mouse goes.

Public Member Functions

std::optional< ossia::float_vector > press (const Model &m, int step, QPointF pos, Qt::KeyboardModifiers mods, double height)
 
std::optional< ossia::float_vector > move (const Model &m, int step, QPointF pos, double height)
 
void release () noexcept
 

Member Function Documentation

◆ press()

std::optional< ossia::float_vector > Media::Step::StepsGesture::press ( const Model &  m,
int  step,
QPointF  pos,
Qt::KeyboardModifiers  mods,
double  height 
)

The steps of the current sequence once edited, or nothing when the gesture leaves them as they are.


The documentation for this class was generated from the following files: