X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fautomation_region_view.h;h=b17e1601f23a988e07708cc25715bed8b7bf6bf2;hb=84b4dd94e34afea47dcb6b411215d5b86f112e25;hp=b4f53b59215cfe66f77a66a492d420e24daf3d3f;hpb=3c00a7ca2ae34cb65c8d3394d9a012f20c69ee77;p=ardour.git diff --git a/gtk2_ardour/automation_region_view.h b/gtk2_ardour/automation_region_view.h index b4f53b5921..b17e1601f2 100644 --- a/gtk2_ardour/automation_region_view.h +++ b/gtk2_ardour/automation_region_view.h @@ -20,7 +20,6 @@ #ifndef __gtk_ardour_automation_region_view_h__ #define __gtk_ardour_automation_region_view_h__ -#include "ardour/diskstream.h" #include "ardour/types.h" #include "region_view.h" @@ -54,7 +53,6 @@ public: inline AutomationTimeAxisView* automation_view() const { return dynamic_cast(&trackview); } - void set_line(boost::shared_ptr line) { _line = line; } boost::shared_ptr line() { return _line; } // We are a ghost. Meta ghosts? Crazy talk. @@ -65,11 +63,11 @@ public: protected: void create_line(boost::shared_ptr list); - bool set_position(nframes64_t pos, void* src, double* ignored); - void region_resized (PBD::Change what_changed); + bool set_position(framepos_t pos, void* src, double* ignored); + void region_resized (const PBD::PropertyChange&); bool canvas_event(GdkEvent* ev); - void add_automation_event (GdkEvent* event, nframes_t when, double y); - void entered(); + void add_automation_event (GdkEvent* event, framepos_t when, double y); + void entered (bool); void exited(); private: