X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ftempo_lines.h;h=1ab71e0681e1194e42ca85f0dbc080935b1a1b0c;hb=82be348d429b97f3e223b3a5b1c6807d23fcdaa0;hp=83c71849c2e5de957663319d5ffefd86a1e3930f;hpb=a8baa20be8fd65299e843611eb8bb90443806da8;p=ardour.git diff --git a/gtk2_ardour/tempo_lines.h b/gtk2_ardour/tempo_lines.h index 83c71849c2..1ab71e0681 100644 --- a/gtk2_ardour/tempo_lines.h +++ b/gtk2_ardour/tempo_lines.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2000-2007 Paul Davis + Copyright (C) 2000-2007 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,12 +22,12 @@ #include #include #include -#include +#include "ardour/tempo.h" #include "canvas.h" #include "simpleline.h" typedef boost::fast_pool_allocator< - std::pair, + std::pair, boost::default_user_allocator_new_delete, boost::details::pool::null_mutex, 8192> @@ -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();