13
0
livetrax/gtk2_ardour/automation_pan_line.h

36 lines
776 B
C
Raw Normal View History

#ifndef __ardour_gtk_automation_pan_line_h__
#define __ardour_gtk_automation_pan_line_h__
#include <ardour/ardour.h>
#include <libgnomecanvas/libgnomecanvas.h>
#include <gtkmm.h>
#include "automation_line.h"
namespace ARDOUR {
class Session;
}
class TimeAxisView;
class AutomationPanLine : public AutomationLine
{
public:
AutomationPanLine (string name, ARDOUR::Session&, TimeAxisView&, Gnome::Canvas::Group& parent,
ARDOUR::Curve&,
sigc::slot<bool,GdkEvent*,ControlPoint*> point_handler,
sigc::slot<bool,GdkEvent*,AutomationLine*> line_handler);
void view_to_model_y (double&);
void model_to_view_y (double&);
private:
ARDOUR::Session& session;
vector<GnomeCanvasItem*> lines;
};
#endif /* __ardour_gtk_automation_pan_line_h__ */