2005-09-25 14:42:24 -04:00
|
|
|
#ifndef __ardour_gtk_automation_pan_line_h__
|
|
|
|
#define __ardour_gtk_automation_pan_line_h__
|
|
|
|
|
|
|
|
#include <ardour/ardour.h>
|
2005-09-25 18:26:56 -04:00
|
|
|
#include <libgnomecanvas/libgnomecanvas.h>
|
2005-09-25 16:33:00 -04:00
|
|
|
#include <gtkmm.h>
|
2005-09-25 14:42:24 -04:00
|
|
|
|
|
|
|
#include "automation_line.h"
|
|
|
|
|
|
|
|
namespace ARDOUR {
|
|
|
|
class Session;
|
|
|
|
}
|
|
|
|
|
|
|
|
class TimeAxisView;
|
|
|
|
|
|
|
|
class AutomationPanLine : public AutomationLine
|
|
|
|
{
|
|
|
|
public:
|
2005-11-13 13:13:50 -05:00
|
|
|
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);
|
2005-09-25 14:42:24 -04:00
|
|
|
|
|
|
|
void view_to_model_y (double&);
|
|
|
|
void model_to_view_y (double&);
|
|
|
|
|
|
|
|
private:
|
|
|
|
ARDOUR::Session& session;
|
2005-09-25 18:26:56 -04:00
|
|
|
vector<GnomeCanvasItem*> lines;
|
2005-09-25 14:42:24 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __ardour_gtk_automation_pan_line_h__ */
|
|
|
|
|
|
|
|
|