ControlPoints = 0x2,
SelectedControlPoints = 0x4
};
-
+
AutomationLine (const std::string& name,
TimeAxisView& tv,
ArdourCanvas::Item& parent,
void queue_reset ();
void reset ();
void clear ();
+ void set_fill (bool f) { _fill = f; } // owner needs to call set_height
void set_selected_points (PointSelection const &);
void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list<Selectable*>&);
}
void set_offset (ARDOUR::framecnt_t);
+ ARDOUR::framecnt_t offset () { return _offset; }
void set_width (ARDOUR::framecnt_t);
framepos_t session_position (ARDOUR::AutomationList::const_iterator) const;
bool _our_time_converter;
VisibleAspects _visible;
-
+
bool _uses_gain_mapping;
bool terminal_points_can_slide;
bool update_pending;
typedef boost::shared_ptr<ContiguousControlPoints> CCP;
std::vector<CCP> contiguous_points;
- void sync_model_with_view_point (ControlPoint&);
- void sync_model_with_view_points (std::list<ControlPoint*>);
+ bool sync_model_with_view_point (ControlPoint&);
+ bool sync_model_with_view_points (std::list<ControlPoint*>);
void start_drag_common (double, float);
- virtual void change_model (ARDOUR::AutomationList::iterator, double x, double y);
-
void reset_callback (const Evoral::ControlList&);
void list_changed ();
/** maximum time that a point on this line can be at, relative to the position of its region or start of its track */
ARDOUR::framecnt_t _maximum_time;
+ bool _fill;
+
const ARDOUR::ParameterDescriptor _desc;
friend class AudioRegionGainLine;