Ardour
9.0-pre0-582-g084a23a80d
|
#include <automation_time_axis.h>
Public Types | |
enum | VelocityMode { VelocityModeLollipops , VelocityModeLine } |
Public Types inherited from TimeAxisView | |
enum | TrackHeightMode { OnlySelf , TotalHeight , HeightPerLane } |
typedef std::vector< std::shared_ptr< TimeAxisView > > | Children |
Public Member Functions | |
AutomationTimeAxisView (ARDOUR::Session *, std::shared_ptr< ARDOUR::Stripable >, std::shared_ptr< ARDOUR::Automatable >, std::shared_ptr< ARDOUR::AutomationControl >, Evoral::Parameter, PublicEditor &, TimeAxisView &parent, bool show_regions, ArdourCanvas::Canvas &canvas, const std::string &name="", const std::string &plug_name="") | |
~AutomationTimeAxisView () | |
virtual void | set_height (uint32_t, TrackHeightMode m=OnlySelf, bool from_idle=false) |
void | set_samples_per_pixel (double) |
std::string | name () const |
Gdk::Color | color () const |
void | update_name_from_param () |
std::shared_ptr< ARDOUR::Stripable > | stripable () const |
ARDOUR::PresentationInfo const & | presentation_info () const |
void | add_automation_event (GdkEvent *, Temporal::timepos_t const &, double, bool with_guard_points) |
void | clear_lines () |
std::shared_ptr< EditorAutomationLine > | line () |
std::list< std::shared_ptr< AutomationLine > > | lines () const |
AutomationStreamView * | automation_view () const |
void | set_selected_points (PointSelection &) |
void | _get_selectables (Temporal::timepos_t const &, Temporal::timepos_t const &, double top, double bot, std::list< Selectable * > &, bool within) |
void | get_inverted_selectables (Selection &, std::list< Selectable * > &results) |
void | show_timestretch (Temporal::timepos_t const &, Temporal::timepos_t const &, int, int) |
void | hide_timestretch () |
void | cut_copy_clear (Selection &, Editing::CutCopyOp) |
bool | paste (Temporal::timepos_t const &, const Selection &, PasteContext &) |
int | set_state (const XMLNode &, int version) |
std::string | state_id () const |
std::shared_ptr< ARDOUR::AutomationControl > | control () const |
std::shared_ptr< AutomationController > | controller () const |
Evoral::Parameter | parameter () const |
ArdourCanvas::Rectangle & | base_item () const |
bool | has_automation () const |
std::shared_ptr< ARDOUR::Stripable > | parent_stripable () |
bool | show_regions () const |
void | set_automation_state (ARDOUR::AutoState) |
VelocityMode | velocity_mode () const |
void | set_velocity_mode (VelocityMode, bool force=false) |
void | set_selected_regionviews (RegionSelection &) |
MergeableLine * | make_merger () |
Public Member Functions inherited from TimeAxisView | |
TimeAxisView (ARDOUR::Session *sess, PublicEditor &ed, TimeAxisView *parent, ArdourCanvas::Canvas &canvas) | |
virtual | ~TimeAxisView () |
int | order () const |
ArdourCanvas::Container * | canvas_display () |
ArdourCanvas::Container * | ghost_group () |
uint32_t | effective_height () const |
double | y_position () const |
PublicEditor & | editor () const |
uint32_t | current_height () const |
void | idle_resize (int32_t) |
virtual guint32 | show_at (double y, int &nth, Gtk::VBox *parent) |
virtual void | hide () |
bool | touched (double top, double bot) |
bool | hidden () const |
void | set_selected (bool) |
virtual bool | selectable () const |
void | set_height_enum (Height, bool apply_to_selection=false) |
void | reset_height () |
virtual void | reset_visual_state () |
std::pair< TimeAxisView *, double > | covers_y_position (double) const |
bool | covered_by_y_range (double y0, double y1) const |
virtual void | step_height (bool) |
virtual ARDOUR::RouteGroup * | route_group () const |
virtual std::shared_ptr< ARDOUR::Playlist > | playlist () const |
virtual void | show_selection (TimeSelection &) |
virtual void | hide_selection () |
virtual void | reshow_selection (TimeSelection &) |
virtual void | fade_range (TimeSelection &) |
virtual std::shared_ptr< ARDOUR::Region > | find_next_region (ARDOUR::timepos_t const &, ARDOUR::RegionPoint, int32_t) |
void | order_selection_trims (ArdourCanvas::Item *item, bool put_start_on_top) |
void | _get_selectables (Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list< Selectable * > &, bool within) |
void | get_inverted_selectables (Selection &, std::list< Selectable * > &results) |
virtual void | get_regionviews_at_or_after (Temporal::timepos_t const &, RegionSelection &) |
void | add_ghost (RegionView *) |
void | remove_ghost (RegionView *) |
void | erase_ghost (GhostRegion *) |
virtual void | first_idle () |
TimeAxisView * | get_parent () |
void | set_parent (TimeAxisView &p) |
virtual LayerDisplay | layer_display () const |
virtual StreamView * | view () const |
Children | get_child_list () const |
Public Member Functions inherited from AxisView | |
std::string | gui_property (const std::string &property_name) const |
bool | get_gui_property (const std::string &property_name, std::string &value) const |
template<typename T > | |
bool | get_gui_property (const std::string &property_name, T &value) const |
template<typename T > | |
bool | get_gui_property (const std::string &state_id, const std::string &property_name, T &value) const |
void | set_gui_property (const std::string &property_name, const std::string &value) |
void | remove_gui_property (const std::string &property_name) |
void | set_gui_property (const std::string &property_name, const char *value) |
template<typename T > | |
void | set_gui_property (const std::string &property_name, const T &value) |
void | cleanup_gui_properties () |
virtual bool | marked_for_display () const |
virtual bool | set_marked_for_display (bool) |
void | clear_property_cache () |
Public Member Functions inherited from PBD::ScopedConnectionList | |
ScopedConnectionList () | |
ScopedConnectionList (const ScopedConnectionList &)=delete | |
ScopedConnectionList & | operator= (const ScopedConnectionList &)=delete |
virtual | ~ScopedConnectionList () |
void | add_connection (const UnscopedConnection &c) |
void | drop_connections () |
Public Member Functions inherited from ARDOUR::SessionHandlePtr | |
SessionHandlePtr (ARDOUR::Session *s) | |
SessionHandlePtr () | |
virtual | ~SessionHandlePtr () |
virtual void | set_session (ARDOUR::Session *) |
virtual ARDOUR::Session * | session () const |
Public Member Functions inherited from Selectable | |
Selectable () | |
virtual | ~Selectable () |
virtual bool | selected () const |
Public Member Functions inherited from SelectableOwner | |
SelectableOwner () | |
virtual | ~SelectableOwner () |
void | get_selectables (Temporal::timepos_t const &start, Temporal::timepos_t const &end, double x, double y, std::list< Selectable * > &sl, bool within=false) |
Public Member Functions inherited from LineMerger | |
virtual | ~LineMerger () |
Static Public Member Functions | |
static bool | parse_state_id (std::string const &, PBD::ID &, bool &, Evoral::Parameter &) |
Static Public Member Functions inherited from TimeAxisView | |
static void | setup_sizes () |
static int | max_order () |
static uint32_t | preset_height (Height) |
Static Public Member Functions inherited from AxisView | |
static GUIObjectState & | gui_object_state () |
static Gdk::Color | round_robin_palette_color () |
Static Protected Attributes | |
static Pango::FontDescription | name_font |
static bool | have_name_font |
Static Protected Attributes inherited from TimeAxisView | |
static Glib::RefPtr< Gtk::SizeGroup > | controls_meters_size_group |
static Glib::RefPtr< Gtk::SizeGroup > | midi_scroomer_size_group |
static unsigned int | name_width_px |
Private Member Functions | |
int | set_state_2X (const XMLNode &, int) |
Additional Inherited Members | |
Public Attributes inherited from AxisView | |
sigc::signal< void > | Hiding |
Static Public Attributes inherited from TimeAxisView | |
static PBD::Signal< void(TimeAxisView *)> | CatchDeletion |
Definition at line 64 of file automation_time_axis.h.
Enumerator | |
---|---|
VelocityModeLollipops | |
VelocityModeLine |
Definition at line 141 of file automation_time_axis.h.
AutomationTimeAxisView::AutomationTimeAxisView | ( | ARDOUR::Session * | , |
std::shared_ptr< ARDOUR::Stripable > | , | ||
std::shared_ptr< ARDOUR::Automatable > | , | ||
std::shared_ptr< ARDOUR::AutomationControl > | , | ||
Evoral::Parameter | , | ||
PublicEditor & | , | ||
TimeAxisView & | parent, | ||
bool | show_regions, | ||
ArdourCanvas::Canvas & | canvas, | ||
const std::string & | name = "" , |
||
const std::string & | plug_name = "" |
||
) |
AutomationTimeAxisView::~AutomationTimeAxisView | ( | ) |
|
virtual |
Implements SelectableOwner.
void AutomationTimeAxisView::add_automation_event | ( | GdkEvent * | , |
Temporal::timepos_t const & | , | ||
double | , | ||
bool | with_guard_points | ||
) |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
inline |
Definition at line 100 of file automation_time_axis.h.
|
inline |
Definition at line 125 of file automation_time_axis.h.
|
protectedvirtual |
Build the standard LHS control menu. Subclasses should extend this method to add their own menu options.
Reimplemented from TimeAxisView.
|
inlineprotectedvirtual |
Reimplemented from TimeAxisView.
Definition at line 201 of file automation_time_axis.h.
|
protected |
void AutomationTimeAxisView::clear_lines | ( | ) |
|
virtual |
Implements AxisView.
|
protected |
|
inlinevirtual |
Reimplemented from AxisView.
Definition at line 119 of file automation_time_axis.h.
|
inline |
Definition at line 120 of file automation_time_axis.h.
|
virtual |
Reimplemented from TimeAxisView.
|
protected |
|
protectedvirtual |
potential handler for entered events
Reimplemented from TimeAxisView.
|
protectedvirtual |
Reimplemented from TimeAxisView.
|
virtual |
Implements SelectableOwner.
bool AutomationTimeAxisView::has_automation | ( | ) | const |
|
protected |
|
inlinevirtual |
Reimplemented from TimeAxisView.
Definition at line 107 of file automation_time_axis.h.
|
protected |
|
inline |
Definition at line 95 of file automation_time_axis.h.
std::list<std::shared_ptr<AutomationLine> > AutomationTimeAxisView::lines | ( | ) | const |
|
virtual |
Implements LineMerger.
|
inlinevirtual |
Reimplemented from TimeAxisView.
Definition at line 83 of file automation_time_axis.h.
|
inline |
Definition at line 121 of file automation_time_axis.h.
|
inline |
Definition at line 131 of file automation_time_axis.h.
|
static |
|
virtual |
Paste a selection.
pos | Position to paste to (session samples). |
selection | Selection to paste. |
ctx | Paste context. |
Reimplemented from TimeAxisView.
|
protected |
ARDOUR::PresentationInfo const& AutomationTimeAxisView::presentation_info | ( | ) | const |
|
protectedvirtual |
Reimplemented from TimeAxisView.
|
protected |
void AutomationTimeAxisView::set_automation_state | ( | ARDOUR::AutoState | ) |
|
virtual |
Reimplemented from TimeAxisView.
|
protected |
|
virtual |
Reimplemented from TimeAxisView.
|
virtual |
Reimplemented from TimeAxisView.
|
virtual |
Reimplemented from TimeAxisView.
int AutomationTimeAxisView::set_state | ( | const XMLNode & | , |
int | version | ||
) |
|
private |
void AutomationTimeAxisView::set_velocity_mode | ( | VelocityMode | , |
bool | force = false |
||
) |
|
protected |
|
inline |
Definition at line 135 of file automation_time_axis.h.
|
inlinevirtual |
Reimplemented from TimeAxisView.
Definition at line 106 of file automation_time_axis.h.
|
virtual |
Implements AxisView.
|
virtual |
Implements AxisView.
void AutomationTimeAxisView::update_name_from_param | ( | ) |
|
inline |
Definition at line 146 of file automation_time_axis.h.
|
protected |
control owner; may be _stripable, something else (e.g. a pan control), or NULL
Definition at line 163 of file automation_time_axis.h.
|
protected |
Definition at line 168 of file automation_time_axis.h.
|
protected |
control
Definition at line 161 of file automation_time_axis.h.
|
protected |
controller owner
Definition at line 165 of file automation_time_axis.h.
|
protected |
Definition at line 169 of file automation_time_axis.h.
|
protected |
Definition at line 220 of file automation_time_axis.h.
|
protected |
Definition at line 171 of file automation_time_axis.h.
|
protected |
Definition at line 166 of file automation_time_axis.h.
|
protected |
Definition at line 194 of file automation_time_axis.h.
|
protected |
parent strip
Definition at line 159 of file automation_time_axis.h.
|
protected |
Definition at line 221 of file automation_time_axis.h.
|
protected |
Definition at line 236 of file automation_time_axis.h.
|
protected |
AutomationStreamView if we are editing region-based automation (for MIDI), otherwise 0
Definition at line 174 of file automation_time_axis.h.
|
protected |
Definition at line 179 of file automation_time_axis.h.
|
protected |
Definition at line 187 of file automation_time_axis.h.
|
protected |
Definition at line 183 of file automation_time_axis.h.
|
protected |
Definition at line 184 of file automation_time_axis.h.
|
protected |
Definition at line 185 of file automation_time_axis.h.
|
protected |
Definition at line 186 of file automation_time_axis.h.
|
protected |
Definition at line 176 of file automation_time_axis.h.
|
staticprotected |
Definition at line 230 of file automation_time_axis.h.
|
protected |
Definition at line 178 of file automation_time_axis.h.
|
protected |
Definition at line 210 of file automation_time_axis.h.
|
protected |
Definition at line 209 of file automation_time_axis.h.
|
protected |
Definition at line 189 of file automation_time_axis.h.
|
protected |
Definition at line 192 of file automation_time_axis.h.
|
protected |
Definition at line 190 of file automation_time_axis.h.
|
protected |
Definition at line 191 of file automation_time_axis.h.
|
staticprotected |
Definition at line 229 of file automation_time_axis.h.
|
protected |
Definition at line 180 of file automation_time_axis.h.
|
protected |
Definition at line 181 of file automation_time_axis.h.