summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2010-04-26 21:47:58 +0000
committerBen Loftis <ben@glw.com>2010-04-26 21:47:58 +0000
commit507f22c7cda1eac54cd2952fd50f188e722bf6eb (patch)
treed5fa4c346815b82f8415eeff1a8505f4333ac16f /gtk2_ardour/time_axis_view.h
parented4970a20308b4a03bb0a96f8c6580a84312fb79 (diff)
change automation track selection model slightly so that auto tracks are highlighted as expected. only show range boxes when the automation will actually get edited. clicking an automation track should show the editor-mixer for the parent track
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6997 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index b624bda73a..86721a55e2 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -155,7 +155,7 @@ class TimeAxisView : public virtual AxisView, public Stateful
virtual void hide ();
bool hidden() const { return _hidden; }
- virtual void set_selected (bool);
+ virtual void set_selected (Selection&);
/**
* potential handler for entered events
@@ -225,6 +225,7 @@ class TimeAxisView : public virtual AxisView, public Stateful
/* state/serialization management */
void set_parent (TimeAxisView& p);
+ TimeAxisView *get_parent () {return parent;}
bool has_state () const;
/* call this on the parent */