summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-03 18:43:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-03 18:43:58 +0000
commit2a200bdc0ead3d2a2a0481db44b0bc080529aa69 (patch)
tree2dc854572ed60513668647c2416707c89c68c3ea /gtk2_ardour/tempo_lines.h
parent0d4658e0afb35329fe4ba135a20df92691f8b639 (diff)
return two iterators into the Bars|Beats list of the tempo map rather than making a copy; use iterators in the GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11146 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/tempo_lines.h')
-rw-r--r--gtk2_ardour/tempo_lines.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/tempo_lines.h b/gtk2_ardour/tempo_lines.h
index 0991ba7559..1ab71e0681 100644
--- a/gtk2_ardour/tempo_lines.h
+++ b/gtk2_ardour/tempo_lines.h
@@ -39,7 +39,9 @@ public:
void tempo_map_changed();
- void draw(ARDOUR::TempoMap::BBTPointList& points, double frames_per_unit);
+ void draw(const ARDOUR::TempoMap::BBTPointList::const_iterator& begin,
+ const ARDOUR::TempoMap::BBTPointList::const_iterator& end,
+ double frames_per_unit);
void show();
void hide();