diff options
author | nick_m <mainsbridge@gmail.com> | 2016-05-18 03:26:18 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-05-27 23:38:16 +1000 |
commit | 0c7ecc6cbb4baaa6d4aebcf7f4ff682b67f6b64c (patch) | |
tree | 76ad84fd948aecda854bce172e5069d43c8efc48 /gtk2_ardour/tempo_curve.h | |
parent | 6209b3f445be993c64d7ae4cae09f7ef1eea48d0 (diff) |
Tempo ramps - add Canvas::FramedCurve and use it in the tempo marker bar.
Diffstat (limited to 'gtk2_ardour/tempo_curve.h')
-rw-r--r-- | gtk2_ardour/tempo_curve.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/tempo_curve.h b/gtk2_ardour/tempo_curve.h index 91311a3be6..dc678e4a6c 100644 --- a/gtk2_ardour/tempo_curve.h +++ b/gtk2_ardour/tempo_curve.h @@ -10,6 +10,7 @@ #include "pbd/signals.h" #include "canvas/types.h" +#include "canvas/framed_curve.h" namespace ARDOUR { class TempoSection; @@ -50,8 +51,7 @@ protected: ArdourCanvas::Container* _parent; ArdourCanvas::Container *group; ArdourCanvas::Points *points; - ArdourCanvas::Rectangle* _background; - ArdourCanvas::Curve* _curve; + ArdourCanvas::FramedCurve* _curve; double unit_position; framepos_t frame_position; |