Revert "Revert "patch for waflib internals to allow tarball to be created even when...
[ardour.git] / gtk2_ardour / route_time_axis.h
index 5e123f2fa7aeb864c21aec30b49b11f670b24984..825a286360f50c4ccb9c0eda06845e404a4fa283 100644 (file)
@@ -75,8 +75,15 @@ class ItemCounts;
 class RouteTimeAxisView : public RouteUI, public TimeAxisView
 {
 public:
-       RouteTimeAxisView (PublicEditor&, ARDOUR::Session*, ArdourCanvas::Canvas& canvas);
-       virtual ~RouteTimeAxisView ();
+       RouteTimeAxisView (PublicEditor&, ARDOUR::Session*, ArdourCanvas::Canvas& canvas);
+       virtual ~RouteTimeAxisView ();
+
+       std::string name()  const;
+       Gdk::Color color () const;
+       bool marked_for_display () const;
+       bool set_marked_for_display (bool);
+
+       boost::shared_ptr<ARDOUR::Stripable> stripable() const { return RouteUI::stripable(); }
 
        void set_route (boost::shared_ptr<ARDOUR::Route>);
 
@@ -84,7 +91,7 @@ public:
        void set_button_names ();
 
        void set_samples_per_pixel (double);
-       void set_height (uint32_t h, TrackHeightMode m = OnlySelf);
+       void set_height (uint32_t h, TrackHeightMode m = OnlySelf);
        void show_timestretch (framepos_t start, framepos_t end, int layers, int layer);
        void hide_timestretch ();
        void selection_click (GdkEventButton*);
@@ -100,7 +107,7 @@ public:
 
        /* Editing operations */
        void cut_copy_clear (Selection&, Editing::CutCopyOp);
-       bool paste (ARDOUR::framepos_t, const Selection&, PasteContext& ctx);
+       bool paste (ARDOUR::framepos_t, const Selection&, PasteContext& ctx, const int32_t sub_num);
        RegionView* combine_regions ();
        void uncombine_regions ();
        void uncombine_region (RegionView*);
@@ -131,7 +138,6 @@ public:
        boost::shared_ptr<AutomationTimeAxisView> automation_child(Evoral::Parameter param);
        virtual Gtk::CheckMenuItem* automation_child_menu_item (Evoral::Parameter);
 
-       std::string         name() const;
        StreamView*         view() const { return _view; }
        ARDOUR::RouteGroup* route_group() const;
        boost::shared_ptr<ARDOUR::Playlist> playlist() const;
@@ -177,7 +183,7 @@ protected:
 
        void update_diskstream_display ();
 
-       gint route_group_click  (GdkEventButton *);
+       bool route_group_click  (GdkEventButton *);
 
        void processors_changed (ARDOUR::RouteProcessorChange);
 
@@ -221,13 +227,13 @@ protected:
 
        void set_align_choice (Gtk::RadioMenuItem*, ARDOUR::AlignChoice, bool apply_to_selection = false);
 
-       void         playlist_click ();
+       bool         playlist_click (GdkEventButton *);
        void         show_playlist_selector ();
        void         playlist_changed ();
 
        void rename_current_playlist ();
 
-       void         automation_click ();
+       bool         automation_click (GdkEventButton *);
 
        virtual void show_all_automation (bool apply_to_selection = false);
        virtual void show_existing_automation (bool apply_to_selection = false);
@@ -333,4 +339,3 @@ private:
 };
 
 #endif /* __ardour_route_time_axis_h__ */
-