projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
distinguish global peak-reset button from meters:
[ardour.git]
/
gtk2_ardour
/
tempo_lines.h
diff --git
a/gtk2_ardour/tempo_lines.h
b/gtk2_ardour/tempo_lines.h
index 912a77aea2cbd0795b8cf3d640eae8c702f6edb4..99a6a6b93f03ddf704fb80834d282c9508b985d0 100644
(file)
--- a/
gtk2_ardour/tempo_lines.h
+++ b/
gtk2_ardour/tempo_lines.h
@@
-19,12
+19,13
@@
#ifndef __ardour_tempo_lines_h__
#define __ardour_tempo_lines_h__
#ifndef __ardour_tempo_lines_h__
#define __ardour_tempo_lines_h__
-#include <list>
#include "ardour/tempo.h"
#include "ardour/tempo.h"
+#include "canvas/line_set.h"
+
class TempoLines {
public:
class TempoLines {
public:
- TempoLines
(ArdourCanvas::Canvas& canvas, ArdourCanvas::Group
* group, double screen_height);
+ TempoLines
(ArdourCanvas::Container
* group, double screen_height);
void tempo_map_changed();
void tempo_map_changed();
@@
-35,12
+36,7
@@
public:
void hide();
private:
void hide();
private:
- typedef std::list<ArdourCanvas::Line*> Lines;
- Lines _lines;
- Lines _cache;
-
- ArdourCanvas::Canvas& _canvas;
- ArdourCanvas::Group* _group;
+ ArdourCanvas::LineSet lines;
double _height;
};
double _height;
};