16b0808148ef1ea7252f9f8e09b5540eb2a64527
[ardour.git] / gtk2_ardour / pan_automation_time_axis.h
1 #ifndef __ardour_gtk_pan_automation_time_axis_h__
2 #define __ardour_gtk_pan_automation_time_axis_h__
3
4 #include "automation_time_axis.h"
5
6 namespace ARDOUR {
7         class Redirect;
8 }
9
10 class PanAutomationTimeAxisView : public AutomationTimeAxisView
11 {
12   public:
13         PanAutomationTimeAxisView (ARDOUR::Session&,
14                                    ARDOUR::Route&,
15                                    PublicEditor&,
16                                    TimeAxisView& parent_axis,
17                                    Gtk::Widget* parent,
18                                    std::string name);
19
20         ~PanAutomationTimeAxisView();
21
22         void add_automation_event (GtkCanvasItem *item, GdkEvent *event, jack_nframes_t, double);
23         
24    private:
25         void automation_changed ();
26         void set_automation_state (ARDOUR::AutoState);
27 };
28
29 #endif /* __ardour_gtk_pan_automation_time_axis_h__ */