mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
allow dragging in MIDI automation line in cue editor
Note: once this is cleaned up and checked with respect to snap and more, the same should be done for MidiRegionView
This commit is contained in:
parent
4b8c51574d
commit
b8fb779fa7
10 changed files with 87 additions and 66 deletions
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "ardour/types.h"
|
||||
|
||||
class EditorAutomationLine;
|
||||
class AutomationLine;
|
||||
class RouteTimeAxisView;
|
||||
class EditingContext;
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ class AutomationControl;
|
|||
class MergeableLine
|
||||
{
|
||||
public:
|
||||
MergeableLine (std::shared_ptr<EditorAutomationLine> l, std::shared_ptr<ARDOUR::AutomationControl> c,
|
||||
MergeableLine (std::shared_ptr<AutomationLine> l, std::shared_ptr<ARDOUR::AutomationControl> c,
|
||||
std::function<Temporal::timepos_t(Temporal::timepos_t const &)> tf,
|
||||
std::function<void(ARDOUR::AutoState)> asc,
|
||||
std::function<void()> ctc)
|
||||
|
|
@ -53,7 +53,7 @@ class MergeableLine
|
|||
void merge_drawn_line (EditingContext& e, ARDOUR::Session& s, Evoral::ControlList::OrderedPoints& points, bool thin);
|
||||
|
||||
private:
|
||||
std::shared_ptr<EditorAutomationLine> _line;
|
||||
std::shared_ptr<AutomationLine> _line;
|
||||
std::shared_ptr<ARDOUR::AutomationControl> _control;
|
||||
std::function<Temporal::timepos_t(Temporal::timepos_t const &)> time_filter;
|
||||
std::function<void(ARDOUR::AutoState)> automation_state_callback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue