summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-01-17 01:42:44 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-01-17 01:42:44 +0000
commit762d2ae936bd78053d9f344ce9392b7867304ae2 (patch)
tree4d5b8655b28f02ba56183b133b87e18b0f9e5d50 /gtk2_ardour/time_axis_view_item.h
parentd3071f84e5be7d611b83ce68908da697566a9713 (diff)
fix ordering of cut/copied regions when pasting; ctrl-click now does the right thing the first time its used on a region; fix missing click and other dubious behaviour in new sessions caused by not connecting to Configuration::ParameterChanged in the new session constructor
git-svn-id: svn://localhost/ardour2/trunk@1331 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.h')
-rw-r--r--gtk2_ardour/time_axis_view_item.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h
index e27b944e2a..80d9177041 100644
--- a/gtk2_ardour/time_axis_view_item.h
+++ b/gtk2_ardour/time_axis_view_item.h
@@ -233,6 +233,11 @@ class TimeAxisViewItem : public Selectable
/**
+ * Returns the time axis that this item is upon
+ */
+ TimeAxisView& get_trackview() const { return trackview; }
+
+ /**
* Sets the samples per unit of this item.
* this item is used to determine the relative visual size and position of this item
* based upon its duration and start value.