ardour
|
#include <automation_region_view.h>
Protected Member Functions | |
void | create_line (boost::shared_ptr< ARDOUR::AutomationList > list) |
bool | set_position (framepos_t pos, void *src, double *ignored) |
void | region_resized (const PBD::PropertyChange &) |
bool | canvas_group_event (GdkEvent *ev) |
void | add_automation_event (GdkEvent *event, framepos_t when, double y, bool with_guard_points) |
void | mouse_mode_changed () |
void | entered () |
void | exited () |
Protected Member Functions inherited from RegionView | |
RegionView (ArdourCanvas::Container *, TimeAxisView &, boost::shared_ptr< ARDOUR::Region >, double samples_per_pixel, uint32_t basic_color, bool recording, TimeAxisViewItem::Visibility) | |
bool | canvas_group_event (GdkEvent *) |
virtual void | region_muted () |
void | region_locked () |
void | region_opacity () |
virtual void | region_renamed () |
void | region_sync_changed () |
std::string | make_name () const |
void | lock_toggle () |
virtual void | set_colors () |
virtual void | set_sync_mark_color () |
virtual void | color_handler () |
Protected Member Functions inherited from TimeAxisViewItem | |
TimeAxisViewItem (const std::string &, ArdourCanvas::Item &, TimeAxisView &, double, uint32_t fill_color, framepos_t, framecnt_t, bool recording=false, bool automation=false, Visibility v=Visibility(0)) | |
TimeAxisViewItem (const TimeAxisViewItem &) | |
void | init (ArdourCanvas::Item *, double, uint32_t, framepos_t, framepos_t, Visibility, bool, bool) |
virtual void | set_frame_color () |
virtual void | set_frame_gradient () |
void | set_trim_handle_colors () |
bool | frame_handle_crossing (GdkEvent *, ArdourCanvas::Rectangle *) |
Additional Inherited Members | |
Public Types inherited from TimeAxisViewItem | |
enum | Visibility { ShowFrame = 0x1, ShowNameHighlight = 0x2, ShowNameText = 0x4, ShowHandles = 0x8, HideFrameLeft = 0x10, HideFrameRight = 0x20, HideFrameTB = 0x40, FullWidthNameHighlight = 0x80 } |
Static Public Member Functions inherited from TimeAxisViewItem | |
static void | set_constant_heights () |
Public Attributes inherited from TimeAxisViewItem | |
sigc::signal< void, std::string, void * > | ItemRemoved |
sigc::signal< void, std::string, std::string, void * > | NameChanged |
sigc::signal< void, framepos_t, void * > | PositionChanged |
sigc::signal< void, bool, void * > | PositionLockChanged |
sigc::signal< void, framecnt_t, void * > | DurationChanged |
sigc::signal< void, framecnt_t, void * > | MaxDurationChanged |
sigc::signal< void, framecnt_t, void * > | MinDurationChanged |
Static Public Attributes inherited from RegionView | |
static PBD::Signal1< void, RegionView * > | RegionViewGoingAway |
Static Public Attributes inherited from TimeAxisViewItem | |
static Pango::FontDescription | NAME_FONT |
static const double | NAME_X_OFFSET = 15.0 |
static const double | GRAB_HANDLE_TOP = 0.0 |
static const double | GRAB_HANDLE_WIDTH = 10.0 |
static int | NAME_HEIGHT |
static double | NAME_Y_OFFSET |
static double | NAME_HIGHLIGHT_SIZE |
static double | NAME_HIGHLIGHT_THRESH |
Static Protected Member Functions inherited from RegionView | |
static gint | _lock_toggle (ArdourCanvas::Item *, GdkEvent *, void *) |
Static Protected Member Functions inherited from TimeAxisViewItem | |
static gint | idle_remove_this_item (TimeAxisViewItem *, void *) |
Protected Attributes inherited from RegionView | |
boost::shared_ptr< ARDOUR::Region > | _region |
ArdourCanvas::Polygon * | sync_mark |
polgyon for sync position More... | |
ArdourCanvas::Line * | sync_line |
polgyon for sync position More... | |
RegionEditor * | editor |
std::vector< ControlPoint * > | control_points |
double | current_visible_sync_position |
bool | valid |
see StreamView::redisplay_diskstream() More... | |
bool | _enable_display |
see StreamView::redisplay_diskstream() More... | |
double | _pixel_width |
bool | in_destructor |
bool | wait_for_data |
std::vector< GhostRegion * > | ghosts |
std::list < ArdourCanvas::Rectangle * > | _coverage_frames |
std::list < ArdourCanvas::Rectangle * > | _silent_frames |
std::list < ArdourCanvas::Rectangle * > | _silent_threshold_frames |
ArdourCanvas::Text * | _silence_text |
Protected Attributes inherited from TimeAxisViewItem | |
TimeAxisView & | trackview |
bool | position_locked |
framepos_t | frame_position |
framecnt_t | item_duration |
framecnt_t | max_item_duration |
framecnt_t | min_item_duration |
bool | max_duration_active |
bool | min_duration_active |
double | samples_per_pixel |
bool | _sensitive |
std::string | item_name |
bool | name_connected |
bool | show_vestigial |
uint32_t | fill_color |
uint32_t | last_item_width |
int | name_text_width |
bool | wide_enough_for_name |
bool | high_enough_for_name |
ArdourCanvas::Container * | group |
ArdourCanvas::Rectangle * | vestigial_frame |
ArdourCanvas::Rectangle * | frame |
ArdourCanvas::Rectangle * | selection_frame |
ArdourCanvas::Text * | name_text |
ArdourCanvas::Rectangle * | name_highlight |
ArdourCanvas::Rectangle * | frame_handle_start |
`frame' (fade) handle for the start of the item, or 0 More... | |
ArdourCanvas::Rectangle * | frame_handle_end |
`frame' (fade) handle for the end of the item, or 0 More... | |
double | _height |
Visibility | visibility |
std::string | fill_color_name |
bool | _recregion |
bool | _automation |
true if this is an automation region view More... | |
bool | _dragging |
Protected Attributes inherited from Selectable | |
bool | _selected |
Definition at line 37 of file automation_region_view.h.
AutomationRegionView::AutomationRegionView | ( | ArdourCanvas::Container * | parent, |
AutomationTimeAxisView & | time_axis, | ||
boost::shared_ptr< ARDOUR::Region > | region, | ||
const Evoral::Parameter & | parameter, | ||
boost::shared_ptr< ARDOUR::AutomationList > | list, | ||
double | initial_samples_per_pixel, | ||
uint32_t | basic_color | ||
) |
Definition at line 43 of file automation_region_view.cc.
AutomationRegionView::~AutomationRegionView | ( | ) |
Definition at line 67 of file automation_region_view.cc.
|
protected |
when | Position in frames, where 0 is the start of the region. |
y | y position, relative to our TimeAxisView. |
Definition at line 163 of file automation_region_view.cc.
|
inlinevirtual |
Implements RegionView.
Definition at line 71 of file automation_region_view.h.
|
inline |
Definition at line 65 of file automation_region_view.h.
|
protectedvirtual |
Reimplemented from TimeAxisViewItem.
Definition at line 127 of file automation_region_view.cc.
|
protected |
Definition at line 90 of file automation_region_view.cc.
|
protectedvirtual |
Reimplemented from RegionView.
Definition at line 293 of file automation_region_view.cc.
|
protectedvirtual |
Reimplemented from RegionView.
Definition at line 302 of file automation_region_view.cc.
|
virtual |
Reimplemented from TimeAxisViewItem.
Definition at line 106 of file automation_region_view.cc.
|
virtual |
Reimplemented from RegionView.
Definition at line 73 of file automation_region_view.cc.
|
inline |
Definition at line 68 of file automation_region_view.h.
|
protected |
Definition at line 120 of file automation_region_view.cc.
bool AutomationRegionView::paste | ( | framepos_t | pos, |
unsigned | paste_count, | ||
float | times, | ||
boost::shared_ptr< const ARDOUR::AutomationList > | slist | ||
) |
Definition at line 204 of file automation_region_view.cc.
|
inline |
Definition at line 57 of file automation_region_view.h.
|
protectedvirtual |
Reimplemented from RegionView.
Definition at line 265 of file automation_region_view.cc.
|
virtual |
Reimplemented from RegionView.
Definition at line 254 of file automation_region_view.cc.
|
virtual |
Set the height of this item.
h | new height |
Reimplemented from RegionView.
Definition at line 233 of file automation_region_view.cc.
|
protectedvirtual |
Set the position of this item on the timeline.
pos | the new position |
src | the identity of the object that initiated the change |
Reimplemented from TimeAxisViewItem.
Definition at line 243 of file automation_region_view.cc.
|
inline |
Definition at line 61 of file automation_region_view.h.
|
private |
Definition at line 92 of file automation_region_view.h.
|
private |
Definition at line 93 of file automation_region_view.h.
|
private |
Definition at line 91 of file automation_region_view.h.
|
private |
Definition at line 89 of file automation_region_view.h.
|
private |
Definition at line 90 of file automation_region_view.h.