mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cc351b97a9
commit
402cc384ce
71 changed files with 881 additions and 1105 deletions
|
|
@ -40,7 +40,7 @@ class AutomationRegionView : public RegionView
|
|||
{
|
||||
public:
|
||||
AutomationRegionView(ArdourCanvas::Group*,
|
||||
AutomationTimeAxisViewPtr,
|
||||
AutomationTimeAxisView&,
|
||||
boost::shared_ptr<ARDOUR::Region>,
|
||||
const Evoral::Parameter& parameter,
|
||||
boost::shared_ptr<ARDOUR::AutomationList>,
|
||||
|
|
@ -51,15 +51,14 @@ public:
|
|||
|
||||
void init (Gdk::Color const & basic_color, bool wfd);
|
||||
|
||||
inline AutomationTimeAxisViewPtr automation_view() const {
|
||||
return boost::dynamic_pointer_cast<AutomationTimeAxisView> (trackview);
|
||||
}
|
||||
inline AutomationTimeAxisView* automation_view() const
|
||||
{ return dynamic_cast<AutomationTimeAxisView*>(&trackview); }
|
||||
|
||||
void set_line(boost::shared_ptr<AutomationLine> line) { _line = line; }
|
||||
boost::shared_ptr<AutomationLine> line() { return _line; }
|
||||
|
||||
// We are a ghost. Meta ghosts? Crazy talk.
|
||||
virtual GhostRegion* add_ghost(TimeAxisViewPtr) { return 0; }
|
||||
virtual GhostRegion* add_ghost(TimeAxisView&) { return NULL; }
|
||||
|
||||
void set_height (double);
|
||||
void reset_width_dependent_items(double pixel_width);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue