fix track controls height allocation to be font sensitive; fix core dump related...
[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 "canvas.h"
5 #include "automation_time_axis.h"
6
7 namespace ARDOUR {
8         class Redirect;
9 }
10
11 class PanAutomationTimeAxisView : public AutomationTimeAxisView
12 {
13   public:
14         PanAutomationTimeAxisView (ARDOUR::Session&,
15                                    ARDOUR::Route&,
16                                    PublicEditor&,
17                                    TimeAxisView& parent_axis,
18                                    ArdourCanvas::Canvas& canvas,
19                                    std::string name);
20
21         ~PanAutomationTimeAxisView();
22
23         void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, jack_nframes_t, double);
24         
25    private:
26         void automation_changed ();
27         void set_automation_state (ARDOUR::AutoState);
28 };
29
30 #endif /* __ardour_gtk_pan_automation_time_axis_h__ */