summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-04 04:18:34 +0000
committerDavid Robillard <d@drobilla.net>2007-08-04 04:18:34 +0000
commit604a0079ce5882cd6afd619b79020d9c694d7165 (patch)
tree747ceb53da3397e7b930463f858602e394822f61 /gtk2_ardour/streamview.h
parent93dbcbd606deb404c2296c4b7d63e4fcd316e81d (diff)
Moved note height/range/etc stuff from MidiRegionView to MidiStreamView, since it's all shared anyway.
Fixed positioning of percussion hits. Note row separator lines (ie a "piano roll".. if it counts as a piano roll without an actual piano on the side of it, anyway). git-svn-id: svn://localhost/ardour2/trunk@2237 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.h')
-rw-r--r--gtk2_ardour/streamview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h
index 3c9bd43666..5e716d7a36 100644
--- a/gtk2_ardour/streamview.h
+++ b/gtk2_ardour/streamview.h
@@ -59,7 +59,8 @@ class StreamView : public sigc::trackable
public:
virtual ~StreamView ();
- RouteTimeAxisView& trackview() { return _trackview; }
+ RouteTimeAxisView& trackview() { return _trackview; }
+ const RouteTimeAxisView& trackview() const { return _trackview; }
void attach ();