2005-09-25 14:42:24 -04:00
|
|
|
#ifndef __ardour_gtk_pan_automation_time_axis_h__
|
|
|
|
#define __ardour_gtk_pan_automation_time_axis_h__
|
|
|
|
|
2005-11-14 23:47:01 -05:00
|
|
|
#include "canvas.h"
|
2005-09-25 14:42:24 -04:00
|
|
|
#include "automation_time_axis.h"
|
|
|
|
|
2006-07-13 23:43:32 -04:00
|
|
|
#include <gtkmm/comboboxtext.h>
|
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
namespace ARDOUR {
|
|
|
|
class Redirect;
|
|
|
|
}
|
|
|
|
|
|
|
|
class PanAutomationTimeAxisView : public AutomationTimeAxisView
|
|
|
|
{
|
2006-07-13 23:43:32 -04:00
|
|
|
public:
|
|
|
|
PanAutomationTimeAxisView (ARDOUR::Session&,
|
2006-07-27 21:08:57 -04:00
|
|
|
boost::shared_ptr<ARDOUR::Route>,
|
|
|
|
PublicEditor&,
|
|
|
|
TimeAxisView& parent_axis,
|
|
|
|
ArdourCanvas::Canvas& canvas,
|
|
|
|
std::string name);
|
2006-07-13 23:43:32 -04:00
|
|
|
|
|
|
|
~PanAutomationTimeAxisView();
|
|
|
|
|
|
|
|
void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, jack_nframes_t, double);
|
|
|
|
|
|
|
|
void clear_lines ();
|
|
|
|
void add_line (AutomationLine&);
|
|
|
|
void set_height (TimeAxisView::TrackHeight);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Gtk::ComboBoxText multiline_selector;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void automation_changed ();
|
|
|
|
void set_automation_state (ARDOUR::AutoState);
|
2005-09-25 14:42:24 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __ardour_gtk_pan_automation_time_axis_h__ */
|