class AutomationStreamView : public StreamView
{
public:
- AutomationStreamView (AutomationTimeAxisViewPtr tv);
+ AutomationStreamView (AutomationTimeAxisView& tv);
~AutomationStreamView ();
void set_automation_state (ARDOUR::AutoState state);
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:
boost::shared_ptr<AutomationController> _controller;
- AutomationTimeAxisViewPtr _automation_view;
+ AutomationTimeAxisView& _automation_view;
};
#endif /* __ardour_automation_streamview_h__ */