Create the session range location as and when the session first gets some content...
[ardour.git] / gtk2_ardour / editor.h
index 38129be33b874fdb57a0e1fe022a116ab8dec367..153fbe565148b6d0401c0dd63f06a4eeceea8ff9 100644 (file)
@@ -898,7 +898,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        Gtk::Table          edit_packer;
 
        Gtk::Adjustment     vertical_adjustment;
-       Gtk::Adjustment     horizontal_adjustment;
 
        Gtk::Layout         controls_layout;
        bool control_layout_scroll (GdkEventScroll* ev);
@@ -935,7 +934,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        ArdourCanvas::Group* get_trackview_group () const { return _trackview_group; }
        double last_trackview_group_vertical_offset;
        void tie_vertical_scrolling ();
-       void scroll_canvas_horizontally ();
+       void set_horizontal_position (double);
+       double horizontal_position () const;
        void scroll_canvas_vertically ();
 
        struct VisualChange {
@@ -969,8 +969,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        void queue_visual_change_y (double);
        void ensure_visual_change_idle_handler ();
 
-       void session_range_location_changed (ARDOUR::Location*);
-
        /* track views */
        TrackViewList track_views;
        std::pair<TimeAxisView*, ARDOUR::layer_t> trackview_by_y_position (double);
@@ -1396,7 +1394,6 @@ public:
        void kbd_do_brush (GdkEvent*);
        void kbd_do_audition (GdkEvent*);
 
-       void handle_new_duration ();
        void initialize_canvas ();
 
        /* display control */