new file
[ardour.git] / gtk2_ardour / automation_region_view.h
index 99a344d681adabbf55b55f5ceba56f55930a5985..6ab9118017b6d726a0d50b0465766abcfab1d71d 100644 (file)
@@ -45,11 +45,11 @@ public:
                             const Evoral::Parameter& parameter,
                             boost::shared_ptr<ARDOUR::AutomationList>,
                             double initial_samples_per_unit,
-                            Gdk::Color& basic_color);
+                            Gdk::Color const & basic_color);
 
        ~AutomationRegionView() {}
        
-       void init (Gdk::Color& basic_color, bool wfd);
+       void init (Gdk::Color const & basic_color, bool wfd);
        
        inline AutomationTimeAxisView* automation_view() const
                { return dynamic_cast<AutomationTimeAxisView*>(&trackview); }
@@ -65,7 +65,7 @@ public:
 
 protected:
        void create_line(boost::shared_ptr<ARDOUR::AutomationList> list);
-       bool set_position(nframes_t pos, void* src, double* ignored);
+       bool set_position(nframes64_t pos, void* src, double* ignored);
        void region_resized(ARDOUR::Change what_changed);
        bool canvas_event(GdkEvent* ev);
        void add_automation_event (GdkEvent* event, nframes_t when, double y);