mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Use shared_ptr for the TimeAxisView hierarchy.
git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0f8031da06
commit
4297071b3f
71 changed files with 1102 additions and 879 deletions
|
|
@ -42,7 +42,7 @@ class AutomationRegionView;
|
|||
class AutomationStreamView : public StreamView
|
||||
{
|
||||
public:
|
||||
AutomationStreamView (AutomationTimeAxisView& tv);
|
||||
AutomationStreamView (AutomationTimeAxisViewPtr tv);
|
||||
~AutomationStreamView ();
|
||||
|
||||
void set_automation_state (ARDOUR::AutoState state);
|
||||
|
|
@ -50,7 +50,7 @@ class AutomationStreamView : public StreamView
|
|||
void redisplay_diskstream ();
|
||||
|
||||
inline double contents_height() const {
|
||||
return (_trackview.current_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2);
|
||||
return (_trackview->current_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
@ -65,7 +65,7 @@ class AutomationStreamView : public StreamView
|
|||
|
||||
boost::shared_ptr<AutomationController> _controller;
|
||||
|
||||
AutomationTimeAxisView& _automation_view;
|
||||
AutomationTimeAxisViewPtr _automation_view;
|
||||
};
|
||||
|
||||
#endif /* __ardour_automation_streamview_h__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue