mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Initial import of gtk2_ardour.
git-svn-id: svn://localhost/trunk/ardour2@24 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e4b9aed743
commit
209d967b1b
240 changed files with 136995 additions and 0 deletions
35
gtk2_ardour/automation_pan_line.h
Normal file
35
gtk2_ardour/automation_pan_line.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#ifndef __ardour_gtk_automation_pan_line_h__
|
||||
#define __ardour_gtk_automation_pan_line_h__
|
||||
|
||||
#include <ardour/ardour.h>
|
||||
#include <gtk-canvas.h>
|
||||
#include <gtk--.h>
|
||||
|
||||
#include "automation_line.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
class Session;
|
||||
}
|
||||
|
||||
class TimeAxisView;
|
||||
|
||||
class AutomationPanLine : public AutomationLine
|
||||
{
|
||||
public:
|
||||
AutomationPanLine (string name, ARDOUR::Session&, TimeAxisView&, GtkCanvasItem* parent,
|
||||
ARDOUR::Curve&,
|
||||
gint (*point_callback)(GtkCanvasItem*, GdkEvent*, gpointer),
|
||||
gint (*line_callback)(GtkCanvasItem*, GdkEvent*, gpointer));
|
||||
|
||||
void view_to_model_y (double&);
|
||||
void model_to_view_y (double&);
|
||||
|
||||
private:
|
||||
ARDOUR::Session& session;
|
||||
vector<GtkCanvasItem*> lines;
|
||||
};
|
||||
|
||||
|
||||
#endif /* __ardour_gtk_automation_pan_line_h__ */
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue