From 106024330230fca331e2f611fec42ec1f4f43e5a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 11 Jun 2011 15:35:34 +0000 Subject: major, substantive reworking of how we store GUI information (visibility, height) for automation data. old design stored (insufficient) identifying information plus actual data in a GUI-only XML node; new scheme adds GUI data via extra_xml node to each AutomationControl object. reworked public/private methods for showing/hiding TimeAxisView objects; changed labelling of automation tracks to just show the name of the controlled parameter - more info can be viewed in the tooltip for the track headers. NOTE: Session file format ALTERED. No data loss but track visibility may be different than previous ardour3 versions git-svn-id: svn://localhost/ardour2/branches/3.0@9703 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/time_axis_view.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'gtk2_ardour/time_axis_view.h') diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h index fde5bf0b34..8e7d6f394a 100644 --- a/gtk2_ardour/time_axis_view.h +++ b/gtk2_ardour/time_axis_view.h @@ -136,9 +136,6 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful bool touched (double top, double bot); - /** Hide this TrackView */ - virtual void hide (); - /** @return true if hidden, otherwise false */ bool hidden () const { return _hidden; } @@ -201,10 +198,6 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful void set_parent (TimeAxisView& p); bool has_state () const; - /* call this on the parent */ - - virtual XMLNode* get_automation_child_xml_node (Evoral::Parameter) { return 0; } - virtual LayerDisplay layer_display () const { return Overlaid; } virtual StreamView* view () const { return 0; } @@ -286,6 +279,9 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful void remove_child (boost::shared_ptr); void add_child (boost::shared_ptr); + virtual void hide (); + virtual void show (); + /* selection display */ ArdourCanvas::Group *selection_group; -- cgit v1.2.3