#include <string>
#include <ardour/types.h>
+#include "canvas.h"
#include "time_axis_view.h"
#include "simplerect.h"
class Route;
}
-namespace Gtk {
- class Widget;
-}
-
class PublicEditor;
class TimeSelection;
class AudioRegionSelection;
ARDOUR::Route&,
PublicEditor&,
TimeAxisView& parent,
- Gtk::Widget* parent,
- std::string name, /* translatable */
- std::string state_name, /* not translatable */
- std::string plug_name = "");
+ ArdourCanvas::Canvas& canvas,
+ const string & name, /* translatable */
+ const string & state_name, /* not translatable */
+ const string & plug_name = "");
~AutomationTimeAxisView();
bool cut_copy_clear (Selection&, Editing::CutCopyOp);
bool cut_copy_clear_objects (PointSelection&, Editing::CutCopyOp);
bool paste (jack_nframes_t, float times, Selection&, size_t nth);
+ void reset_objects (PointSelection&);
void add_ghost (GhostRegion*);
void remove_ghost (GhostRegion*);
protected:
ARDOUR::Route& route;
- Gnome::Canvas::SimpleRect* base_rect;
+ ArdourCanvas::SimpleRect* base_rect;
string _name;
string _state_name;
bool in_destructor;
bool cut_copy_clear_one (AutomationLine&, Selection&, Editing::CutCopyOp);
bool cut_copy_clear_objects_one (AutomationLine&, PointSelection&, Editing::CutCopyOp);
bool paste_one (AutomationLine&, jack_nframes_t, float times, Selection&, size_t nth);
+ void reset_objects_one (AutomationLine&, PointSelection&);
virtual void set_automation_state (ARDOUR::AutoState) = 0;
bool ignore_state_request;