ardour
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GhostRegion Class Referenceabstract

#include <ghostregion.h>

Inheritance diagram for GhostRegion:
AudioGhostRegion MidiGhostRegion

Public Member Functions

 GhostRegion (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)
 
guint source_track_color (unsigned char alpha=0xff)
 
bool is_automation_ghost ()
 

Public Attributes

TimeAxisViewtrackview
 
TimeAxisViewsource_trackview
 
ArdourCanvas::Container * group
 
ArdourCanvas::Rectangle * base_rect
 

Static Public Attributes

static PBD::Signal1< void,
GhostRegion * > 
CatchDeletion
 

Detailed Description

Definition at line 36 of file ghostregion.h.

Constructor & Destructor Documentation

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

Definition at line 43 of file ghostregion.cc.

GhostRegion::~GhostRegion ( )
virtual

Definition at line 69 of file ghostregion.cc.

Member Function Documentation

bool GhostRegion::is_automation_ghost ( )

Definition at line 104 of file ghostregion.cc.

void GhostRegion::set_colors ( )
virtual

Reimplemented in MidiGhostRegion, and AudioGhostRegion.

Definition at line 89 of file ghostregion.cc.

void GhostRegion::set_duration ( double  units)

Definition at line 77 of file ghostregion.cc.

void GhostRegion::set_height ( )
virtual

Reimplemented in MidiGhostRegion, and AudioGhostRegion.

Definition at line 83 of file ghostregion.cc.

virtual void GhostRegion::set_samples_per_pixel ( double  )
pure virtual

Implemented in MidiGhostRegion, and AudioGhostRegion.

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

Definition at line 97 of file ghostregion.cc.

Member Data Documentation

ArdourCanvas::Rectangle* GhostRegion::base_rect

Definition at line 56 of file ghostregion.h.

PBD::Signal1< void, GhostRegion * > GhostRegion::CatchDeletion
static

Definition at line 58 of file ghostregion.h.

ArdourCanvas::Container* GhostRegion::group

Definition at line 55 of file ghostregion.h.

TimeAxisView& GhostRegion::source_trackview

TimeAxisView that we are a ghost for

Definition at line 54 of file ghostregion.h.

TimeAxisView& GhostRegion::trackview

TimeAxisView that is the AutomationTimeAxisView that we are on

Definition at line 52 of file ghostregion.h.


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