class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARDOUR::SessionHandlePtr
{
- public:
+public:
Editor ();
~Editor ();
return pixel * samples_per_pixel;
}
- double sample_to_pixel (framepos_t sample) const {
- return round (sample / (double) samples_per_pixel);
+ double sample_to_pixel (framepos_t sample) const {
+ return round (sample / (double) samples_per_pixel);
}
double sample_to_pixel_unrounded (framepos_t sample) const {
void scroll_left_half_page ();
void scroll_right_half_page ();
+ void select_topmost_track ();
+
void prepare_for_cleanup ();
void finish_cleanup ();
void edit_tempo_section (ARDOUR::TempoSection*);
void edit_meter_section (ARDOUR::MeterSection*);
- protected:
+protected:
void map_transport_state ();
void map_position_change (framepos_t);
+ void transport_looped ();
void on_realize();
void suspend_route_redisplay ();
void resume_route_redisplay ();
- private:
+private:
void color_handler ();
TrackViewList get_tracks_for_range_action () const;
sigc::connection super_rapid_screen_update_connection;
- framepos_t last_update_frame;
void center_screen_internal (framepos_t, float);
void super_rapid_screen_update ();
+ int64_t _last_update_time;
+ double _err_screen_engine;
+
void session_going_away ();
framepos_t cut_buffer_start;
void normalize_region ();
void reset_region_scale_amplitude ();
void adjust_region_gain (bool up);
+ void reset_region_gain ();
void quantize_region ();
void quantize_regions (const RegionSelection& rs);
void legatize_region (bool shrink_only);
PBD::Signal0<void> EditorFreeze;
PBD::Signal0<void> EditorThaw;
- private:
+private:
friend class DragManager;
friend class EditorRouteGroups;
friend class EditorRegions;
void marker_menu_rename ();
void rename_marker (ArdourMarker *marker);
void toggle_marker_lock_style ();
+ void toggle_tempo_clamped ();
void toggle_tempo_type ();
void continue_previous_tempo ();
void ramp_to_next_tempo ();