13
0
livetrax/gtk2_ardour/automation_pan_line.h
Taybin Rutkin 14d43ca9fe Switched to use libgnomecanvas (not the C++ one).
git-svn-id: svn://localhost/trunk/ardour2@30 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-09-25 22:26:56 +00:00

36 lines
779 B
C++

#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&, GnomeCanvasItem* parent,
ARDOUR::Curve&,
gint (*point_callback)(GnomeCanvasItem*, GdkEvent*, gpointer),
gint (*line_callback)(GnomeCanvasItem*, GdkEvent*, gpointer));
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__ */