Ardour  9.0-pre0-582-g084a23a80d
DraggingView Class Reference

#include <editor_drag.h>

Public Member Functions

 DraggingView (RegionView *, RegionDrag *, TimeAxisView *original_tav)
 

Public Attributes

RegionViewview
 the view More...
 
int time_axis_view
 
double layer
 
double initial_y
 the initial y position of the view before any reparenting More...
 
Temporal::timepos_t initial_position
 initial position of the region More...
 
Temporal::timepos_t initial_end
 initial end position of the region More...
 
samplepos_t anchored_fade_length
 fade_length when anchored during drag More...
 
std::shared_ptr< ARDOUR::Playlistinitial_playlist
 
TimeAxisViewinitial_time_axis_view
 

Detailed Description

Container for details about a region being dragged

Definition at line 377 of file editor_drag.h.

Constructor & Destructor Documentation

◆ DraggingView()

DraggingView::DraggingView ( RegionView ,
RegionDrag ,
TimeAxisView original_tav 
)

Member Data Documentation

◆ anchored_fade_length

samplepos_t DraggingView::anchored_fade_length

fade_length when anchored during drag

Definition at line 395 of file editor_drag.h.

◆ initial_end

Temporal::timepos_t DraggingView::initial_end

initial end position of the region

Definition at line 394 of file editor_drag.h.

◆ initial_playlist

std::shared_ptr<ARDOUR::Playlist> DraggingView::initial_playlist

Definition at line 396 of file editor_drag.h.

◆ initial_position

Temporal::timepos_t DraggingView::initial_position

initial position of the region

Definition at line 393 of file editor_drag.h.

◆ initial_time_axis_view

TimeAxisView* DraggingView::initial_time_axis_view

Definition at line 397 of file editor_drag.h.

◆ initial_y

double DraggingView::initial_y

the initial y position of the view before any reparenting

Definition at line 392 of file editor_drag.h.

◆ layer

double DraggingView::layer

layer that this region is currently being displayed on. This is a double rather than a layer_t as we use fractional layers during drags to allow the user to indicate a new layer to put a region on.

Definition at line 391 of file editor_drag.h.

◆ time_axis_view

int DraggingView::time_axis_view

index into RegionDrag::_time_axis_views of the view that this region is currently being displayed on, or -1 if it is not visible.

Definition at line 386 of file editor_drag.h.

◆ view

RegionView* DraggingView::view

the view

Definition at line 382 of file editor_drag.h.


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