mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
37 lines
731 B
C
37 lines
731 B
C
|
|
#ifndef __ardour_gtk_automation_gain_line_h__
|
||
|
|
#define __ardour_gtk_automation_gain_line_h__
|
||
|
|
|
||
|
|
#include <ardour/ardour.h>
|
||
|
|
#include <gtk-canvas.h>
|
||
|
|
#include <gtk--.h>
|
||
|
|
|
||
|
|
#include "automation_line.h"
|
||
|
|
|
||
|
|
namespace ARDOUR {
|
||
|
|
class Session;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
class TimeAxisView;
|
||
|
|
|
||
|
|
class AutomationGainLine : public AutomationLine
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
AutomationGainLine (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;
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
#endif /* __ardour_gtk_automation_gain_line_h__ */
|
||
|
|
|
||
|
|
|