- GdkPixmap* get_pixmap (GdkDrawable *);
- void render_region (RegionView*, cairo_t*, nframes_t, double) const;
- void editor_view (std::pair<double, double> *, std::pair<double, double> *) const;
-
- Editor* _editor; ///< our editor
- ARDOUR::Session* _session; ///< our session
- GdkPixmap* _pixmap; ///< pixmap containing a rendering of the region views, or 0
- bool _regions_dirty; ///< true if _pixmap requires re-rendering, otherwise false
- int _width; ///< pixmap width
- int _height; ///< pixmap height
- double _pixels_per_frame; ///< pixels per frame for the x axis of the pixmap
- double _vertical_scale;
+ void render_region (RegionView*, cairo_t*, double) const;
+ void get_editor (std::pair<double, double> *, std::pair<double, double> *) const;
+ void set_editor (double, double);
+ void set_editor (std::pair<double, double>, double);
+ void set_editor (std::pair<double, double>, std::pair<double, double>);
+ void set_editor_x (double);
+ void set_editor_x (std::pair<double, double>);
+ void set_editor_y (double);
+ void set_editor_y (std::pair<double, double>);
+ void playhead_position_changed (framepos_t);
+ double summary_y_to_editor (double) const;
+ double editor_y_to_summary (double) const;
+ Position get_position (double, double) const;
+ void set_cursor (Position);
+ void route_gui_changed (std::string);
+ bool suspending_editor_updates () const;
+ double playhead_frame_to_position (framepos_t) const;
+ framepos_t position_to_playhead_frame_to_position (double pos) const;
+ void set_overlays_dirty (int, int, int, int);
+
+ framepos_t _start; ///< start frame of the overview
+ framepos_t _end; ///< end frame of the overview
+
+ /** fraction of the session length by which the overview size should extend past the start and end markers */
+ double _overhang_fraction;
+
+ double _x_scale; ///< pixels per frame for the x axis of the pixmap
+ double _track_height;
+ double _last_playhead;
+
+ std::pair<double, double> _start_editor_x;
+ std::pair<double, double> _start_editor_y;
+ double _start_mouse_x;
+ double _start_mouse_y;
+
+ Position _start_position;