Ardour  9.0-pre0-350-gf17a656217
GhostRegion Class Referenceabstract

#include <ghostregion.h>

Inheritance diagram for GhostRegion:
[legend]

Public Member Functions

 GhostRegion (RegionView &rv, ArdourCanvas::Container *parent, TimeAxisView &tv, TimeAxisView &source_tv, double initial_unit_pos)
 
virtual ~GhostRegion ()
 
virtual void set_samples_per_pixel (double)=0
 
virtual void set_height ()
 
virtual void set_colors ()
 
void set_duration (double units)
 
virtual void set_selected (bool)
 
guint source_track_color (unsigned char alpha=0xff)
 
bool is_automation_ghost ()
 

Public Attributes

RegionViewparent_rv
 
TimeAxisViewtrackview
 
TimeAxisViewsource_trackview
 
ArdourCanvas::Containergroup
 
ArdourCanvas::Rectanglebase_rect
 

Detailed Description

Definition at line 55 of file ghostregion.h.

Constructor & Destructor Documentation

◆ GhostRegion()

GhostRegion::GhostRegion ( RegionView rv,
ArdourCanvas::Container parent,
TimeAxisView tv,
TimeAxisView source_tv,
double  initial_unit_pos 
)

◆ ~GhostRegion()

virtual GhostRegion::~GhostRegion ( )
virtual

Member Function Documentation

◆ is_automation_ghost()

bool GhostRegion::is_automation_ghost ( )

◆ set_colors()

virtual void GhostRegion::set_colors ( )
virtual

◆ set_duration()

void GhostRegion::set_duration ( double  units)

◆ set_height()

virtual void GhostRegion::set_height ( )
virtual

Reimplemented in MidiGhostRegion, and AudioGhostRegion.

◆ set_samples_per_pixel()

virtual void GhostRegion::set_samples_per_pixel ( double  )
pure virtual

Implemented in AudioGhostRegion, and MidiGhostRegion.

◆ set_selected()

virtual void GhostRegion::set_selected ( bool  )
inlinevirtual

Definition at line 72 of file ghostregion.h.

◆ source_track_color()

guint GhostRegion::source_track_color ( unsigned char  alpha = 0xff)

Member Data Documentation

◆ base_rect

ArdourCanvas::Rectangle* GhostRegion::base_rect

Definition at line 83 of file ghostregion.h.

◆ group

ArdourCanvas::Container* GhostRegion::group

Definition at line 82 of file ghostregion.h.

◆ parent_rv

RegionView& GhostRegion::parent_rv

Definition at line 77 of file ghostregion.h.

◆ source_trackview

TimeAxisView& GhostRegion::source_trackview

TimeAxisView that we are a ghost for

Definition at line 81 of file ghostregion.h.

◆ trackview

TimeAxisView& GhostRegion::trackview

TimeAxisView that is the AutomationTimeAxisView that we are on

Definition at line 79 of file ghostregion.h.


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