Ardour  9.7-51-gd6e9cdf74e
editor.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2006 Taybin Rutkin <taybin@taybin.com>
3  * Copyright (C) 2005-2007 Doug McLain <doug@nostar.net>
4  * Copyright (C) 2005-2018 Paul Davis <paul@linuxaudiosystems.com>
5  * Copyright (C) 2005 Karsten Wiese <fzuuzf@googlemail.com>
6  * Copyright (C) 2006-2009 Sampo Savolainen <v2@iki.fi>
7  * Copyright (C) 2006-2015 David Robillard <d@drobilla.net>
8  * Copyright (C) 2006-2017 Tim Mayberry <mojofunk@gmail.com>
9  * Copyright (C) 2007-2012 Carl Hetherington <carl@carlh.net>
10  * Copyright (C) 2008-2011 Sakari Bergen <sakari.bergen@beatwaves.net>
11  * Copyright (C) 2008 Hans Baier <hansfbaier@googlemail.com>
12  * Copyright (C) 2013-2015 Colin Fletcher <colin.m.fletcher@googlemail.com>
13  * Copyright (C) 2013-2019 Robin Gareus <robin@gareus.org>
14  * Copyright (C) 2014-2017 Nick Mainsbridge <mainsbridge@gmail.com>
15  * Copyright (C) 2014-2019 Ben Loftis <ben@harrisonconsoles.com>
16  * Copyright (C) 2015-2019 Damien Zammit <damien@zamaudio.com>
17  * Copyright (C) 2015 AndrĂ© Nusser <andre.nusser@googlemail.com>
18  *
19  * This program is free software; you can redistribute it and/or modify
20  * it under the terms of the GNU General Public License as published by
21  * the Free Software Foundation; either version 2 of the License, or
22  * (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License along
30  * with this program; if not, write to the Free Software Foundation, Inc.,
31  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
32  */
33 
34 #pragma once
35 
36 #include <cmath>
37 #include <list>
38 #include <map>
39 #include <set>
40 #include <string>
41 #include <vector>
42 
43 #include <optional>
44 
45 #include <ytkmm/comboboxtext.h>
46 #include <ytkmm/layout.h>
47 
48 #include "gtkmm2ext/bindings.h"
49 #include "gtkmm2ext/dndtreeview.h"
50 
51 #include "pbd/controllable.h"
52 #include "pbd/signals.h"
53 
54 #include "ardour/import_status.h"
55 #include "ardour/tempo.h"
56 #include "ardour/location.h"
57 #include "ardour/types.h"
58 
59 #include "canvas/fwd.h"
60 #include "canvas/ruler.h"
61 
62 #include "widgets/ardour_button.h"
64 #include "widgets/ardour_spacer.h"
65 #include "widgets/metabutton.h"
66 #include "widgets/pane.h"
67 
68 #include "application_bar.h"
69 #include "ardour_dialog.h"
70 #include "cross_cursor.h"
71 #include "public_editor.h"
72 #include "editing.h"
73 #include "enums.h"
74 #include "editor_items.h"
75 #include "midi_selection.h"
76 #include "region_selection.h"
77 #include "selection_memento.h"
78 #include "trigger_clip_picker.h"
79 #include "tempo_curve.h"
80 
81 #include "ptformat/ptformat.h"
82 
83 namespace Gtkmm2ext {
84  class Bindings;
85 }
86 
87 namespace Evoral {
88  class SMF;
89 }
90 
91 namespace ARDOUR {
92  class AudioPlaylist;
93  class AudioRegion;
94  class AudioTrack;
95  class ChanCount;
96  class Filter;
97  class Location;
98  class MidiOperator;
99  class MidiRegion;
100  class MidiTrack;
101  class Playlist;
102  class Region;
103  class RouteGroup;
104  class Session;
105  class Track;
106 }
107 
108 class AnalysisWindow;
109 class AudioClock;
110 class AudioRegionView;
111 class AudioStreamView;
112 class AudioTimeAxisView;
114 class AutomationSelection;
116 class BundleManager;
117 class ControlPoint;
118 class CursorContext;
119 class DragManager;
120 class EditNoteDialog;
121 class EditorCursor;
122 class EditorGroupTabs;
123 class EditorLocations;
124 class EditorRegions;
125 class EditorSections;
126 class EditorSources;
127 class EditorRoutes;
128 class EditorRouteGroups;
129 class EditorSnapshots;
130 class EditorSummary;
131 class EditorVSummary;
132 class GUIObjectState;
133 class ArdourMarker;
134 class MidiRegionView;
135 class MidiView;
136 class MidiExportDialog;
137 class MidiInspector;
138 class MixerStrip;
139 class MouseCursors;
140 class NoteBase;
141 class PluginSelector;
142 class ProgressReporter;
143 class QuantizeDialog;
144 class RegionPeakCursor;
145 class RhythmFerret;
146 class RulerDialog;
147 class SectionBox;
148 class Selection;
150 class SoundFileOmega;
151 class StreamView;
152 class GridLines;
153 class TimeAxisView;
154 class TimeInfoBox;
155 class TimeFXDialog;
156 class TimeSelection;
158 class VerboseCursor;
159 
161 {
162 public:
163  Editor ();
165 
167 
168  Gtk::Window* use_own_window (bool and_fill_it);
169 
170  void first_idle ();
171  virtual bool have_idled () const { return _have_idled; }
172 
174 
176 
179  }
180 
181  double visible_canvas_height () const {
182  return _visible_canvas_height;
183  }
184  double trackviews_height () const;
185 
186  XMLNode& get_state () const;
187  int set_state (const XMLNode&, int version);
188 
189  void step_mouse_mode (bool next);
190  bool internal_editing() const;
191 
193 
194  void foreach_time_axis_view (sigc::slot<void,TimeAxisView&>);
196 
198 
199  void consider_auditioning (std::shared_ptr<ARDOUR::Region>);
200  void hide_a_region (std::shared_ptr<ARDOUR::Region>);
201  void show_a_region (std::shared_ptr<ARDOUR::Region>);
202 
203  std::vector<std::string> timefx_opt_strings;
205 
206  /* things that need to be public to be used in the main menubar */
207 
215  void transition_to_rolling (bool forward);
216 
217  /* selection */
218 
219  Selection& get_selection() const { return *selection; }
220  bool get_selection_extents (Temporal::timepos_t &start, Temporal::timepos_t &end) const; // the time extents of the current selection, whether Range, Region(s), Control Points, or Notes
221  Selection& get_cut_buffer() const { return *cut_buffer; }
222 
223  std::list<SelectableOwner*> selectable_owners();
224 
226 
227  void set_selection (std::list<Selectable*>, ARDOUR::SelectionOperation);
228 
229  std::shared_ptr<ARDOUR::Route> current_mixer_stripable () const;
230 
232 
235 
236  void play_selection ();
245  void deselect_all ();
247 
249 
250  void remove_tracks ();
251 
252  /* tempo */
253 
254  // void update_grid ();
255 
256  /* analysis window */
257 
260 
263 
264  /* export */
265 
266  void export_audio ();
267  void stem_export ();
269  void export_range ();
270  void export_region ();
271  void quick_export ();
273 
274  /* export for analysis only */
275  void loudness_assistant (bool);
278 
279  bool process_midi_export_dialog (MidiExportDialog& dialog, std::shared_ptr<ARDOUR::MidiRegion> midi_region);
280 
281  void ensure_time_axis_view_is_visible (TimeAxisView const & tav, bool at_top);
282  void tav_zoom_step (bool coarser);
283  void tav_zoom_smooth (bool coarser, bool force_all);
284 
288 
289  /* stuff that AudioTimeAxisView and related classes use */
290 
291  void clear_playlist (std::shared_ptr<ARDOUR::Playlist>);
292 
294 
296 
299  void show_editor_mixer (bool yn);
301  void showhide_att_left (bool);
304  void hide_track_in_display (TimeAxisView* tv, bool apply_to_selection = false);
305  void show_track_in_display (TimeAxisView* tv, bool move_into_view = false);
306  void tempo_curve_selected (Temporal::TempoPoint const * ts, bool yn);
307 
308  /* nudge is initiated by transport controls owned by ARDOUR_UI */
309 
312 
313  void nudge_forward (bool next, bool force_playhead);
314  void nudge_backward (bool next, bool force_playhead);
315 
316  /* nudge initiated from context menu */
317 
320 
322 
324  void set_summary ();
325  void set_vsummary ();
326  void set_group_tabs ();
327 
328  /* returns the left-most and right-most time that the gui should allow the user to scroll to */
329  std::pair <Temporal::timepos_t,Temporal::timepos_t> session_gui_extents (bool use_extra = true) const;
330 
331  /* RTAV Automation display option */
332  bool show_touched_automation () const;
333 
334  /* fades */
335 
336  void toggle_region_fades (int dir);
338 
339  /* floating windows/transient */
340 
342 
345 
346  bool scroll_up_one_track (bool skip_child_views = false);
347  bool scroll_down_one_track (bool skip_child_views = false);
348  bool scroll_to_track_at_y (double y, bool skip_child_views = false);
349 
351 
353 
355  void finish_cleanup ();
356 
359 
360  double get_y_origin () const;
362 
364 
366 
367  void goto_visual_state (uint32_t);
368  void save_visual_state (uint32_t);
369 
370  TrackViewList const & get_track_views () const {
371  return track_views;
372  }
373 
374  void do_import (std::vector<std::string> paths,
375  Editing::ImportDisposition disposition,
376  Editing::ImportMode mode,
377  ARDOUR::SrcQuality quality,
380  Temporal::timepos_t& pos,
381  std::shared_ptr<ARDOUR::PluginInfo> instrument = std::shared_ptr<ARDOUR::PluginInfo>(),
382  std::shared_ptr<ARDOUR::Track> track = std::shared_ptr<ARDOUR::Track>(),
383  bool with_markers = false);
384 
385  void do_embed (std::vector<std::string> paths,
386  Editing::ImportDisposition disposition,
387  Editing::ImportMode mode,
388  Temporal::timepos_t& pos,
389  std::shared_ptr<ARDOUR::PluginInfo> instrument = std::shared_ptr<ARDOUR::PluginInfo>(),
390  std::shared_ptr<ARDOUR::Track> track = std::shared_ptr<ARDOUR::Track>());
391 
392  void get_regionview_corresponding_to (std::shared_ptr<ARDOUR::Region> region, std::vector<RegionView*>& regions);
393 
395  void get_per_region_note_selection (std::list<std::pair<PBD::ID, std::set<std::shared_ptr<Evoral::Note<Temporal::Beats> > > > >&) const;
396 
397  TrackViewList axis_views_from_routes (std::shared_ptr<ARDOUR::RouteList>) const;
398 
400 
402  void begin_reversible_selection_op (std::string cmd_name);
408  void add_commands (std::vector<PBD::Command*> cmds);
409 
411 
412  void begin_reversible_command (std::string cmd_name);
416 
418  return current_mixer_strip;
419  }
420 
421  void maybe_autoscroll (bool, bool, bool);
422  bool autoscroll_active() const;
423 
424  void set_current_trimmable (std::shared_ptr<ARDOUR::Trimmable>);
425  void set_current_movable (std::shared_ptr<ARDOUR::Movable>);
426 
427  double clamp_verbose_cursor_x (double);
428  double clamp_verbose_cursor_y (double);
429 
430  void get_pointer_position (double &, double &) const;
431 
433  return _stepping_axis_view;
434  }
435 
438  }
439 
446 
449 
451 
452  /* Ruler metrics methods */
453 
454  void metric_get_timecode (std::vector<ArdourCanvas::Ruler::Mark>&, int64_t, int64_t, gint);
455  void metric_get_bbt (std::vector<ArdourCanvas::Ruler::Mark>&, int64_t, int64_t, gint);
456  void metric_get_samples (std::vector<ArdourCanvas::Ruler::Mark>&, int64_t, int64_t, gint);
457  void metric_get_minsec (std::vector<ArdourCanvas::Ruler::Mark>&, int64_t, int64_t, gint);
458 
459  /* editing operations that need to be public */
461  void split_region_at_points (std::shared_ptr<ARDOUR::Region>, ARDOUR::AnalysisFeatureList&, bool can_ferret, bool select_new = false);
463  void do_remove_gaps ();
464  void remove_gaps (Temporal::timecnt_t const & threshold, Temporal::timecnt_t const & leave, bool markers_too);
465 
467 
474 
476 
477  bool should_ripple () const;
478  bool should_ripple_all () const; /* RippleAll will ripple all similar regions and the timeline markers */
479  void do_ripple (std::shared_ptr<ARDOUR::Playlist>, Temporal::timepos_t const &, Temporal::timecnt_t const &, ARDOUR::RegionList* exclude, ARDOUR::PlaylistSet const& affected_pls, bool add_to_command);
480  void do_ripple (std::shared_ptr<ARDOUR::Playlist>, Temporal::timepos_t const &, Temporal::timecnt_t const &, std::shared_ptr<ARDOUR::Region> exclude, bool add_to_command);
481  void ripple_marks (std::shared_ptr<ARDOUR::Playlist> target_playlist, Temporal::timepos_t at, Temporal::timecnt_t const & distance);
482  void get_markers_to_ripple (std::shared_ptr<ARDOUR::Playlist> target_playlist, Temporal::timepos_t const & pos, std::vector<ArdourMarker*>& markers);
483  Temporal::timepos_t effective_ripple_mark_start (std::shared_ptr<ARDOUR::Playlist> target_playlist, Temporal::timepos_t pos);
484 
488  void make_region_markers_global (bool as_cd_markers);
489 
491  void line_drag_click (GdkEvent*, Temporal::timepos_t const &, double);
492 
494 
496 
500 
502 
503  void toggle_main ();
504 
505 protected:
509 
510  void on_realize();
511 
514 
516 
517  void do_undo (uint32_t n);
518  void do_redo (uint32_t n);
519 
520  Temporal::timepos_t _get_preferred_edit_position (Editing::EditIgnoreOption, bool use_context_click, bool from_outside_canvas);
521 
523 
524 private:
525 
526  void color_handler ();
527  void dpi_reset ();
529 
530  // to keep track of the playhead position for control_scroll
531  std::optional<samplepos_t> _control_scroll_target;
532 
535 
536  typedef std::pair<TimeAxisView*,XMLNode*> TAVState;
537 
538  struct VisualState {
539  VisualState (bool with_tracks);
541  double y_position;
546  };
547 
548  std::list<VisualState*> undo_visual_stack;
549  std::list<VisualState*> redo_visual_stack;
550  VisualState* current_visual_state (bool with_tracks = true);
556 
557  std::vector<VisualState*> visual_states;
558  void start_visual_state_op (uint32_t n);
559  void cancel_visual_state_op (uint32_t n);
560 
563 
566 
568 
575  };
576 
578 
580 
585 
586  void add_notebook_page (std::string const&, std::string const&, Gtk::Widget&);
587 
589 
594 
609  void goto_nth_marker (int nth);
611  void trigger_script (int nth);
612  void trigger_script_by_name (const std::string script_name, const std::string args = "");
618 
621 
625  bool valid;
626 
627  LocationMarkers () : start(0), end(0), valid (true) {}
628 
630 
631  void hide ();
632  void show ();
633 
634  void set_show_lines (bool);
635  void set_selected (bool);
636  void set_entered (bool);
637  void setup_lines ();
638 
639  void set_name (const std::string&);
641  void set_color (std::string const&);
642  };
643 
645 
647 
654 
655  typedef std::map<ARDOUR::Location*,LocationMarkers*> LocationMarkerMap;
657 
661 
668  std::map<ArdourCanvas::Item*, std::list<ArdourMarker*> > _sorted_marker_lists;
670 
676  bool choose_new_marker_name(std::string &name, bool is_range=false);
680 
691 
693 
694  void get_equivalent_regions (RegionView* rv, std::vector<RegionView*> &, PBD::PropertyID) const;
695  void get_all_equivalent_regions (RegionView* rv, std::vector<RegionView*> &) const;
697  RegionView* regionview_from_region (std::shared_ptr<ARDOUR::Region>) const;
698  RouteTimeAxisView* rtav_from_route (std::shared_ptr<ARDOUR::Route>) const;
699 
700  void mapover_tracks_with_unique_playlists (sigc::slot<void,RouteTimeAxisView&,uint32_t> sl, TimeAxisView*, PBD::PropertyID) const;
701  void mapover_all_tracks_with_unique_playlists (sigc::slot<void,RouteTimeAxisView&,uint32_t>) const;
702  void mapped_get_equivalent_regions (RouteTimeAxisView&, uint32_t, RegionView*, std::vector<RegionView*>*) const;
703 
704  void mapover_grouped_routes (sigc::slot<void, RouteUI&> sl, RouteUI*, PBD::PropertyID) const;
705  void mapover_armed_routes (sigc::slot<void, RouteUI&> sl) const;
706  void mapover_selected_routes (sigc::slot<void, RouteUI&> sl) const;
707  void mapover_all_routes (sigc::slot<void, RouteUI&> sl) const;
708 
709  void mapped_select_playlist_matching (RouteUI&, std::weak_ptr<ARDOUR::Playlist> pl);
710  void mapped_use_new_playlist (RouteUI&, std::string name, std::string gid, bool copy, std::vector<std::shared_ptr<ARDOUR::Playlist> > const &);
712 
717 
718  void button_selection (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type);
720 
722 
727 
732 
733  bool set_selected_regionview_from_map_event (GdkEventAny*, StreamView*, std::weak_ptr<ARDOUR::Region>);
736 
741 
743 
744  void popup_track_context_menu (int, int, ItemType, bool);
752  void add_region_context_items (Gtk::Menu_Helpers::MenuList&, std::shared_ptr<ARDOUR::Track>);
753  void add_selection_context_items (Gtk::Menu_Helpers::MenuList&, bool time_selection_only = false);
755 
758 
765 
767 
770  Gdk::Cursor* which_trim_cursor (bool left_side) const;
772 
776 
778 
779  void parameter_changed (std::string);
780  void ui_parameter_changed (std::string);
781 
784 
790 
791  /* parent for groups which themselves contain time markers */
793 
794  /* parent for group for selection marker (above ruler) */
797 
798  /* The group containing all other groups that are scrolled vertically
799  and horizontally.
800  */
802 
803  /* The group containing all other groups that are scrolled horizontally ONLY
804  */
806 
807  /* Scroll group for cursors, scrolled horizontally, above everything else
808  */
810 
811  /* The group containing all trackviews. */
813 
814  /* The group containing all trackviews. */
816 
817  /* The group holding things (mostly regions) while dragging so they
818  * are on top of everything else
819  */
821 
822  /* a rect that sits at the bottom of all tracks to act as a drag-no-drop/clickable
823  * target area.
824  */
827 
830 
831  static Gtk::Table* setup_ruler_new (Gtk::HBox&, std::vector<Gtk::Label*>&, std::string const&);
832  static Gtk::Table* setup_ruler_new (Gtk::HBox&, std::vector<Gtk::Label*>&, Gtk::Label*);
834 
835  Glib::RefPtr<Gtk::ToggleAction> ruler_minsec_action;
836  Glib::RefPtr<Gtk::ToggleAction> ruler_timecode_action;
837  Glib::RefPtr<Gtk::ToggleAction> ruler_samples_action;
838  Glib::RefPtr<Gtk::ToggleAction> ruler_bbt_action;
839  Glib::RefPtr<Gtk::ToggleAction> ruler_meter_action;
840  Glib::RefPtr<Gtk::ToggleAction> ruler_tempo_action;
841  Glib::RefPtr<Gtk::ToggleAction> ruler_range_action;
842  Glib::RefPtr<Gtk::ToggleAction> ruler_section_action;
843  Glib::RefPtr<Gtk::ToggleAction> ruler_marker_action;
845 
846  Glib::RefPtr<Gtk::RadioAction> all_marker_action;
847  Glib::RefPtr<Gtk::RadioAction> cd_marker_action;
848  Glib::RefPtr<Gtk::RadioAction> scene_marker_action;
849  Glib::RefPtr<Gtk::RadioAction> cue_marker_action;
850  Glib::RefPtr<Gtk::RadioAction> location_marker_action;
851 
852  Glib::RefPtr<Gtk::RadioAction> all_range_action;
853  Glib::RefPtr<Gtk::RadioAction> punch_range_action;
854  Glib::RefPtr<Gtk::RadioAction> loop_range_action;
855  Glib::RefPtr<Gtk::RadioAction> session_range_action;
856  Glib::RefPtr<Gtk::RadioAction> other_range_action;
857 
859 
861 
865  void compute_fixed_ruler_scale (); //calculates the RulerScale of the fixed rulers
871  void ruler_toggled (int);
876 
878 
886  };
887 
889 
893 
896 
901 
902  static double timebar_height;
905 
912 
914 
925 
926  std::vector<Gtk::Label*> _ruler_labels;
927 
939 
940  /* videtimline related actions */
943  Glib::RefPtr<Gtk::ToggleAction> ruler_video_action;
944  Glib::RefPtr<Gtk::ToggleAction> xjadeo_proc_action;
945  Glib::RefPtr<Gtk::ToggleAction> xjadeo_ontop_action;
946  Glib::RefPtr<Gtk::ToggleAction> xjadeo_timecode_action;
947  Glib::RefPtr<Gtk::ToggleAction> xjadeo_frame_action;
948  Glib::RefPtr<Gtk::ToggleAction> xjadeo_osdbg_action;
949  Glib::RefPtr<Gtk::ToggleAction> xjadeo_fullscreen_action;
950  Glib::RefPtr<Gtk::ToggleAction> xjadeo_letterbox_action;
951  Glib::RefPtr<Gtk::Action> xjadeo_zoom_100;
953  void toggle_xjadeo_proc (int state=-1);
954  void set_close_video_sensitive (bool onoff);
955  void set_xjadeo_sensitive (bool onoff);
957  void toggle_xjadeo_viewoption (int what, int state=-1);
958  void toggle_ruler_video (bool onoff) {ruler_video_action->set_active(onoff);}
959  int videotl_bar_height; /* in units of timebar_height; default: 4 */
962 
964 
965  Temporal::timepos_t get_region_boundary (Temporal::timepos_t const & pos, int32_t dir, bool with_selection, bool only_onscreen);
966 
967  void cursor_to_region_boundary (bool with_selection, int32_t dir);
968  void cursor_to_next_region_boundary (bool with_selection);
969  void cursor_to_previous_region_boundary (bool with_selection);
975 
976  void selected_marker_to_region_boundary (bool with_selection, int32_t dir);
977  void selected_marker_to_next_region_boundary (bool with_selection);
984 
987  void select_all_selectables_between (bool within);
989 
990  std::shared_ptr<ARDOUR::Region> find_next_region (Temporal::timepos_t const &, ARDOUR::RegionPoint, int32_t dir, TrackViewList&, TimeAxisView** = 0);
992 
993  std::set<Temporal::timepos_t> region_boundary_cache;
997 
999 
1001 
1002  Gtk::Adjustment unused_adjustment; // yes, really; Gtk::Layout constructor requires refs
1007 
1008  enum Direction {
1012  DOWN
1013  };
1014 
1017  sigc::connection _scroll_connection;
1019 
1021 
1023 
1027 
1031 
1033 
1040  void control_view (uint32_t);
1041  void control_scroll (float);
1042  void access_action (const std::string&, const std::string&);
1043  void set_toggleaction (const std::string&, const std::string&, bool);
1045  sigc::connection control_scroll_connection;
1046 
1048 
1050 
1051  /* track views */
1053 
1054  std::pair<TimeAxisView*, double> trackview_by_y_position (double, bool trackview_relative_offset = true) const;
1055 
1056  AxisView* axis_view_by_stripable (std::shared_ptr<ARDOUR::Stripable>) const;
1057  AxisView* axis_view_by_control (std::shared_ptr<ARDOUR::AutomationControl>) const;
1058 
1059  TimeAxisView* time_axis_view_from_stripable (std::shared_ptr<ARDOUR::Stripable> s) const {
1060  return dynamic_cast<TimeAxisView*> (axis_view_by_stripable (s));
1061  }
1062 
1064 
1066 
1069  bool redisplay_track_views (); // do not call this directly, use above wrappers
1070 
1073  sigc::connection _tvl_redisplay_connection;
1074 
1076 
1078 
1081 
1083 
1086 
1087  std::weak_ptr<ARDOUR::Trimmable> _trimmable;
1088  std::weak_ptr<ARDOUR::Movable> _movable;
1089 
1096  bool motion_handler (ArdourCanvas::Item*, GdkEvent*, bool from_autoscroll = false);
1101 
1102  /* KEYMAP HANDLING */
1103 
1106 
1107  void load_bindings ();
1108 
1109  /* CUT/COPY/PASTE */
1110 
1112  unsigned paste_count;
1113 
1114  bool can_cut_copy () const;
1119 
1120  void mouse_paste ();
1121  void paste_internal (Temporal::timepos_t const & position, float times);
1122 
1123  /* EDITING OPERATIONS */
1124 
1125  void region_lock ();
1126  void region_unlock ();
1130  void toggle_solo ();
1132  void toggle_mute ();
1133 
1134  void play_solo_selection (bool restart);
1135 
1141  };
1142 
1144  void raise_region ();
1146  void change_region_layering_order (bool from_context_menu);
1147  void lower_region ();
1157  void align_region (std::shared_ptr<ARDOUR::Region>, ARDOUR::RegionPoint point, Temporal::timepos_t const & position);
1158  void align_region_internal (std::shared_ptr<ARDOUR::Region>, ARDOUR::RegionPoint point, Temporal::timepos_t const & position);
1161  void remove_regions (const RegionSelection&, bool can_ripple, bool as_part_of_other_command);
1164  void rename_region ();
1166  void duplicate_selection (float times);
1170 
1172  void audition_playlist_region_standalone (std::shared_ptr<ARDOUR::Region>);
1177  void adjust_region_gain (bool up);
1181  void set_tempo_curve_range (double& max, double& min) const;
1182  void insert_patch_change (bool from_context);
1185  void start_track_drag (TimeAxisView&, int y, Gtk::Widget& w, bool can_change_cursor);
1189  bool track_dragging() const;
1190 
1192  void insert_time (Temporal::timepos_t const &, Temporal::timecnt_t const &, Editing::InsertTimeOption, bool, bool, bool, bool);
1193 
1195  void remove_time (Temporal::timepos_t const & pos, Temporal::timecnt_t const & distance, Editing::InsertTimeOption opt, bool markers_too,
1196  bool locked_markers_too, bool tempo_too);
1197 
1198  void tab_to_transient (bool forward);
1199 
1202 
1203  void define_one_bar (Temporal::timepos_t const & start, Temporal::timepos_t const & end, std::string const & from);
1204 
1206 
1208 
1209  void split_region ();
1210 
1211  void delete_ ();
1212  void paste (float times, bool from_context_menu);
1215 
1220 
1221 
1223  void create_region_from_selection (std::vector<std::shared_ptr<ARDOUR::Region> >&);
1224 
1232 
1235 
1236  std::shared_ptr<ARDOUR::Playlist> current_playlist () const;
1237  void insert_source_list_selection (float times);
1239 
1240  /* import & embed */
1241 
1243 
1244  int check_whether_and_how_to_import(std::string, bool all_or_nothing = true);
1245  bool check_multichannel_status (const std::vector<std::string>& paths);
1246 
1248 
1250 
1251  bool idle_drop_paths (std::vector<std::string> paths, Temporal::timepos_t sample, double ypos, bool copy);
1252  void drop_paths_part_two (const std::vector<std::string>& paths, Temporal::timepos_t const & sample, double ypos, bool copy);
1253 
1254  int import_sndfiles (std::vector<std::string> paths,
1255  Editing::ImportDisposition disposition,
1256  Editing::ImportMode mode,
1257  ARDOUR::SrcQuality quality,
1258  Temporal::timepos_t& pos,
1259  int target_regions,
1260  int target_tracks,
1261  std::shared_ptr<ARDOUR::Track>& track,
1262  std::string const& pgroup_id,
1263  bool replace,
1264  bool with_markers,
1265  std::shared_ptr<ARDOUR::PluginInfo> instrument = std::shared_ptr<ARDOUR::PluginInfo>());
1266 
1267  int embed_sndfiles (std::vector<std::string> paths,
1268  bool multiple_files,
1269  bool& check_sample_rate,
1270  Editing::ImportDisposition disposition,
1271  Editing::ImportMode mode,
1272  Temporal::timepos_t& pos,
1273  int target_regions,
1274  int target_tracks,
1275  std::shared_ptr<ARDOUR::Track>& track,
1276  std::string const& pgroup_id,
1277  std::shared_ptr<ARDOUR::PluginInfo> instrument = std::shared_ptr<ARDOUR::PluginInfo>());
1278 
1279  int add_sources (std::vector<std::string> paths,
1280  ARDOUR::SourceList& sources,
1281  Temporal::timepos_t& pos,
1282  Editing::ImportDisposition disposition,
1283  Editing::ImportMode mode,
1284  int target_regions,
1285  int target_tracks,
1286  std::shared_ptr<ARDOUR::Track>& track,
1287  std::string const& pgroup_id,
1288  bool add_channel_suffix,
1289  std::shared_ptr<ARDOUR::PluginInfo> instrument = std::shared_ptr<ARDOUR::PluginInfo>());
1290 
1291  int finish_bringing_in_material (std::shared_ptr<ARDOUR::Region> region,
1292  uint32_t in_chans,
1293  uint32_t out_chans,
1294  Temporal::timepos_t& pos,
1295  Editing::ImportMode mode,
1296  std::shared_ptr<ARDOUR::Track>& existing_track,
1297  std::string const& new_track_name,
1298  std::string const& pgroup_id,
1299  std::shared_ptr<ARDOUR::PluginInfo> instrument);
1300 
1301  std::shared_ptr<ARDOUR::AudioTrack> get_nth_selected_audio_track (int nth) const;
1302  std::shared_ptr<ARDOUR::MidiTrack> get_nth_selected_midi_track (int nth) const;
1303 
1304  void toggle_midi_input_active (bool flip_others);
1305 
1307 
1309 
1310  /* import & embed */
1312 
1313  /* PT import specific */
1316  static void*_import_pt_thread (void*);
1319 
1320  /* import specific info */
1321 
1323  void clear () {
1325  track.reset ();
1326  }
1327 
1332  std::shared_ptr<ARDOUR::Track> track;
1333  bool replace;
1334  };
1335 
1337  static void*_import_thread (void*);
1338  void* import_thread ();
1339  void finish_import ();
1340 
1341  /* to support this ... */
1342 
1343  void import_audio (bool as_tracks);
1344  void do_import (std::vector<std::string> paths, bool split, bool as_tracks);
1346  void move_to_start ();
1347  void move_to_end ();
1352  void scroll_playhead (bool forward);
1353  void scroll_backward (float pages=0.8f);
1354  void scroll_forward (float pages=0.8f);
1358  void set_mark ();
1359  void clear_markers ();
1361  void clear_ranges ();
1362  void clear_cues ();
1363  void clear_scenes ();
1366  void unhide_ranges ();
1367  void cursor_align (bool playhead_to_edit);
1369 
1371 
1375 
1383 
1389  void set_loop_from_selection (bool play);
1393 
1397 
1398  void set_loop_from_region (bool play);
1399 
1400  void set_loop_range (Temporal::timepos_t const & start, Temporal::timepos_t const & end, std::string cmd);
1401  void set_punch_range (Temporal::timepos_t const & start, Temporal::timepos_t const & end, std::string cmd);
1402 
1405 
1411 
1413 
1417 
1419 
1421  void edit_envelope ();
1422 
1427 
1432 
1434 
1436 
1437  void escape ();
1438  void lock ();
1439  void unlock ();
1441 
1443 
1447 
1449 
1455 
1458 
1459  void set_fade_length (bool in);
1460  void set_fade_in_active (bool);
1461  void set_fade_out_active (bool);
1462 
1463  void fade_range ();
1464 
1466 
1469 
1471 
1476 
1478 
1481 
1482  /* Canvas event handlers */
1483 
1484  bool canvas_scroll_event (GdkEventScroll* event, bool from_canvas);
1513 
1515  bool canvas_ruler_bar_event (GdkEvent* event, ArdourCanvas::Item*, ItemType, std::string const&);
1517 
1519  void update_video_timeline (bool flush = false);
1520  void set_video_timeline_height (const int, bool force = false);
1523  void set_video_timeline_locked (const bool);
1525  void embed_audio_from_video (std::string, samplepos_t n = 0, bool lock_position_to_video = true);
1526 
1529  }
1530 
1533 
1539 
1543 
1547  BBTChanged = 0x4,
1548  MappingChanged = 0x8
1549  };
1550 
1552 
1555 
1557  CueMarks = 0x1,
1558  SceneMarks = 0x2,
1559  CDMarks = 0x4,
1560  LocationMarks = 0x8
1561  };
1562 
1564  PunchRange = 0x1,
1565  LoopRange = 0x2,
1567  OtherRange = 0x8
1568  };
1569 
1572 
1575 
1578  void maybe_show_instrument_plugin (std::shared_ptr<ARDOUR::MidiTrack> mt);
1579 
1580  void replace_chord (std::vector<int> intervals);
1581  void invert_selected_chord (bool up);
1582  void drop_selected_chord (std::vector<int> which_notes);
1583  bool get_midi_chord (int root_pitch, std::vector<int>& pitches) const;
1585 
1586 protected:
1588  void automation_create_point_at_edit_point (bool with_guard_points);
1595 
1596 private:
1597  friend class DragManager;
1598  friend class EditorRouteGroups;
1599  friend class EditorRegions;
1600  friend class EditorSections;
1601  friend class EditorSources;
1602 
1603  /* non-public event handlers */
1604 
1607 
1611 
1615  bool track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const &, int, int, guint);
1618 
1620 
1622 
1624 
1625  /* playlist internal ops */
1626 
1627  bool stamp_new_playlist (std::string title, std::string &name, std::string &pgroup, bool copy);
1628 
1629  /* display control */
1630 
1633 
1635 
1637 
1644 
1650 
1653 
1657  void edit_marker (ArdourMarker* marker, bool with_scene);
1658  bool edit_location (ARDOUR::Location& loc, bool with_scene, bool with_command);
1674  void marker_menu_set_from_selection (bool force_regions);
1676  void marker_menu_change_cue (int cue);
1692 
1694 
1702 
1703  typedef std::list<MetricMarker*> Marks;
1707 
1713 
1715 
1717 
1721 
1722  void make_bbt_marker (Temporal::MusicTimePoint const *, Marks::iterator before);
1723  void make_meter_marker (Temporal::MeterPoint const *, Marks::iterator before);
1724  void make_tempo_marker (Temporal::TempoPoint const * ts, Temporal::TempoPoint const *& prev_ts, uint32_t tc_color, samplecnt_t sr3, Marks::iterator before);
1725  void update_tempo_curves (double min_tempo, double max_tempo, samplecnt_t sr);
1726 
1728 
1729  void redisplay_grid (bool immediate_redraw);
1730 
1731  /* toolbar */
1732 
1737 
1740  void set_visible_track_count (int32_t);
1741 
1742  void set_zoom_preset(int64_t);
1743 
1748 
1750  Glib::RefPtr<Gtk::ToggleAction> smart_mode_action;
1751 
1755 
1757 
1760 
1761  //edit mode menu stuff
1768 
1770 
1773 
1774 
1776 
1777  bool should_stretch_markers() const {
1778  return stretch_marker_cb.get_active ();
1779  }
1780 
1783 
1785 
1786  //zoom focus menu stuff
1788 
1790 
1791  /* Marker Click Radio */
1795 
1797 
1800 
1801  void setup_toolbar ();
1802 
1804 
1806 
1808 
1813  void handle_gui_changes (std::string const&, void*);
1818  void sensitize_the_right_region_actions (bool because_canvas_crossing);
1828 
1831 
1834 
1835  bool get_smart_mode() const;
1836 
1838 
1840 
1841  /* transport range select process */
1842 
1852 
1854 
1856 
1857  /* object rubberband select process */
1858 
1859  void select_all_within (Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list<SelectableOwner*> const &, ARDOUR::SelectionOperation, bool);
1860 
1868 
1869  /* diskstream/route display management */
1870  Glib::RefPtr<Gdk::Pixbuf> rec_enabled_icon;
1871  Glib::RefPtr<Gdk::Pixbuf> rec_disabled_icon;
1872 
1873  Glib::RefPtr<Gtk::TreeSelection> route_display_selection;
1874 
1875  /* autoscrolling */
1876 
1878  void start_canvas_autoscroll (bool allow_horiz, bool allow_vert, const ArdourCanvas::Rect& boundary);
1880 
1881  /* trimming */
1883 
1886  void trim_region (bool front);
1887 
1890  void trim_region_to_location (const ARDOUR::Location&, const char* cmd);
1891 
1892  void trim_to_region(bool forward);
1895 
1897 
1898  /* Drag-n-Drop */
1900  const Glib::RefPtr<Gdk::DragContext>& context,
1901  gint x,
1902  gint y,
1903  const Gtk::SelectionData& data,
1904  guint info,
1905  guint time);
1906 
1907  void drop_paths (
1908  const Glib::RefPtr<Gdk::DragContext>& context,
1909  gint x,
1910  gint y,
1911  const Gtk::SelectionData& data,
1912  guint info,
1913  guint time);
1914 
1916  const Glib::RefPtr<Gdk::DragContext>& context,
1917  gint x,
1918  gint y,
1919  const PBD::ID& rid,
1920  guint info,
1921  guint time);
1922 
1924  const Glib::RefPtr<Gdk::DragContext>& context,
1925  gint x,
1926  gint y,
1927  std::vector<PBD::ID> const& rids,
1928  guint info,
1929  guint time);
1930 
1931  /* audio export */
1932 
1934 
1938  ReplaceRange
1939  };
1940 
1942  bool write_region (std::string path, std::shared_ptr<ARDOUR::AudioRegion>);
1943  void bounce_region_selection (bool with_processing);
1944  void bounce_range_selection (BounceTarget, bool enable_processing);
1946 
1948  bool write_audio_range (ARDOUR::AudioPlaylist&, const ARDOUR::ChanCount& channels, std::list<ARDOUR::TimelineRange>&);
1949 
1951 
1954 
1955  std::list<XMLNode*> selection_op_history; /* used in *_reversible_selection_op */
1956 
1957  void update_title ();
1958  void update_title_s (const std::string & snapshot_name);
1959 
1960  void instant_save ();
1962 
1963  std::shared_ptr<ARDOUR::AudioRegion> last_audition_region;
1964 
1965  /* freeze operations */
1966 
1968  static void* _freeze_thread (void*);
1969  void* freeze_thread ();
1970 
1971  void freeze_route ();
1973 
1974  /* duplication */
1975 
1976  void duplicate_range (bool with_dialog);
1977  void duplicate_regions (float times);
1978 
1980  static void* timefx_thread (void* arg);
1981  void do_timefx (bool fixed_end);
1982 
1983  int time_stretch (RegionSelection&, Temporal::ratio_t const & fraction, bool fixed_end);
1984  int pitch_shift (RegionSelection&, float cents);
1986 
1987  /* editor-mixer strip */
1988 
1992  void cms_new (std::shared_ptr<ARDOUR::Route>);
1994 
1995 #ifdef __APPLE__
1996  void ensure_all_elements_drawn ();
1997 #endif
1998  /* nudging tracks */
1999 
2000  void nudge_track (bool use_edit_point, bool forwards);
2001 
2002  static const int32_t default_width = 995;
2003  static const int32_t default_height = 765;
2004 
2005  /* nudge */
2006 
2012 
2015 
2016  /* audio filters */
2017 
2018  void apply_filter (ARDOUR::Filter&, std::string cmd, ProgressReporter* progress = 0);
2019 
2020  /* plugin setup */
2021  int plugin_setup (std::shared_ptr<ARDOUR::Route>, std::shared_ptr<ARDOUR::PluginInsert>, ARDOUR::Route::PluginSetupOptions);
2022 
2023  /* handling cleanup */
2024 
2025  int playlist_deletion_dialog (std::shared_ptr<ARDOUR::Playlist>);
2026 
2029 
2030  /* tracking step changes of track height */
2031 
2035  sigc::connection step_timeout;
2036 
2042 
2043  std::pair<Temporal::timepos_t,Temporal::timepos_t> max_zoom_extent() const { return session_gui_extents(); }
2044 
2051 
2052  void session_state_saved (std::string);
2053 
2054  Glib::RefPtr<Gtk::Action> selection_undo_action;
2055  Glib::RefPtr<Gtk::Action> selection_redo_action;
2056 
2057  Glib::RefPtr<Gtk::ToggleAction> show_editor_mixer_action;
2058  Glib::RefPtr<Gtk::ToggleAction> show_editor_list_action;
2059  Glib::RefPtr<Gtk::ToggleAction> show_editor_props_action;
2060  Glib::RefPtr<Gtk::ToggleAction> show_touched_automation_action;
2061 
2063 
2065 
2068 
2069  void set_edit_point_preference (Editing::EditPoint ep, bool force = false);
2070  void cycle_edit_point (bool with_marker);
2074  Glib::RefPtr<Gtk::RadioAction> edit_point_action (Editing::EditPoint);
2075  std::vector<std::string> edit_point_strings;
2076  std::vector<std::string> edit_mode_strings;
2077  std::vector<std::string> ripple_mode_strings;
2078 
2080 
2082 
2083  void get_regions_at (RegionSelection&, Temporal::timepos_t const & where, const TrackViewList& ts) const;
2084  void get_regions_after (RegionSelection&, Temporal::timepos_t const & where, const TrackViewList& ts) const;
2085 
2087  bool use_context_click = false,
2088  bool from_outside_canvas = false);
2090 
2094 
2095  void select_next_stripable (bool routes_only = true);
2096  void select_prev_stripable (bool routes_only = true);
2097 
2099  Temporal::RoundMode direction,
2100  ARDOUR::SnapPref gpref) const;
2101 
2103  Temporal::RoundMode direction,
2104  ARDOUR::SnapPref gpref) const;
2105 
2107  Temporal::RoundMode direction,
2108  ARDOUR::SnapPref gpref) const;
2109 
2111  Temporal::RoundMode direction,
2112  ARDOUR::SnapPref gpref) const;
2113 
2117  bool for_mark = false) const;
2118 
2120  Temporal::RoundMode direction = Temporal::RoundNearest) const;
2121 
2122  double visible_canvas_width() const { return _visible_canvas_width; }
2123 
2125 
2127  void fit_selection ();
2129 
2133 
2136  static gboolean _idle_resize (gpointer);
2137  bool idle_resize();
2140 
2141  void visible_order_range (int*, int*) const;
2142 
2143  void located ();
2144 
2147 
2153 
2157 
2160 
2163 
2165  void fit_route_group (std::shared_ptr<ARDOUR::RouteGroup>);
2166 
2171  sigc::connection step_edit_connection;
2172 
2174 
2177 
2182 
2187 
2189  std::map<ARDOUR::FadeShape, Gtk::Image*> _xfade_in_images;
2190  std::map<ARDOUR::FadeShape, Gtk::Image*> _xfade_out_images;
2191 
2192  Gtk::MenuItem& action_menu_item (std::string const &);
2193  void action_pre_activated (Glib::RefPtr<Gtk::Action> const &);
2194 
2197 
2198  /* RTAV Automation display option */
2201 
2202  int time_fx (ARDOUR::RegionList&, Temporal::ratio_t ratio, bool pitching, bool fixed_end);
2204 
2207 
2219 
2220  void bring_in_callback (Gtk::Label*, uint32_t n, uint32_t total, std::string name);
2221  void update_bring_in_message (Gtk::Label* label, uint32_t n, uint32_t total, std::string name);
2223 
2225 
2226  /* private helper functions to help with registering region actions */
2227 
2228  Glib::RefPtr<Gtk::Action> register_region_action (Glib::RefPtr<Gtk::ActionGroup> group, Editing::RegionActionTarget, char const* name, char const* label, sigc::slot<void> slot);
2229  void register_toggle_region_action (Glib::RefPtr<Gtk::ActionGroup> group, Editing::RegionActionTarget, char const* name, char const* label, sigc::slot<void> slot);
2230 
2232 
2235 
2236  template<typename T>
2237  Temporal::TimeDomain drag_time_domain (T* thing_with_time_domain) {
2238  return thing_with_time_domain ? thing_with_time_domain->time_domain() : Temporal::AudioTime;
2239  }
2240 
2241  template<typename T>
2242  Temporal::TimeDomain drag_time_domain (std::shared_ptr<T> thing_with_time_domain) {
2243  return thing_with_time_domain ? thing_with_time_domain->time_domain() : Temporal::AudioTime;
2244  }
2245 
2246  void clear_tempo_markers_before (Temporal::timepos_t where, bool stop_at_music_times);
2247  void clear_tempo_markers_after (Temporal::timepos_t where, bool stop_at_music_times);
2250  }
2251 
2253 
2254  friend class Drag;
2255  friend class RegionCutDrag;
2256  friend class RegionDrag;
2257 
2258  struct TrackDrag {
2263  double start;
2264  double current;
2265  double previous;
2270 
2272  : track (rtav)
2273  , drag_cursor (nullptr)
2274  , predrag_cursor (nullptr)
2275  , bump_track (nullptr)
2276  , start (-1.)
2277  , current (0.)
2278  , previous (0.)
2279  , have_predrag_cursor (false)
2280  , direction (0)
2281  , first_move (true)
2282  , did_reorder (false)
2283  {}
2284 
2285  };
2287 
2295 
2296  std::map<Editing::GridType,Glib::RefPtr<Gtk::RadioAction> > quantization_actions;
2298  bool bbt_to_grid (Temporal::BBT_Offset const & bbt, Editing::GridType& gt) const;
2299 
2304 
2306  sigc::connection xcursor_connection;
2309 
2310  friend class RegionMoveDrag;
2311  friend class TrimDrag;
2312  friend class MappingTwistDrag;
2313  friend class MappingEndDrag;
2314  friend class MeterMarkerDrag;
2315  friend class BBTMarkerDrag;
2316  friend class TempoMarkerDrag;
2317  friend class TempoCurveDrag;
2318  friend class TempoTwistDrag;
2319  friend class TempoEndDrag;
2320  friend class CursorDrag;
2321  friend class FadeInDrag;
2322  friend class FadeOutDrag;
2323  friend class MarkerDrag;
2324  friend class RegionGainDrag;
2325  friend class ControlPointDrag;
2326  friend class LineDrag;
2327  friend class RubberbandSelectDrag;
2329  friend class TimeFXDrag;
2330  friend class SelectionDrag;
2331  friend class RangeMarkerBarDrag;
2332  friend class MouseZoomDrag;
2333  friend class RegionCreateDrag;
2334  friend class RegionMotionDrag;
2335  friend class RegionInsertDrag;
2336  friend class VideoTimeLineDrag;
2337 
2338  friend class EditorSummary;
2339  friend class EditorVSummary;
2340  friend class EditorGroupTabs;
2341 
2342  friend class EditorRoutes;
2343  friend class RhythmFerret;
2344 };
virtual void clear()
Definition: import_status.h:40
std::list< Location * > LocationList
Definition: location.h:252
PluginSetupOptions
Definition: route.h:411
Selection * selection
samplecnt_t samples_per_pixel
std::list< XMLNode * > before
samplepos_t _leftmost_sample
Selection * cut_buffer
double _visible_canvas_width
double _visible_canvas_height
height of the visible area of the track canvas
Definition: editor.h:161
void edit_mode_selection_done(ARDOUR::EditMode)
Gtk::HBox toplevel_hpacker
Definition: editor.h:998
void set_session_end_from_playhead()
void set_vsummary()
void selected_marker_to_selection_start()
bool constructed
Definition: editor.h:528
void hide_a_region(std::shared_ptr< ARDOUR::Region >)
void split_multichannel_region()
void set_current_trimmable(std::shared_ptr< ARDOUR::Trimmable >)
sigc::connection step_timeout
Definition: editor.h:2035
bool track_canvas_button_press_event(GdkEventButton *event)
void redo_selection_op()
Temporal::timepos_t _get_preferred_edit_position(Editing::EditIgnoreOption, bool use_context_click, bool from_outside_canvas)
uint32_t selection_op_history_it
Definition: editor.h:1953
EditorSections * _sections
Definition: editor.h:1864
void popup_xfade_in_context_menu(int, int, ArdourCanvas::Item *, ItemType)
void do_redo(uint32_t n)
void build_bbt_marker_menu(BBTMarker *)
PTFFormat import_ptf
Definition: editor.h:1318
void set_timecode_ruler_scale(samplepos_t, samplepos_t)
void collect_new_region_view(RegionView *)
ArdourWidgets::ArdourButton _ruler_btn_range_next
Definition: editor.h:931
bool canvas_feature_line_event(GdkEvent *event, ArdourCanvas::Item *, RegionView *)
void remove_sorted_marker(ArdourMarker *)
void popup_track_context_menu(int, int, ItemType, bool)
void * import_pt_thread()
void toggle_video_timeline_locked()
void cancel_selection()
void bring_all_sources_into_session()
ArdourCanvas::Container * tempo_group
Definition: editor.h:785
void marker_menu_play_range()
void set_selected_track(TimeAxisView &, ARDOUR::SelectionOperation op=ARDOUR::SelectionSet, bool no_remove=false)
ArdourWidgets::ArdourButton _ruler_btn_range_prev
Definition: editor.h:930
void get_all_equivalent_regions(RegionView *rv, std::vector< RegionView * > &) const
Gtk::Menu * marker_menu
Definition: editor.h:1698
void loop_location_changed(ARDOUR::Location *)
void add_region_marker()
bool audio_region_selection_covers(samplepos_t where)
ArdourCanvas::Container * get_noscroll_group() const
Definition: editor.h:441
bool canvas_selection_end_trim_event(GdkEvent *event, ArdourCanvas::Item *, SelectionRect *)
ArdourCanvas::Line * transport_punchin_line
Definition: editor.h:1848
void location_changed(ARDOUR::Location *)
bool track_canvas_map_handler(GdkEventAny *)
Temporal::timepos_t snap_to_grid(Temporal::timepos_t const &start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref) const
RangeBarType visible_range_types() const
void set_session_extents_from_selection()
void set_current_movable(std::shared_ptr< ARDOUR::Movable >)
void play_with_preroll()
std::map< ARDOUR::Location *, LocationMarkers * > LocationMarkerMap
Definition: editor.h:655
Gtk::Window * use_own_window(bool and_fill_it)
void instant_save()
bool canvas_velocity_event(GdkEvent *event, ArdourCanvas::Item *)
void select_range_between()
void setup_fade_images()
Gtk::Frame _vsummary_frame
Definition: editor.h:2158
void cut_copy_section(ARDOUR::SectionOperation const op)
void new_playlists_for_all_tracks(bool copy)
void naturalize_region()
bool canvas_grid_zone_event(GdkEvent *event)
void nudge_backward_capture_offset()
void reverse_selection()
void new_playlists_for_selected_tracks(bool copy)
void tempo_map_marker_context_menu(GdkEventButton *, ArdourCanvas::Item *)
RegionSelection get_equivalent_regions(RegionSelection &, PBD::PropertyID) const
void initialize_ruler_actions()
unsigned paste_count
Definition: editor.h:1112
void toggle_mute()
Glib::RefPtr< Gdk::Pixbuf > rec_disabled_icon
Definition: editor.h:1871
void marker_menu_hide()
void select_all_visible_lanes()
void automation_raise_points()
int check_whether_and_how_to_import(std::string, bool all_or_nothing=true)
std::list< XMLNode * > selection_op_history
Definition: editor.h:1955
bool track_canvas_button_release_event(GdkEventButton *event)
void paste_internal(Temporal::timepos_t const &position, float times)
void tie_vertical_scrolling()
std::weak_ptr< ARDOUR::Trimmable > _trimmable
Definition: editor.h:1087
Glib::RefPtr< Gtk::ToggleAction > ruler_meter_action
Definition: editor.h:839
void ripple_mode_selection_done(ARDOUR::RippleMode)
RegionSelection get_regions_from_selection_and_edit_point(Editing::EditIgnoreOption=Editing::EDIT_IGNORE_NONE, bool use_context_click=false, bool from_outside_canvas=false)
void set_session_start_from_playhead()
void toggle_sound_midi_notes()
Glib::RefPtr< Gtk::RadioAction > all_range_action
Definition: editor.h:852
void tempo_map_changed()
void invert_selection()
void snap_regions_to_grid()
void on_samples_per_pixel_changed()
ArdourCanvas::Rectangle * _canvas_drop_zone
Definition: editor.h:825
void midi_view_selection_changed(SimpleMidiNoteSelection selection)
LocationMarkerMap location_markers
Definition: editor.h:656
ArdourMarker * find_marker_from_location_id(PBD::ID const &, bool) const
ArdourWidgets::ArdourButton nudge_backward_button
Definition: editor.h:2008
void set_loop_from_region(bool play)
void scroll_forward(float pages=0.8f)
TimeAxisView * _last_cut_copy_source_track
Definition: editor.h:2181
Gtk::HBox _ruler_box_meter
Definition: editor.h:920
ArdourCanvas::Container * _selection_marker_group
Definition: editor.h:795
void jump_backward_to_mark_flagged(ARDOUR::Location::Flags, ARDOUR::Location::Flags, ARDOUR::Location::Flags)
void layer_display_stacked()
void update_marker_labels(ArdourCanvas::Item *)
void ensure_marker_updated(LocationMarkers *lam, ARDOUR::Location *location)
void global_quantization_chosen(Editing::GridType)
void reset_metric_marks()
Selection & get_cut_buffer() const
Definition: editor.h:221
Gdk::Cursor * which_canvas_cursor(ItemType type) const
void set_samples_ruler_scale(samplepos_t, samplepos_t)
void toggle_layer_display()
Glib::RefPtr< Gtk::Action > selection_undo_action
Definition: editor.h:2054
Glib::RefPtr< Gtk::ToggleAction > xjadeo_letterbox_action
Definition: editor.h:950
void abort_reversible_command()
ArdourWidgets::ArdourDropdown ripple_mode_selector
Definition: editor.h:1762
void center_edit_point()
void fit_selection()
void toggle_meter_updating()
void abort_reversible_selection_op()
void mouse_add_new_range(Temporal::timepos_t)
ArdourCanvas::Line * ruler_separator
Definition: editor.h:911
Editing::EditPoint _edit_point
Definition: editor.h:2064
void separate_regions_using_location(ARDOUR::Location &)
static const int32_t default_width
Definition: editor.h:2002
void show_editor_mixer(bool yn)
Gtk::Menu _control_point_context_menu
Definition: editor.h:757
Gtk::HBox marker_box
Definition: editor.h:592
void load_bindings()
void cancel_visual_state_op(uint32_t n)
EditorRoutes * _routes
Definition: editor.h:1862
Temporal::timepos_t find_next_region_boundary(Temporal::timepos_t const &, int32_t dir, const TrackViewList &)
void history_changed()
void update_ruler_visibility()
Editing::GridType determine_mapping_grid_snap(Temporal::timepos_t t)
void edit_tempo_marker(TempoMarker &)
void register_region_actions()
void play_edit_range()
void popup_xfade_out_context_menu(int, int, ArdourCanvas::Item *, ItemType)
Gtk::VBox current_mixer_strip_vbox
Definition: editor.h:1991
bool get_edit_op_range(Temporal::timepos_t &start, Temporal::timepos_t &end) const
void selected_marker_to_region_boundary(bool with_selection, int32_t dir)
void toggle_show_touched_automation()
bool canvas_stream_view_event(GdkEvent *event, ArdourCanvas::Item *, RouteTimeAxisView *)
std::list< SelectableOwner * > selectable_owners()
void align_region_internal(std::shared_ptr< ARDOUR::Region >, ARDOUR::RegionPoint point, Temporal::timepos_t const &position)
ArdourCanvas::ScrollGroup * hv_scroll_group
Definition: editor.h:801
void do_ripple(std::shared_ptr< ARDOUR::Playlist >, Temporal::timepos_t const &, Temporal::timecnt_t const &, ARDOUR::RegionList *exclude, ARDOUR::PlaylistSet const &affected_pls, bool add_to_command)
bool key_release_handler(ArdourCanvas::Item *, GdkEvent *, ItemType)
void cut_copy_midi(Editing::CutCopyOp)
void stop_canvas_autoscroll()
void audition_playlist_region_standalone(std::shared_ptr< ARDOUR::Region >)
ARDOUR::Location * temp_location
Definition: editor.h:1855
bool canvas_fade_out_event(GdkEvent *event, ArdourCanvas::Item *, AudioRegionView *)
Gtk::Adjustment unused_adjustment
Definition: editor.h:1002
bool show_gain_after_trim
Definition: editor.h:1896
samplecnt_t current_page_samples() const
Definition: editor.h:177
void resume_route_redisplay()
RouteTimeAxisView * rtav_from_route(std::shared_ptr< ARDOUR::Route >) const
void control_vertical_zoom_out_selected()
int time_fx(ARDOUR::RegionList &, Temporal::ratio_t ratio, bool pitching, bool fixed_end)
Gtk::Menu * range_marker_menu
Definition: editor.h:1699
void toggle_zero_line_visibility()
void invert_selected_chord(bool up)
void edit_region(RegionView *)
void play_selection()
void set_fade_in_active(bool)
void compute_fixed_ruler_scale()
std::map< ARDOUR::FadeShape, Gtk::Image * > _xfade_in_images
Definition: editor.h:2189
void select_all_within(Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list< SelectableOwner * > const &, ARDOUR::SelectionOperation, bool)
void region_view_added(RegionView *)
void build_edit_mode_menu()
ArdourCanvas::Ruler * bbt_ruler
Definition: editor.h:898
void move_selected_tracks(bool)
RegionView * clicked_regionview
Definition: editor.h:687
void finish_cleanup()
void toggle_marker_menu_lock()
Gtk::CheckButton stretch_marker_cb
Definition: editor.h:1775
void toggle_main()
Editing::MarkerClickBehavior marker_click_behavior
Definition: editor.h:567
bool canvas_end_xfade_event(GdkEvent *event, ArdourCanvas::Item *, AudioRegionView *)
void add_bus_context_items(Gtk::Menu_Helpers::MenuList &)
void automation_move_points_earlier()
ArdourCanvas::Ruler * timecode_ruler
Definition: editor.h:897
void begin_selection_op_history()
PBD::Signal< void()> EditorFreeze
Definition: editor.h:1531
void begin_reversible_command(std::string cmd_name)
JoinObjectRangeState
Definition: editor.h:569
@ JOIN_OBJECT_RANGE_RANGE
Definition: editor.h:574
@ JOIN_OBJECT_RANGE_NONE
Definition: editor.h:570
@ JOIN_OBJECT_RANGE_OBJECT
Definition: editor.h:572
void toggle_tempo_continues()
Glib::RefPtr< Gtk::ToggleAction > show_touched_automation_action
Definition: editor.h:2060
void move_range_selection_start_or_end_to_region_boundary(bool, bool)
Glib::RefPtr< Gtk::ToggleAction > ruler_video_action
Definition: editor.h:943
Glib::RefPtr< Gtk::RadioAction > session_range_action
Definition: editor.h:855
void cycle_edit_mode()
void location_gone(ARDOUR::Location *)
bool write_region(std::string path, std::shared_ptr< ARDOUR::AudioRegion >)
bool internal_editing() const
void setup_tooltips()
void set_summary()
void * import_thread()
void select_topmost_track()
void button_selection(ArdourCanvas::Item *item, GdkEvent *event, ItemType item_type)
void visible_order_range(int *, int *) const
void toggle_gain_envelope_active()
void make_bbt_marker(Temporal::MusicTimePoint const *, Marks::iterator before)
void region_unlock()
bool track_selection_change_without_scroll() const
Definition: editor.h:1527
bool leave_handler(ArdourCanvas::Item *, GdkEvent *, ItemType)
void show_marker_type(MarkerBarType)
ArdourCanvas::Container * section_marker_group
Definition: editor.h:789
Glib::RefPtr< Gtk::ToggleAction > show_editor_list_action
Definition: editor.h:2058
void set_fade_out_active(bool)
void marker_menu_zoom_to_range()
void mapped_select_playlist_matching(RouteUI &, std::weak_ptr< ARDOUR::Playlist > pl)
RangeBarType _visible_range_types
Definition: editor.h:2289
void set_punch_from_region()
TimeAxisView * _stepping_axis_view
Definition: editor.h:2217
void capture_sources_changed(bool)
void visual_changer(const VisualChange &)
void separate_region_from_punch()
ArdourCanvas::ScrollGroup * get_hscroll_group() const
Definition: editor.h:442
ArdourCanvas::Rectangle * transport_postroll_rect
Definition: editor.h:1851
bool _all_region_actions_sensitized
Definition: editor.h:1819
void use_visual_state(VisualState &)
bool edit_location(ARDOUR::Location &loc, bool with_scene, bool with_command)
bool write_audio_range(ARDOUR::AudioPlaylist &, const ARDOUR::ChanCount &channels, std::list< ARDOUR::TimelineRange > &)
void scroll_backward(float pages=0.8f)
void override_visible_track_count()
Temporal::timepos_t snap_to_minsec(Temporal::timepos_t const &start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref) const
void quick_export()
bool entered_track_canvas(GdkEventCrossing *)
void place_transient()
Gtk::HBox _track_box
Definition: editor.h:1796
void import_smf_tempo_map(Evoral::SMF const &, Temporal::timepos_t const &pos)
void mouse_mode_object_range_toggled()
Gtk::HBox _ruler_box_marker
Definition: editor.h:922
void clear_markers()
bool key_press_handler(ArdourCanvas::Item *, GdkEvent *, ItemType)
ArdourWidgets::ArdourButton _ruler_btn_meter_add
Definition: editor.h:929
double _err_screen_engine
Definition: editor.h:1080
Glib::RefPtr< Gtk::RadioAction > punch_range_action
Definition: editor.h:853
int import_sndfiles(std::vector< std::string > paths, Editing::ImportDisposition disposition, Editing::ImportMode mode, ARDOUR::SrcQuality quality, Temporal::timepos_t &pos, int target_regions, int target_tracks, std::shared_ptr< ARDOUR::Track > &track, std::string const &pgroup_id, bool replace, bool with_markers, std::shared_ptr< ARDOUR::PluginInfo > instrument=std::shared_ptr< ARDOUR::PluginInfo >())
void paste(float times, bool from_context_menu)
void remove_time(Temporal::timepos_t const &pos, Temporal::timecnt_t const &distance, Editing::InsertTimeOption opt, bool markers_too, bool locked_markers_too, bool tempo_too)
Gtk::VBox track_canvas_vbox
Definition: editor.h:1028
void recover_regions(ARDOUR::RegionList)
bool check_multichannel_status(const std::vector< std::string > &paths)
void cursor_to_next_region_boundary(bool with_selection)
void remove_last_capture()
bool _region_boundary_cache_dirty
Definition: editor.h:996
void undo_selection_op()
void ui_parameter_changed(std::string)
Temporal::TempoMap::WritableSharedPtr begin_tempo_mapping(Temporal::DomainBounceInfo &)
void metric_get_bbt(std::vector< ArdourCanvas::Ruler::Mark > &, int64_t, int64_t, gint)
double _last_motion_y
Definition: editor.h:2173
Gtk::Allocation _canvas_viewport_allocation
Definition: editor.h:1612
void align_region(std::shared_ptr< ARDOUR::Region >, ARDOUR::RegionPoint point, Temporal::timepos_t const &position)
TimeAxisView * _pending_resize_view
Definition: editor.h:2139
void edit_point_chosen(Editing::EditPoint)
void trim_region_to_next_region_start()
bool scroll_release(GdkEventButton *ev)
void do_remove_time()
void trim_region_front()
bool button_release_can_deselect
Definition: editor.h:719
void fit_route_group(std::shared_ptr< ARDOUR::RouteGroup >)
void update_selection_markers()
ArdourCanvas::Rectangle * range_marker_bar
Definition: editor.h:909
bool check_step_edit()
void toggle_solo_isolate()
void tag_last_capture()
JoinObjectRangeState _join_object_range_state
Definition: editor.h:577
TriggerClipPicker _trigger_clip_picker
Definition: editor.h:1032
Gtk::Menu fade_context_menu
Definition: editor.h:1448
void add_notebook_page(std::string const &, std::string const &, Gtk::Widget &)
std::vector< std::string > timefx_opt_strings
Definition: editor.h:203
std::set< Temporal::timepos_t > region_boundary_cache
Definition: editor.h:993
void select_all_selectables_between(bool within)
void show_a_region(std::shared_ptr< ARDOUR::Region >)
Editing::ZoomFocus effective_zoom_focus() const
void color_handler()
void maybe_show_instrument_plugin(std::shared_ptr< ARDOUR::MidiTrack > mt)
Gtk::HBox _ruler_box_range
Definition: editor.h:921
bool _last_region_menu_was_main
Definition: editor.h:1825
void insert_source_list_selection(float times)
bool no_save_visual
Definition: editor.h:554
static const RangeBarType all_range_types
Definition: editor.h:1571
void hide_marker(ArdourCanvas::Item *, GdkEvent *)
TimeFXDialog * current_timefx
Definition: editor.h:1979
void select_all_tracks()
void marker_menu_change_cue(int cue)
bool button_release_handler(ArdourCanvas::Item *, GdkEvent *, ItemType)
void maybe_add_mixer_strip_width(XMLNode &) const
void queue_redisplay_track_views()
void play_from_edit_point()
void region_lock()
double trackviews_height() const
void raise_region_to_top()
void deselect_all()
void delete_()
void marker_menu_set_from_playhead()
Gtk::HBox ebox_hpacker
Definition: editor.h:1781
void get_regionviews_at_or_after(Temporal::timepos_t const &, RegionSelection &)
void update_all_marker_lanes()
Marks bbt_marks
Definition: editor.h:1706
void region_selection_changed()
void tag_regions(ARDOUR::RegionList)
void mid_tempo_per_track_update(TimeAxisView &)
void foreach_time_axis_view(sigc::slot< void, TimeAxisView & >)
void motion_track(ArdourCanvas::Duple const &)
void tab_to_transient(bool forward)
void marker_click_behavior_selection_done(Editing::MarkerClickBehavior)
void trim_region_to_loop()
void nudge_backward(bool next, bool force_playhead)
void toggle_skip_playback()
void temporal_zoom_selection(Editing::ZoomAxis)
void normalize_region()
void invert_selection_in_track()
void set_mark()
void reset_region_gain()
sigc::connection xcursor_connection
Definition: editor.h:2306
void define_one_bar(Temporal::timepos_t const &start, Temporal::timepos_t const &end, std::string const &from)
void add_to_idle_resize(TimeAxisView *, int32_t)
void reset_region_gain_envelopes()
void toggle_region_mute()
static Gtk::Table * setup_ruler_new(Gtk::HBox &, std::vector< Gtk::Label * > &, Gtk::Label *)
Gtk::Label toolbar_selection_cursor_label
Definition: editor.h:1747
PBD::Signal< void()> VisibleMarkersChanged
Definition: editor.h:2293
CrossCursor * xcursor
Definition: editor.h:2305
bool no_ruler_shown_update
Definition: editor.h:844
ArdourCanvas::Container * _time_markers_group
Definition: editor.h:792
Gtk::HBox _ruler_box_minsec
Definition: editor.h:915
void abort_tempo_mapping()
std::shared_ptr< ARDOUR::Route > current_mixer_stripable() const
void drop_regions(const Glib::RefPtr< Gdk::DragContext > &context, gint x, gint y, std::vector< PBD::ID > const &rids, guint info, guint time)
void drop_paths(const Glib::RefPtr< Gdk::DragContext > &context, gint x, gint y, const Gtk::SelectionData &data, guint info, guint time)
void fork_regions_from_unselected()
ArdourWidgets::ArdourButton _ruler_btn_section_add
Definition: editor.h:938
BounceTarget
Definition: editor.h:1935
@ NewTrigger
Definition: editor.h:1937
@ NewSource
Definition: editor.h:1936
@ ReplaceRange
Definition: editor.h:1938
void update_just_timecode()
Gtk::HBox edit_controls_hbox
Definition: editor.h:1030
void set_entered_track(TimeAxisView *)
bool canvas_start_xfade_event(GdkEvent *event, ArdourCanvas::Item *, AudioRegionView *)
void track_selection_changed()
ArdourWidgets::ArdourDropdown edit_point_selector
Definition: editor.h:2066
void rename_region()
void deinterlace_midi_regions(const RegionSelection &rs)
RhythmFerret * rhythm_ferret
Definition: editor.h:2124
RegionSelection get_regions_from_selection_and_mouse(Temporal::timepos_t const &)
void sensitize_all_region_actions(bool)
void build_marker_menu(ARDOUR::Location *)
bool can_remove_control_point(ArdourCanvas::Item *)
void start_lock_event_timing()
TimeAxisView * time_axis_view_from_stripable(std::shared_ptr< ARDOUR::Stripable > s) const
Definition: editor.h:1059
double clamp_verbose_cursor_x(double)
int embed_sndfiles(std::vector< std::string > paths, bool multiple_files, bool &check_sample_rate, Editing::ImportDisposition disposition, Editing::ImportMode mode, Temporal::timepos_t &pos, int target_regions, int target_tracks, std::shared_ptr< ARDOUR::Track > &track, std::string const &pgroup_id, std::shared_ptr< ARDOUR::PluginInfo > instrument=std::shared_ptr< ARDOUR::PluginInfo >())
bool button_press_handler(ArdourCanvas::Item *, GdkEvent *, ItemType)
void reparent_location_markers(LocationMarkers *, ArdourCanvas::Item *)
void set_group_tabs()
void set_minsec_ruler_scale(samplepos_t, samplepos_t)
void toggle_region_lock()
static void * _freeze_thread(void *)
ArdourCanvas::ScrollGroup * h_scroll_group
Definition: editor.h:805
static const MarkerBarType all_marker_types
Definition: editor.h:1570
void update_punch_range_view()
bool scroll_down_one_track(bool skip_child_views=false)
std::vector< Gtk::Label * > _ruler_labels
Definition: editor.h:926
void marker_menu_select_all_selectables_using_range()
bool _ignore_region_action
Definition: editor.h:1824
Marks tempo_marks
Definition: editor.h:1704
void split_regions_at(Temporal::timepos_t const &, RegionSelection &)
std::vector< std::string > edit_mode_strings
Definition: editor.h:2076
void add_meter_from_playhead_cursor()
Glib::RefPtr< Gtk::RadioAction > cue_marker_action
Definition: editor.h:849
long select_range(Temporal::timepos_t const &, Temporal::timepos_t const &)
bool meters_running
Definition: editor.h:2093
ControlPoint * clicked_control_point
Definition: editor.h:690
void remove_clicked_region()
Glib::RefPtr< Gtk::ToggleAction > xjadeo_frame_action
Definition: editor.h:947
void set_zoom_preset(int64_t)
Gtk::HBox _summary_hbox
Definition: editor.h:2154
int time_stretch(RegionSelection &, Temporal::ratio_t const &fraction, bool fixed_end)
Glib::RefPtr< Gtk::RadioAction > scene_marker_action
Definition: editor.h:848
void * freeze_thread()
EditorSummary * _summary
Definition: editor.h:2156
void duplicate_some_regions(RegionSelection &, float times)
Gtk::HBox _ruler_box_section
Definition: editor.h:923
void start_selection_grab(ArdourCanvas::Item *, GdkEvent *)
void remove_regions(const RegionSelection &, bool can_ripple, bool as_part_of_other_command)
void do_embed(std::vector< std::string > paths, Editing::ImportDisposition disposition, Editing::ImportMode mode, Temporal::timepos_t &pos, std::shared_ptr< ARDOUR::PluginInfo > instrument=std::shared_ptr< ARDOUR::PluginInfo >(), std::shared_ptr< ARDOUR::Track > track=std::shared_ptr< ARDOUR::Track >())
void mapover_tracks_with_unique_playlists(sigc::slot< void, RouteTimeAxisView &, uint32_t > sl, TimeAxisView *, PBD::PropertyID) const
Gtk::Label videotl_label
Definition: editor.h:941
gint real_remove_bbt_marker(Temporal::MusicTimePoint const *)
Glib::RefPtr< Gtk::ToggleAction > ruler_timecode_action
Definition: editor.h:836
void add_locations_from_region()
void marker_menu_rename()
ArdourCanvas::Container * range_marker_group
Definition: editor.h:788
void ensure_float(Gtk::Window &)
Gtk::Menu * build_track_bus_context_menu()
void play_from_edit_point_and_return()
void loop_location(ARDOUR::Location &)
void play_solo_selection(bool restart)
void export_region()
Gtk::Menu * build_track_region_context_menu()
Gtk::Button automation_mode_button
Definition: editor.h:1759
void reset_controls_layout_width()
static const int32_t default_height
Definition: editor.h:2003
static gboolean _idle_resize(gpointer)
bool is_video_timeline_locked()
void edit_bbt(BBTMarker &)
void set_video_timeline_locked(const bool)
void clear_grouped_playlists(RouteUI *v)
int resize_idle_id
Definition: editor.h:2135
Gtk::VBox ebox_vpacker
Definition: editor.h:1782
ArdourWidgets::ArdourButton _ruler_btn_range_add
Definition: editor.h:932
Glib::RefPtr< Gtk::ToggleAction > xjadeo_proc_action
Definition: editor.h:944
std::map< ArdourCanvas::Item *, std::list< ArdourMarker * > > _sorted_marker_lists
Definition: editor.h:668
void swap_visual_state()
void toggle_opaque_region()
void add_dstream_context_items(Gtk::Menu_Helpers::MenuList &)
ArdourWidgets::ArdourButton _ruler_btn_tempo_add
Definition: editor.h:928
bool canvas_fade_in_handle_event(GdkEvent *event, ArdourCanvas::Item *, AudioRegionView *, bool trim=false)
void reset_meter_marks()
void set_sync_point(Temporal::timepos_t const &, const RegionSelection &)
bool get_selection_extents(Temporal::timepos_t &start, Temporal::timepos_t &end) const
Temporal::TimeDomain drag_time_domain(std::shared_ptr< T > thing_with_time_domain)
Definition: editor.h:2242
void mouse_add_new_loop(Temporal::timepos_t)
MeterMarker * find_marker_for_meter(Temporal::MeterPoint const &)
void ungroup_selected_regions()
void update_marker_display()
void set_edit_mode(ARDOUR::EditMode)
bool canvas_fade_in_event(GdkEvent *event, ArdourCanvas::Item *, AudioRegionView *)
void remove_region_marker(ARDOUR::CueMarker &)
bool _no_not_select_reimported_tracks
Definition: editor.h:1933
void add_external_audio_action(Editing::ImportMode)
void marker_click_behavior_chosen(Editing::MarkerClickBehavior)
Gtk::Table edit_packer
Definition: editor.h:1000
Temporal::timepos_t get_region_boundary(Temporal::timepos_t const &pos, int32_t dir, bool with_selection, bool only_onscreen)
bool show_touched_automation() const
EditorRegions * _regions
Definition: editor.h:1863
StripableTimeAxisView * get_stripable_time_axis_by_id(const PBD::ID &id) const
void reverse_region()
void update_region_fade_visibility()
void crop_region_to(Temporal::timepos_t const &start, Temporal::timepos_t const &end)
void consider_auditioning(std::shared_ptr< ARDOUR::Region >)
void new_transport_marker_menu_set_loop()
bool _maximised
true if we are in fullscreen mode
Definition: editor.h:1632
void show_rulers_for_grid()
void stem_export()
void unhide_markers()
EditorSources * _sources
Definition: editor.h:1865
void cursor_to_region_boundary(bool with_selection, int32_t dir)
Glib::RefPtr< Gtk::ToggleAction > ruler_section_action
Definition: editor.h:842
void mouse_add_new_meter_event(Temporal::timepos_t where)
ArdourCanvas::ScrollGroup * get_hvscroll_group() const
Definition: editor.h:443
void cursor_to_region_point(EditorCursor *, ARDOUR::RegionPoint, int32_t dir)
PBD::Signal< void()> EditorThaw
Definition: editor.h:1532
void do_remove_gaps()
Gtk::MenuItem & action_menu_item(std::string const &)
void pitch_shift_region()
Glib::RefPtr< Gtk::RadioAction > other_range_action
Definition: editor.h:856
Glib::RefPtr< Gtk::ToggleAction > ruler_tempo_action
Definition: editor.h:840
void scroll_tracks_down_line()
ArdourWidgets::VPane editor_summary_pane
Definition: editor.h:588
void set_marker_click_behavior(Editing::MarkerClickBehavior)
void uncombine_regions()
AnalysisWindow * analysis_window
Definition: editor.h:1308
void remove_marker(ArdourMarker *)
double _full_canvas_height
full height of the canvas
Definition: editor.h:1020
LayerOperation
Definition: editor.h:1136
@ RaiseToTop
Definition: editor.h:1138
@ LowerToBottom
Definition: editor.h:1140
@ Lower
Definition: editor.h:1139
@ Raise
Definition: editor.h:1137
bool edit_controls_button_event(GdkEventButton *)
TrackViewList axis_views_from_routes(std::shared_ptr< ARDOUR::RouteList >) const
Gtk::EventBox marker_base
Definition: editor.h:591
sigc::connection control_scroll_connection
Definition: editor.h:1045
void marker_menu_set_origin()
void mouse_add_bbt_marker_event(Temporal::timepos_t where)
int pitch_shift(RegionSelection &, float cents)
ArdourCanvas::Rectangle * meter_bar
Definition: editor.h:907
void cursor_to_next_region_point(EditorCursor *, ARDOUR::RegionPoint)
void initialize_rulers()
bool canvas_scroll_event(GdkEventScroll *event, bool from_canvas)
VisualState * current_visual_state(bool with_tracks=true)
void set_tempo_curve_range(double &max, double &min) const
bool generic_event_handler(GdkEvent *)
gint left_automation_track()
Gtk::EventBox time_bars_event_box
Definition: editor.h:782
int64_t _last_update_time
Definition: editor.h:1079
void register_actions()
bool get_smart_mode() const
bool ignore_map_change
Definition: editor.h:1538
void mouse_mode_chosen(Editing::MouseMode m)
bool rb_click(GdkEvent *, Temporal::timepos_t const &)
void drop_selected_chord(std::vector< int > which_notes)
LocationMarkers * find_location_markers(ARDOUR::Location *) const
void remove_gap_marker_callback(Temporal::timepos_t at, Temporal::timecnt_t distance)
void region_fill_track()
void get_equivalent_regions(RegionView *rv, std::vector< RegionView * > &, PBD::PropertyID) const
bool stamp_new_playlist(std::string title, std::string &name, std::string &pgroup, bool copy)
ArdourCanvas::ScrollGroup * get_cursor_scroll_group() const
Definition: editor.h:444
void set_show_touched_automation(bool)
void hide_track_in_display(TimeAxisView *tv, bool apply_to_selection=false)
void mapover_all_routes(sigc::slot< void, RouteUI & > sl) const
Glib::RefPtr< Gtk::ToggleAction > xjadeo_timecode_action
Definition: editor.h:946
void marker_menu_loop_range()
SectionBox * _section_box
Definition: editor.h:1839
Glib::RefPtr< Gtk::ToggleAction > ruler_bbt_action
Definition: editor.h:838
void bring_in_external_audio(Editing::ImportMode mode, samplepos_t &pos)
void goto_nth_marker(int nth)
MixerStrip * get_current_mixer_strip() const
Definition: editor.h:417
void control_vertical_zoom_in_all()
samplepos_t cut_buffer_start
Definition: editor.h:1084
void add_location_from_selection()
bool mouse_select_button_release(GdkEventButton *)
ArdourWidgets::ArdourButton tav_expand_button
Definition: editor.h:1733
bool set_selected_regionview_from_map_event(GdkEventAny *, StreamView *, std::weak_ptr< ARDOUR::Region >)
bool _pending_initial_locate
Definition: editor.h:2152
void handle_gui_changes(std::string const &, void *)
void commit_reversible_selection_op()
MarkerBarType
Definition: editor.h:1556
@ SceneMarks
Definition: editor.h:1558
@ CDMarks
Definition: editor.h:1559
@ LocationMarks
Definition: editor.h:1560
@ CueMarks
Definition: editor.h:1557
void step_edit_status_change(bool)
void build_track_count_menu()
void get_pointer_position(double &, double &) const
static void setup_ruler_add(Gtk::Table *, ArdourWidgets::ArdourButton &, int pos=0)
std::map< ARDOUR::FadeShape, Gtk::Image * > _xfade_out_images
Definition: editor.h:2190
Glib::RefPtr< Gdk::Pixbuf > rec_enabled_icon
Definition: editor.h:1870
int videotl_bar_height
Definition: editor.h:959
int set_state(const XMLNode &, int version)
void transition_to_rolling(bool forward)
void align_regions(ARDOUR::RegionPoint)
void adjust_region_gain(bool up)
void cycle_edit_point(bool with_marker)
void region_view_removed()
void popup_control_point_context_menu(ArdourCanvas::Item *, GdkEvent *)
void control_step_tracks_up()
bool nudge_backward_release(GdkEventButton *)
std::pair< Temporal::timepos_t, Temporal::timepos_t > session_gui_extents(bool use_extra=true) const
void update_loop_range_view()
void check_marker_label(ArdourMarker *)
gint mouse_rename_region(ArdourCanvas::Item *, GdkEvent *)
bool should_stretch_markers() const
Definition: editor.h:1777
bool button_press_handler_1(ArdourCanvas::Item *, GdkEvent *, ItemType)
Glib::RefPtr< Gtk::ToggleAction > show_editor_props_action
Definition: editor.h:2059
void select_all_selectables_using_cursor(EditorCursor *, bool)
void set_video_timeline_height(const int, bool force=false)
void end_track_drag()
void select_all_selectables_using_punch()
bool canvas_bbt_marker_event(GdkEvent *event, ArdourCanvas::Item *, BBTMarker *)
bool _track_selection_change_without_scroll
Definition: editor.h:1829
void play_from_start()
void jump_to_loop_marker(bool start)
void toggle_xjadeo_viewoption(int what, int state=-1)
bool canvas_region_view_event(GdkEvent *event, ArdourCanvas::Item *, RegionView *)
ArdourWidgets::MetaButton _notebook_tab1
Definition: editor.h:583
void set_toggleaction(const std::string &, const std::string &, bool)
int finish_bringing_in_material(std::shared_ptr< ARDOUR::Region > region, uint32_t in_chans, uint32_t out_chans, Temporal::timepos_t &pos, Editing::ImportMode mode, std::shared_ptr< ARDOUR::Track > &existing_track, std::string const &new_track_name, std::string const &pgroup_id, std::shared_ptr< ARDOUR::PluginInfo > instrument)
Gdk::Cursor * which_mode_cursor() const
void showhide_att_left(bool)
bool no_save_instant
Definition: editor.h:1961
void update_region_layering_order_editor()
Gtk::Menu * new_transport_marker_menu
Definition: editor.h:1700
void reassociate_bartime_marker(Temporal::TempoMap::SharedPtr const &tmap, Temporal::MusicTimes const &, BBTMarker &marker)
int write_audio_selection(TimeSelection &)
void duplicate_regions(float times)
Gtk::Menu xfade_in_context_menu
Definition: editor.h:1450
bool _show_marker_lines
Definition: editor.h:653
void playhead_forward_to_grid()
ArdourCanvas::GtkCanvasViewport * get_canvas_viewport() const
double visible_canvas_width() const
Definition: editor.h:2122
void set_zoom_focus(Editing::ZoomFocus)
void get_per_region_note_selection(std::list< std::pair< PBD::ID, std::set< std::shared_ptr< Evoral::Note< Temporal::Beats > > > > > &) const
void remove_tempo_marker(ArdourCanvas::Item *)
void parameter_changed(std::string)
void trim_region_back()
bool canvas_note_event(GdkEvent *event, ArdourCanvas::Item *)
bool process_midi_export_dialog(MidiExportDialog &dialog, std::shared_ptr< ARDOUR::MidiRegion > midi_region)
void external_edit_region()
ARDOUR::ImportStatus import_pt_status
Definition: editor.h:1315
void trim_region_to_punch()
std::pair< Temporal::timepos_t, Temporal::timepos_t > max_zoom_extent() const
Definition: editor.h:2043
bool idle_resize()
void finish_import()
void begin_reversible_selection_op(std::string cmd_name)
void maybe_locate_with_edit_preroll(samplepos_t)
void edit_bbt_marker(BBTMarker &)
void remove_gaps(Temporal::timecnt_t const &threshold, Temporal::timecnt_t const &leave, bool markers_too)
RangeBarType
Definition: editor.h:1563
@ SessionRange
Definition: editor.h:1566
@ LoopRange
Definition: editor.h:1565
@ OtherRange
Definition: editor.h:1567
@ PunchRange
Definition: editor.h:1564
ArdourCanvas::GtkCanvas * get_canvas() const
Temporal::timepos_t snap_to_timecode(Temporal::timepos_t const &start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref) const
void toggle_region_polarity()
void playhead_backward_to_grid()
uint32_t clicked_selection
Definition: editor.h:689
bool select_new_marker
Definition: editor.h:1410
Glib::RefPtr< Gtk::ToggleAction > show_editor_mixer_action
Definition: editor.h:2057
void select_all_selectables_using_time_selection()
void setup_toolbar()
void build_region_boundary_cache()
void tav_zoom_smooth(bool coarser, bool force_all)
void marker_menu_range_to_next()
void remove_region_sync()
bool autoscroll_active() const
void edit_meter_section(Temporal::MeterPoint &)
void clear_locations()
bool _following_mixer_selection
Definition: editor.h:2196
bool can_cut_copy() const
LocationMarkers * _selection_marker
Definition: editor.h:796
void edit_current_tempo()
ArdourWidgets::ArdourDropdown zoom_preset_selector
Definition: editor.h:1736
ArdourCanvas::Container * global_rect_group
Definition: editor.h:1634
friend class EditorRubberbandSelectDrag
Definition: editor.h:2328
Gtk::HBox nudge_hbox
Definition: editor.h:2009
void clear_marker_display()
void add_stripables(ARDOUR::StripableList &)
ArdourCanvas::Container * videotl_group
Definition: editor.h:942
void separate_region_from_selection()
void register_toggle_region_action(Glib::RefPtr< Gtk::ActionGroup > group, Editing::RegionActionTarget, char const *name, char const *label, sigc::slot< void > slot)
void set_tempo_from_region()
uint32_t selection_op_cmd_depth
Definition: editor.h:1952
void set_region_gain_visibility(RegionView *)
void set_selected_mixer_strip(TimeAxisView &)
void edit_meter_marker(MeterMarker &)
void nudge_forward_capture_offset()
void _remove_tracks()
Gtk::VBox _editor_list_vbox
Definition: editor.h:581
RulerDialog * ruler_dialog
Definition: editor.h:860
void zoom_adjustment_changed()
gint real_remove_meter_marker(Temporal::MeterPoint const *)
Gtk::HBox _bottom_hbox
Definition: editor.h:533
bool track_canvas_key_release(GdkEventKey *)
void update_tempo_curves(double min_tempo, double max_tempo, samplecnt_t sr)
bool canvas_automation_track_event(GdkEvent *event, ArdourCanvas::Item *, AutomationTimeAxisView *)
void export_range()
void edit_current_meter()
void mid_tempo_change(MidTempoChanges)
void tav_zoom_step(bool coarser)
void embed_audio_from_video(std::string, samplepos_t n=0, bool lock_position_to_video=true)
Glib::RefPtr< Gtk::RadioAction > marker_click_behavior_action(Editing::MarkerClickBehavior)
int write_region_selection(RegionSelection &)
void reassociate_metric_markers(Temporal::TempoMap::SharedPtr const &)
void remove_transient(ArdourCanvas::Item *item)
void queue_visual_videotimeline_update()
void make_tempo_marker(Temporal::TempoPoint const *ts, Temporal::TempoPoint const *&prev_ts, uint32_t tc_color, samplecnt_t sr3, Marks::iterator before)
PBD::microseconds_t last_track_height_step_timestamp
Definition: editor.h:2033
Gtk::VBox automation_box
Definition: editor.h:1758
void set_stepping_axis_view(TimeAxisView *v)
Definition: editor.h:436
ArdourCanvas::Line * transport_punchout_line
Definition: editor.h:1849
Temporal::timepos_t snap_to_marker(Temporal::timepos_t const &presnap, Temporal::RoundMode direction=Temporal::RoundNearest) const
void set_playhead_cursor()
void build_edit_point_menu()
void set_gain_envelope_visibility()
void show_track_in_display(TimeAxisView *tv, bool move_into_view=false)
void build_tempo_marker_menu(TempoMarker *, bool)
ArdourWidgets::ArdourButton nudge_forward_button
Definition: editor.h:2007
TimecodeRulerScale
Definition: editor.h:879
@ timecode_show_hours
Definition: editor.h:884
@ timecode_show_bits
Definition: editor.h:880
@ timecode_show_samples
Definition: editor.h:881
@ timecode_show_seconds
Definition: editor.h:882
@ timecode_show_minutes
Definition: editor.h:883
@ timecode_show_many_hours
Definition: editor.h:885
ArdourCanvas::Container * get_trackview_group() const
Definition: editor.h:440
void set_auto_punch_range()
void find_and_display_track()
std::shared_ptr< ARDOUR::Playlist > current_playlist() const
void metric_get_timecode(std::vector< ArdourCanvas::Ruler::Mark > &, int64_t, int64_t, gint)
Gtk::VBox _summary_vbox
Definition: editor.h:2155
ArdourWidgets::ArdourButton _ruler_btn_section_prev
Definition: editor.h:936
void toggle_ruler_video(bool onoff)
Definition: editor.h:958
void abort_tempo_map_edit()
void setup_midi_toolbar()
void layer_display_overlaid()
ArdourCanvas::Container * no_scroll_group
Definition: editor.h:812
void ramp_to_next_tempo()
Editing::MouseMode effective_mouse_mode() const
bool ruler_label_button_release(GdkEventButton *)
void mouse_paste()
void do_insert_time()
void temporal_zoom_extents()
void start_visual_state_op(uint32_t n)
void update_video_timeline(bool flush=false)
void add_commands(std::vector< PBD::Command * > cmds)
void change_region_layering_order(bool from_context_menu)
void show_range_type(RangeBarType)
Gtk::HBox toolbar_hbox
Definition: editor.h:1805
bool _control_point_toggled_on_press
Definition: editor.h:2206
void clear_tempo_markers_before(Temporal::timepos_t where, bool stop_at_music_times)
void track_canvas_viewport_size_allocated()
void update_fixed_rulers()
Gtk::Notebook _the_notebook
Definition: editor.h:582
guint32 visible_timebars
Definition: editor.h:903
void export_selection()
void toggle_region_fades(int dir)
void suspend_route_redisplay()
void new_transport_marker_context_menu(GdkEventButton *, ArdourCanvas::Item *)
std::pair< TimeAxisView *, double > trackview_by_y_position(double, bool trackview_relative_offset=true) const
void mapped_clear_playlist(RouteUI &)
void add_vcas(ARDOUR::VCAList &)
void set_track_height(Height)
void clear_scenes()
Gtk::Menu track_selection_context_menu
Definition: editor.h:740
bool do_remove_location_at_playhead_cursor()
void remove_marker(ArdourCanvas::Item &)
void marker_drag_motion_callback(GdkEvent *)
void spectral_analyze_range_selection()
bool _region_selection_change_updates_region_list
Definition: editor.h:2186
void cut_copy_regions(Editing::CutCopyOp, RegionSelection &)
void control_scroll(float)
EditorImportStatus import_status
Definition: editor.h:1336
ArdourCanvas::Item * marker_menu_item
Definition: editor.h:1701
void _commit_tempo_map_edit(Temporal::TempoMap::WritableSharedPtr &, bool with_update=false)
void duplicate_range(bool with_dialog)
void trim_region_to_previous_region_end()
void select_all_selectables_using_edit(bool, bool)
void focus_on_clock()
void mark_region_boundary_cache_dirty()
Definition: editor.h:994
void marker_context_menu(GdkEventButton *, ArdourCanvas::Item *)
EditorVSummary * _vsummary
Definition: editor.h:2159
ArdourCanvas::Rectangle * transport_bar_preroll_rect
Definition: editor.h:1844
void new_region_from_selection()
std::list< VisualState * > undo_visual_stack
Definition: editor.h:548
void mid_track_drag(GdkEventMotion *, Gtk::Widget &e)
bool canvas_region_view_name_highlight_event(GdkEvent *event, ArdourCanvas::Item *, RegionView *)
void catch_up_on_midi_selection()
Gtk::Menu xfade_out_context_menu
Definition: editor.h:1451
int get_videotl_bar_height() const
Definition: editor.h:960
void close_region_gaps()
Temporal::timecnt_t get_paste_offset(Temporal::timepos_t const &pos, unsigned paste_count, Temporal::timecnt_t const &duration)
bool button_press_dispatch(GdkEventButton *)
void add_location_mark_with_flag(Temporal::timepos_t const &where, ARDOUR::Location::Flags flag, int32_t cue_id)
RegionPeakCursor * _region_peak_cursor
Definition: editor.h:777
void toggle_tracks_active()
Glib::RefPtr< Gtk::ToggleAction > xjadeo_osdbg_action
Definition: editor.h:948
void clear_region_markers()
Glib::RefPtr< Gtk::TreeSelection > route_display_selection
Definition: editor.h:1873
std::shared_ptr< ARDOUR::AudioRegion > last_audition_region
Definition: editor.h:1963
void mouse_brush_insert_region(RegionView *, Temporal::timepos_t const &pos)
void reassociate_meter_marker(Temporal::TempoMap::SharedPtr const &tmap, Temporal::Meters const &, MeterMarker &marker)
EditorRouteGroups * _route_groups
Definition: editor.h:1861
ArdourCanvas::Rectangle * marker_bar
Definition: editor.h:908
void do_undo(uint32_t n)
void mapover_selected_routes(sigc::slot< void, RouteUI & > sl) const
std::shared_ptr< ARDOUR::AudioTrack > get_nth_selected_audio_track(int nth) const
void separate_region_from_loop()
void marker_menu_edit()
void move_to_start()
void zoom_vertical_modifier_released()
Glib::RefPtr< Gtk::ToggleAction > xjadeo_ontop_action
Definition: editor.h:945
gint track_height_step_timeout()
Glib::RefPtr< Gtk::ToggleAction > xjadeo_fullscreen_action
Definition: editor.h:949
bool process_redisplay_track_views()
void play_location(ARDOUR::Location &)
void clear_tempo_markers_after(Temporal::timepos_t where, bool stop_at_music_times)
void set_loop_range(Temporal::timepos_t const &start, Temporal::timepos_t const &end, std::string cmd)
void select_all_selectables_using_loop()
void session_going_away()
void dpi_reset()
void trim_region(bool front)
ArdourCanvas::ScrollGroup * cursor_scroll_group
Definition: editor.h:809
void reset_tempo_marks()
void set_entered_regionview(RegionView *)
void selected_marker_moved(ARDOUR::Location *)
void set_visible_range_types(RangeBarType)
AxisView * axis_view_by_control(std::shared_ptr< ARDOUR::AutomationControl >) const
Gtk::Menu * edit_controls_right_menu
Definition: editor.h:1026
Glib::RefPtr< Gtk::ToggleAction > ruler_samples_action
Definition: editor.h:837
Glib::RefPtr< Gtk::RadioAction > edit_point_action(Editing::EditPoint)
void add_region_brush_drag(ArdourCanvas::Item *, GdkEvent *, RegionView *)
ArdourWidgets::MetaButton _notebook_tab2
Definition: editor.h:584
void choose_mapping_drag(ArdourCanvas::Item *, GdkEvent *)
void show_midi_list_editor()
void update_time_selection_display()
bool extend_selection_to_track(TimeAxisView &)
std::weak_ptr< ARDOUR::Movable > _movable
Definition: editor.h:1088
ArdourCanvas::Rectangle * _canvas_grid_zone
Definition: editor.h:828
MidTempoChanges
Definition: editor.h:1544
@ BBTChanged
Definition: editor.h:1547
@ TempoChanged
Definition: editor.h:1545
@ MeterChanged
Definition: editor.h:1546
@ MappingChanged
Definition: editor.h:1548
void on_realize()
void remove_midi_note(ArdourCanvas::Item *, GdkEvent *)
void located()
void metric_get_minsec(std::vector< ArdourCanvas::Ruler::Mark > &, int64_t, int64_t, gint)
void toggle_location_at_playhead_cursor()
Gdk::Cursor * which_track_cursor() const
void set_close_video_sensitive(bool onoff)
TimecodeRulerScale timecode_ruler_scale
Definition: editor.h:888
bool _pending_locate_request
Definition: editor.h:2146
void set_edit_point_preference(Editing::EditPoint ep, bool force=false)
void add_routes(ARDOUR::RouteList &)
int playlist_deletion_dialog(std::shared_ptr< ARDOUR::Playlist >)
sigc::connection _tvl_redisplay_connection
Definition: editor.h:1073
void add_region_context_items(Gtk::Menu_Helpers::MenuList &, std::shared_ptr< ARDOUR::Track >)
void sequence_regions()
void drop_region(const Glib::RefPtr< Gdk::DragContext > &context, gint x, gint y, const PBD::ID &rid, guint info, guint time)
void set_loop_end_from_edit_point()
void get_regions_at(RegionSelection &, Temporal::timepos_t const &where, const TrackViewList &ts) const
ArdourCanvas::Container * add_new_location_internal(ARDOUR::Location *)
bool select_all_internal_edit(ARDOUR::SelectionOperation)
bool canvas_control_point_event(GdkEvent *event, ArdourCanvas::Item *, ControlPoint *)
Glib::RefPtr< Gtk::Action > selection_redo_action
Definition: editor.h:2055
void set_fade_length(bool in)
TimeAxisView * current_stepping_trackview
Definition: editor.h:2032
void toggle_all_existing_automation()
void save_visual_state(uint32_t)
void set_visible_track_count(int32_t)
void automation_begin_edit()
void toggle_tempo_type()
void trim_region_to_location(const ARDOUR::Location &, const char *cmd)
void group_selected_regions()
friend class RegionGainDrag
Definition: editor.h:2324
bool track_canvas_drag_motion(Glib::RefPtr< Gdk::DragContext > const &, int, int, guint)
void toggle_region_video_lock()
static void * timefx_thread(void *arg)
void set_selected_track_as_side_effect(ARDOUR::SelectionOperation op, PBD::Controllable::GroupControlDisposition gcd=PBD::Controllable::UseGroup)
ArdourCanvas::Container * _drag_motion_group
Definition: editor.h:820
PBD::HistoryOwner & history()
TrackViewList const & get_track_views() const
Definition: editor.h:370
bool _tvl_redisplay_on_resume
Definition: editor.h:1072
int32_t _pending_resize_amount
Definition: editor.h:2138
bool canvas_region_view_name_event(GdkEvent *event, ArdourCanvas::Item *, RegionView *)
bool idle_remove_tracks()
void clear_xrun_markers()
void set_visible_marker_types(MarkerBarType)
void audition_region_from_region_list()
bool canvas_line_event(GdkEvent *event, ArdourCanvas::Item *, EditorAutomationLine *)
ArdourWidgets::ArdourDropdown visible_tracks_selector
Definition: editor.h:1735
void nudge_track(bool use_edit_point, bool forwards)
void get_regions_after(RegionSelection &, Temporal::timepos_t const &where, const TrackViewList &ts) const
bool track_dragging() const
void update_title_s(const std::string &snapshot_name)
ArdourCanvas::Ruler * samples_ruler
Definition: editor.h:899
Glib::RefPtr< Gtk::ToggleAction > smart_mode_action
Definition: editor.h:1750
std::vector< std::string > ripple_mode_strings
Definition: editor.h:2077
bool choose_new_marker_name(std::string &name, bool is_range=false)
bool canvas_selection_start_trim_event(GdkEvent *event, ArdourCanvas::Item *, SelectionRect *)
void reset_controls_layout_height(int32_t height)
bool bbt_to_grid(Temporal::BBT_Offset const &bbt, Editing::GridType &gt) const
void trigger_script_by_name(const std::string script_name, const std::string args="")
void align_regions_relative(ARDOUR::RegionPoint point)
AudioClock * nudge_clock
Definition: editor.h:2011
void lock()
void cleanup_regions()
Editing::MarkerClickBehavior get_marker_click_behavior() const
Definition: editor.h:287
void maximise_editing_space()
samplecnt_t cut_buffer_length
Definition: editor.h:1085
void add_section_context_items(Gtk::Menu_Helpers::MenuList &)
std::shared_ptr< ARDOUR::MidiTrack > get_nth_selected_midi_track(int nth) const
Glib::RefPtr< Gtk::ToggleAction > ruler_range_action
Definition: editor.h:841
void do_layer_operation(LayerOperation)
void set_fade_out_shape(ARDOUR::FadeShape)
void fit_tracks(TrackViewList &)
ArdourCanvas::Container * meter_group
Definition: editor.h:786
void reposition_and_zoom(samplepos_t, double)
void session_state_saved(std::string)
void cut_copy_ranges(Editing::CutCopyOp)
bool control_layout_scroll(GdkEventScroll *ev)
void tag_selected_region()
bool _have_idled
Definition: editor.h:2134
void action_pre_activated(Glib::RefPtr< Gtk::Action > const &)
void clear_cues()
Gtk::HBox _ruler_box_videotl
Definition: editor.h:924
Gtk::Menu * tempo_marker_menu
Definition: editor.h:1695
void clear_ranges()
void marker_menu_remove()
void start_track_drag(TimeAxisView &, int y, Gtk::Widget &w, bool can_change_cursor)
ArdourWidgets::ArdourButton _ruler_btn_loc_next
Definition: editor.h:934
void set_selection(std::list< Selectable * >, ARDOUR::SelectionOperation)
Glib::RefPtr< Gtk::RadioAction > location_marker_action
Definition: editor.h:850
void set_loop_start_from_edit_point()
MidiInspector * _midi_inspector
Definition: editor.h:2300
void set_selection_from_loop()
void scroll_tracks_up_line()
bool canvas_meter_marker_event(GdkEvent *event, ArdourCanvas::Item *, MeterMarker *)
void popup_ruler_menu(Temporal::timepos_t const &where=Temporal::timepos_t(), ItemType type=RegionItem)
void edit_envelope()
void split_region_at_points(std::shared_ptr< ARDOUR::Region >, ARDOUR::AnalysisFeatureList &, bool can_ferret, bool select_new=false)
bool deferred_control_scroll(samplepos_t)
void follow_mixer_selection()
RouteTimeAxisView * clicked_routeview
Definition: editor.h:682
bool redisplay_track_views()
ArdourCanvas::Container * marker_group
Definition: editor.h:787
Gtk::HBox _ruler_box_bbt
Definition: editor.h:918
bool section_rect_event(GdkEvent *, ARDOUR::Location *, ArdourCanvas::Rectangle *, std::string)
void set_selection_from_range(ARDOUR::Location &)
void set_selection_from_punch()
void split_region_at_transients()
bool canvas_selection_marker_event(GdkEvent *event, ArdourCanvas::Item *)
bool set_selected_control_point_from_click(bool press, ARDOUR::SelectionOperation op=ARDOUR::SelectionSet)
void region_view_item_click(AudioRegionView &, GdkEventButton *)
void cut_copy_points(Editing::CutCopyOp, Temporal::timepos_t const &earliest)
void set_xjadeo_viewoption(int)
void set_marker_line_visibility(bool)
void trim_to_region(bool forward)
Glib::RefPtr< Gtk::RadioAction > all_marker_action
Definition: editor.h:846
void lower_region()
Temporal::timecnt_t get_nudge_distance(Temporal::timepos_t const &pos, Temporal::timecnt_t &next) const
void toggle_marker_section()
void time_selection_changed()
void sort_track_selection(TrackViewList &)
void selected_marker_to_next_region_boundary(bool with_selection)
void update_marker_labels()
XMLNode & get_state() const
ArdourCanvas::Container * get_drag_motion_group() const
Definition: editor.h:445
void dynamic_cast_marker_object(void *, MeterMarker **, TempoMarker **, BBTMarker **) const
bool canvas_tempo_marker_event(GdkEvent *event, ArdourCanvas::Item *, TempoMarker *)
bool scroll_up_one_track(bool skip_child_views=false)
gint really_remove_global_marker(ARDOUR::Location *loc)
TrackDrag * track_drag
Definition: editor.h:2286
void reset_canvas_action_sensitivity(bool)
void fill_xfade_menu(Gtk::Menu_Helpers::MenuList &items, bool start)
Temporal::DomainBounceInfo * domain_bounce_info
Definition: editor.h:2252
void super_rapid_screen_update()
bool _editor_track_selection_change_without_scroll
Definition: editor.h:1830
void build_new_transport_marker_menu()
void cut_copy(Editing::CutCopyOp)
int _scroll_callbacks
Definition: editor.h:1018
Gtk::Menu section_box_menu
Definition: editor.h:737
bool canvas_velocity_base_event(GdkEvent *event, ArdourCanvas::Item *)
void restore_editing_space()
static double timebar_height
Definition: editor.h:902
void marker_menu_select_using_range()
void fork_selected_regions()
void initial_display()
void separate_regions_between(const TimeSelection &)
std::shared_ptr< ARDOUR::Region > find_next_region(Temporal::timepos_t const &, ARDOUR::RegionPoint, int32_t dir, TrackViewList &, TimeAxisView **=0)
void select_all_in_track(ARDOUR::SelectionOperation op)
void new_transport_marker_menu_set_punch()
Gtk::VBox global_vpacker
Definition: editor.h:766
void sensitize_the_right_region_actions(bool because_canvas_crossing)
void toggle_cue_behavior()
std::vector< VisualState * > visual_states
Definition: editor.h:557
void set_edit_point()
ARDOUR::PlaylistSet motion_frozen_playlists
Definition: editor.h:1465
void mixer_strip_width_changed()
void loudness_assistant_marker()
bool lock_timeout_callback()
bool canvas_wave_view_event(GdkEvent *event, ArdourCanvas::Item *, RegionView *)
Gtk::HBox _zoom_box
Definition: editor.h:1798
void nudge_forward(bool next, bool force_playhead)
void snap_to_internal(Temporal::timepos_t &first, Temporal::RoundMode direction=Temporal::RoundNearest, ARDOUR::SnapPref gpref=ARDOUR::SnapToAny_Visual, bool for_mark=false) const
void select_next_stripable(bool routes_only=true)
ARDOUR::Location * find_location_from_marker(ArdourMarker *, bool &is_start) const
TempoMarker * find_marker_for_tempo(Temporal::TempoPoint const &)
void duplicate_selection(float times)
void unlock()
void initialize_canvas()
Gtk::HBox _box
Definition: editor.h:1784
GdkEvent context_click_event
Definition: editor.h:742
bool motion_handler(ArdourCanvas::Item *, GdkEvent *, bool from_autoscroll=false)
Gtk::VBox edit_mode_box
Definition: editor.h:1767
void update_tempo_based_rulers()
std::optional< samplepos_t > _control_scroll_target
Definition: editor.h:531
Gtk::VBox time_bars_vbox
Definition: editor.h:783
void automation_create_point_at_edit_point(bool with_guard_points)
void do_ripple(std::shared_ptr< ARDOUR::Playlist >, Temporal::timepos_t const &, Temporal::timecnt_t const &, std::shared_ptr< ARDOUR::Region > exclude, bool add_to_command)
void marker_drag_finished_callback(GdkEvent *)
void automation_move_points_later()
bool track_canvas_motion_notify_event(GdkEventMotion *event)
bool canvas_drop_zone_event(GdkEvent *event)
samplepos_t pending_keyboard_selection_start
Definition: editor.h:1431
void start_updating_meters()
bool canvas_tempo_curve_event(GdkEvent *event, ArdourCanvas::Item *, TempoCurve *)
bool get_midi_chord(int root_pitch, std::vector< int > &pitches) const
void stop_updating_meters()
void first_idle()
bool pending_locate_request() const
Definition: editor.h:173
void map_transport_state()
void region_from_selection()
void build_zoom_focus_menu()
ArdourWidgets::ArdourButton smart_mode_button
Definition: editor.h:1749
void temporal_zoom_session()
sigc::connection midi_view_selection_connection
Definition: editor.h:2303
void toggle_record_enable()
bool autoscroll_canvas()
void use_range_as_bar()
void get_markers_to_ripple(std::shared_ptr< ARDOUR::Playlist > target_playlist, Temporal::timepos_t const &pos, std::vector< ArdourMarker * > &markers)
void edit_marker(ArdourMarker *marker, bool with_scene)
void unfreeze_route()
Gtk::VBox nudge_vbox
Definition: editor.h:2010
Gtk::VBox toolbar_selection_clock_vbox
Definition: editor.h:1745
void new_tempo_section()
void cursor_to_previous_region_boundary(bool with_selection)
bool idle_drop_paths(std::vector< std::string > paths, Temporal::timepos_t sample, double ypos, bool copy)
void marker_menu_set_playhead()
void external_pt_dialog()
sigc::connection editor_regions_selection_changed_connection
Definition: editor.h:1816
void center_playhead()
ArdourCanvas::Container * _trackview_group
Definition: editor.h:815
void play_selected_region()
void remove_bbt_marker(ArdourCanvas::Item *)
void start_create_region_grab(ArdourCanvas::Item *, GdkEvent *)
bool should_ripple_all() const
void new_transport_marker_menu_popdown()
RegionSelection latest_regionviews
Definition: editor.h:688
Gtk::Menu * build_track_context_menu()
Temporal::timepos_t snap_to_cd_frames(Temporal::timepos_t const &start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref) const
void scroll_tracks_down()
void crop_region_to_selection()
ArdourCanvas::GtkCanvasViewport * _track_canvas_viewport
Definition: editor.h:775
void set_punch_range(Temporal::timepos_t const &start, Temporal::timepos_t const &end, std::string cmd)
void jump_forward_to_mark_flagged(ARDOUR::Location::Flags, ARDOUR::Location::Flags, ARDOUR::Location::Flags)
void get_regionviews_by_id(PBD::ID const id, RegionSelection &regions) const
Gtk::EventBox meter_base
Definition: editor.h:590
PBD::ScopedConnection tempo_map_connection
Definition: editor.h:2028
void make_region_markers_global(bool as_cd_markers)
void bounce_range_selection(BounceTarget, bool enable_processing)
Gtk::Menu * build_track_selection_context_menu()
void deinterlace_selected_midi_regions()
void point_trim(GdkEvent *, Temporal::timepos_t const &)
void cancel_time_selection()
void do_import(std::vector< std::string > paths, Editing::ImportDisposition disposition, Editing::ImportMode mode, ARDOUR::SrcQuality quality, ARDOUR::MidiTrackNameSource mts, ARDOUR::MidiTempoMapDisposition mtd, Temporal::timepos_t &pos, std::shared_ptr< ARDOUR::PluginInfo > instrument=std::shared_ptr< ARDOUR::PluginInfo >(), std::shared_ptr< ARDOUR::Track > track=std::shared_ptr< ARDOUR::Track >(), bool with_markers=false)
PBD::Signal< void()> VisibleRangesChanged
Definition: editor.h:2294
ArdourCanvas::Rectangle * transport_punch_range_rect
Definition: editor.h:1847
void maybe_enable_cross_cursor()
void start_step_editing()
void set_snapped_cursor_position(Temporal::timepos_t const &pos)
bool enter_handler(ArdourCanvas::Item *, GdkEvent *, ItemType)
void edit_tempo_section(Temporal::TempoPoint &)
virtual bool have_idled() const
Definition: editor.h:171
void select_all_objects(ARDOUR::SelectionOperation op)
void get_regionview_corresponding_to(std::shared_ptr< ARDOUR::Region > region, std::vector< RegionView * > &regions)
void replace_chord(std::vector< int > intervals)
void set_selected_track_from_click(bool press, ARDOUR::SelectionOperation op=ARDOUR::SelectionSet, bool no_remove=false)
ARDOUR::Location * transport_punch_location()
Temporal::timepos_t effective_ripple_mark_start(std::shared_ptr< ARDOUR::Playlist > target_playlist, Temporal::timepos_t pos)
bool have_pending_keyboard_selection
Definition: editor.h:1430
Gtk::Menu * bbt_marker_menu
Definition: editor.h:1697
Gtk::VBox toolbar_clock_vbox
Definition: editor.h:1744
Editing::EditPoint edit_point() const
Definition: editor.h:1553
std::pair< TimeAxisView *, XMLNode * > TAVState
Definition: editor.h:536
void control_view(uint32_t)
void set_global_quantization(Editing::GridType)
Gtk::Menu track_context_menu
Definition: editor.h:738
void set_samples_per_pixel(samplecnt_t)
ArdourCanvas::Rectangle * range_bar_drag_rect
Definition: editor.h:1843
void unhide_ranges()
TrackViewList track_views
Definition: editor.h:1052
bool set_selected_regionview_from_click(bool press, ARDOUR::SelectionOperation op=ARDOUR::SelectionSet)
bool track_canvas_scroll(GdkEventScroll *event)
gint timecode_nmarks
Definition: editor.h:891
void set_selection_from_region()
void point_selection_changed()
Direction
Definition: editor.h:1008
@ LEFT
Definition: editor.h:1009
@ UP
Definition: editor.h:1011
@ RIGHT
Definition: editor.h:1010
@ DOWN
Definition: editor.h:1012
Width editor_mixer_strip_width
Definition: editor.h:297
bool canvas_ruler_event(GdkEvent *event, ArdourCanvas::Item *, ItemType)
bool canvas_selection_rect_event(GdkEvent *event, ArdourCanvas::Item *, SelectionRect *)
void create_editor_mixer()
bool show_editor_mixer_when_tracks_arrive
Definition: editor.h:1990
SoundFileOmega * sfbrowser
Definition: editor.h:1247
ArdourCanvas::Ruler * minsec_ruler
Definition: editor.h:900
void restore_ruler_visibility()
void control_vertical_zoom_in_selected()
void set_loop_from_selection(bool play)
void automation_lower_points()
void move_to_end()
void use_appropriate_mouse_mode_for_sections()
bool scroll_to_track_at_y(double y, bool skip_child_views=false)
void ripple_marks(std::shared_ptr< ARDOUR::Playlist > target_playlist, Temporal::timepos_t at, Temporal::timecnt_t const &distance)
gint real_remove_tempo_marker(Temporal::TempoPoint const *)
void trigger_script(int nth)
void control_vertical_zoom_out_all()
gint really_remove_region_marker(ArdourMarker *)
void keyboard_selection_begin(Editing::EditIgnoreOption=Editing::EDIT_IGNORE_NONE)
ArdourWidgets::ArdourButton _ruler_btn_loc_prev
Definition: editor.h:933
void remove_control_point(ArdourCanvas::Item *)
Temporal::timepos_t last_paste_pos
Definition: editor.h:1111
void add_instrument_routes(ARDOUR::RouteList &)
void add_command(PBD::Command *cmd)
EditorSnapshots * _snapshots
Definition: editor.h:1866
void update_section_rects()
void remove_selected_regions()
void set_xjadeo_proc()
AxisView * axis_view_by_stripable(std::shared_ptr< ARDOUR::Stripable >) const
void update_section_box()
void build_meter_marker_menu(MeterMarker *, bool)
void begin_reversible_command(GQuark)
void cursor_to_selection_start(EditorCursor *)
void scroll_playhead(bool forward)
ArdourWidgets::ArdourDropdown edit_mode_selector
Definition: editor.h:1763
void set_ripple_mode(ARDOUR::RippleMode)
ArdourCanvas::Duple upper_left() const
Glib::RefPtr< Gtk::Action > xjadeo_zoom_100
Definition: editor.h:951
void toggle_marker_lines()
void step_mouse_mode(bool next)
MarkerBarType visible_marker_types() const
void mid_tempo_per_region_update(RegionView *)
void set_selected_regionview_from_region_list(std::shared_ptr< ARDOUR::Region > region, ARDOUR::SelectionOperation op=ARDOUR::SelectionSet)
void rec_with_count_in()
void map_position_change(samplepos_t)
void mapped_use_new_playlist(RouteUI &, std::string name, std::string gid, bool copy, std::vector< std::shared_ptr< ARDOUR::Playlist > > const &)
bool track_canvas_key_press(GdkEventKey *)
void bring_in_callback(Gtk::Label *, uint32_t n, uint32_t total, std::string name)
MixerStrip * current_mixer_strip
Definition: editor.h:1989
void update_bring_in_message(Gtk::Label *label, uint32_t n, uint32_t total, std::string name)
void fade_range()
void edit_point_selection_done(Editing::EditPoint)
void remove_meter_marker(ArdourCanvas::Item *)
void combine_regions()
void cursor_align(bool playhead_to_edit)
bool should_ripple() const
RegionSelection get_regions_from_selection_and_entered() const
TimeAxisView * stepping_axis_view()
Definition: editor.h:432
static void * _import_pt_thread(void *)
void select_prev_stripable(bool routes_only=true)
void spectral_analyze_region_selection()
Glib::RefPtr< Gtk::RadioAction > loop_range_action
Definition: editor.h:854
void strip_region_silence()
void reassociate_tempo_marker(Temporal::TempoMap::SharedPtr const &tmap, Temporal::Tempos const &, TempoMarker &marker)
bool canvas_fade_out_handle_event(GdkEvent *event, ArdourCanvas::Item *, AudioRegionView *, bool trim=false)
void add_section_from_playhead()
void cursor_to_selection_end(EditorCursor *)
bool _tvl_no_redisplay
Definition: editor.h:1071
bool canvas_videotl_bar_event(GdkEvent *event, ArdourCanvas::Item *)
Glib::RefPtr< Gtk::ToggleAction > ruler_minsec_action
Definition: editor.h:835
void freeze_route()
Glib::RefPtr< Gtk::ToggleAction > ruler_marker_action
Definition: editor.h:843
Temporal::TimeDomain drag_time_domain(T *thing_with_time_domain)
Definition: editor.h:2237
void update_join_object_range_location(double)
void remove_tracks()
void line_drag_click(GdkEvent *, Temporal::timepos_t const &, double)
void track_canvas_viewport_allocate(Gtk::Allocation alloc)
void refresh_location_display()
void remove_location_at_playhead_cursor()
void cms_new(std::shared_ptr< ARDOUR::Route >)
void timeaxisview_deleted(TimeAxisView *)
void mouse_add_new_punch(Temporal::timepos_t)
std::list< VisualState * > redo_visual_stack
Definition: editor.h:549
void external_audio_dialog()
void commit_reversible_command()
int timefx_mode
Definition: editor.h:204
void drop_paths_part_two(const std::vector< std::string > &paths, Temporal::timepos_t const &sample, double ypos, bool copy)
void update_title()
TrackViewList get_tracks_for_range_action() const
void toggle_xjadeo_proc(int state=-1)
Gtk::Menu track_region_context_menu
Definition: editor.h:739
RegionLayeringOrderEditor * layering_order_editor
Definition: editor.h:2175
void goto_visual_state(uint32_t)
int plugin_setup(std::shared_ptr< ARDOUR::Route >, std::shared_ptr< ARDOUR::PluginInsert >, ARDOUR::Route::PluginSetupOptions)
Gtk::HBox _ruler_box_samples
Definition: editor.h:917
void collect_and_select_new_region_view(RegionView *)
Gtk::Widget * ruler_grabbed_widget
Definition: editor.h:858
void remove_metric_marks()
MainMenuDisabler * _main_menu_disabler
Definition: editor.h:2224
bool canvas_marker_event(GdkEvent *event, ArdourCanvas::Item *, ArdourMarker *)
TimeAxisView * clicked_axisview
Definition: editor.h:681
ARDOUR::InterThreadInfo * current_interthread_info
Definition: editor.h:1306
bool scroll_press(GdkEventButton *ev, Direction)
Gtk::Table toolbar_selection_clock_table
Definition: editor.h:1746
sigc::connection _scroll_connection
Definition: editor.h:1017
RegionView * regionview_from_region(std::shared_ptr< ARDOUR::Region >) const
void prepare_for_cleanup()
Gtk::Layout controls_layout
Definition: editor.h:1003
void scroll_tracks_up()
void cycle_marker_click_behavior()
void export_audio()
void do_timefx(bool fixed_end)
void keyboard_selection_finish(bool add, Editing::EditIgnoreOption=Editing::EDIT_IGNORE_NONE)
bool ignore_mouse_mode_toggle
Definition: editor.h:1754
void add_location_from_region()
sigc::connection super_rapid_screen_update_connection
Definition: editor.h:1075
void mapover_all_tracks_with_unique_playlists(sigc::slot< void, RouteTimeAxisView &, uint32_t >) const
void loudness_assistant(bool)
ArdourCanvas::Rectangle * transport_loop_range_rect
Definition: editor.h:1846
void set_region_sync_position()
void apply_filter(ARDOUR::Filter &, std::string cmd, ProgressReporter *progress=0)
void set_session(ARDOUR::Session *)
Gtk::Menu * editor_ruler_menu
Definition: editor.h:904
int64_t _last_event_time
Definition: editor.h:1442
bool nudge_forward_release(GdkEventButton *)
void toggle_solo()
void metric_get_samples(std::vector< ArdourCanvas::Ruler::Mark > &, int64_t, int64_t, gint)
PBD::ScopedConnectionList session_connections
Definition: editor.h:2027
ARDOUR::Quantize * get_quantize_op()
bool button_press_handler_2(ArdourCanvas::Item *, GdkEvent *, ItemType)
bool canvas_bg_event(GdkEvent *event, ArdourCanvas::Item *)
void catch_vanishing_regionview(RegionView *)
void get_onscreen_tracks(TrackViewList &)
ArdourCanvas::Rectangle * section_marker_bar
Definition: editor.h:910
samplepos_t leftmost_sample() const
Definition: editor.h:175
void loudness_analyze_range_selection()
void add_tempo_from_playhead_cursor()
void maybe_autoscroll(bool, bool, bool)
void maybe_edit_region_in_bottom_pane(RegionView &)
MarkerBarType _visible_marker_types
Definition: editor.h:2288
void surround_export()
void keyboard_paste()
ArdourWidgets::ArdourButton tav_shrink_button
Definition: editor.h:1734
void redisplay_grid(bool immediate_redraw)
void midi_view_selection_changed(SimpleMidiNoteSelection &selection)
bool button_release_dispatch(GdkEventButton *)
void mouse_add_new_tempo_event(Temporal::timepos_t where)
ArdourCanvas::GtkCanvas * _track_canvas
Definition: editor.h:774
void add_bbt_marker_at_playhead_cursor()
void redo_visual_state()
Gdk::Cursor * which_trim_cursor(bool left_side) const
void ruler_toggled(int)
void track_canvas_drag_data_received(const Glib::RefPtr< Gdk::DragContext > &context, gint x, gint y, const Gtk::SelectionData &data, guint info, guint time)
gint timecode_mark_modulo
Definition: editor.h:890
void split_region()
samplepos_t playhead_cursor_sample() const
void raise_region()
void automation_end_edit()
void edit_control_point(ArdourCanvas::Item *)
void selected_marker_to_previous_region_point(ARDOUR::RegionPoint)
void set_xjadeo_sensitive(bool onoff)
double get_y_origin() const
Gtk::Menu * edit_controls_left_menu
Definition: editor.h:1025
void toggle_ruler_visibility()
Selection & get_selection() const
Definition: editor.h:219
void marker_menu_separate_regions_using_location()
void add_region_drag(ArdourCanvas::Item *, GdkEvent *, RegionView *, bool copy)
bool canvas_playhead_cursor_event(GdkEvent *event, ArdourCanvas::Item *)
void store_ruler_visibility()
void marker_selection_changed()
Gtk::Menu * meter_marker_menu
Definition: editor.h:1696
Marks meter_marks
Definition: editor.h:1705
SelectionPropertiesBox * _properties_box
Definition: editor.h:534
void update_mark_and_range_visibility()
samplecnt_t _samples_ruler_interval
Definition: editor.h:894
Gtk::HBox _ruler_box_timecode
Definition: editor.h:916
ArdourCanvas::Rectangle * transport_bar_postroll_rect
Definition: editor.h:1845
void maybe_move_tracks()
void launch_playlist_selector()
sigc::connection step_edit_connection
Definition: editor.h:2171
void insert_patch_change(bool from_context)
void clear_tempo_markers()
Definition: editor.h:2248
void build_range_marker_menu(ARDOUR::Location *, bool, bool)
void do_import(std::vector< std::string > paths, bool split, bool as_tracks)
void access_action(const std::string &, const std::string &)
Gtk::VBox edit_controls_vbox
Definition: editor.h:1029
void set_punch_start_from_edit_point()
bool canvas_ruler_bar_event(GdkEvent *event, ArdourCanvas::Item *, ItemType, std::string const &)
ArdourWidgets::ArdourButton _ruler_btn_section_next
Definition: editor.h:937
bool left_track_canvas(GdkEventCrossing *)
Temporal::TempoMap::WritableSharedPtr begin_tempo_map_edit()
void write_selection()
static Gtk::Table * setup_ruler_new(Gtk::HBox &, std::vector< Gtk::Label * > &, std::string const &)
void insert_time(Temporal::timepos_t const &, Temporal::timecnt_t const &, Editing::InsertTimeOption, bool, bool, bool, bool)
void mapped_get_equivalent_regions(RouteTimeAxisView &, uint32_t, RegionView *, std::vector< RegionView * > *) const
int add_sources(std::vector< std::string > paths, ARDOUR::SourceList &sources, Temporal::timepos_t &pos, Editing::ImportDisposition disposition, Editing::ImportMode mode, int target_regions, int target_tracks, std::shared_ptr< ARDOUR::Track > &track, std::string const &pgroup_id, bool add_channel_suffix, std::shared_ptr< ARDOUR::PluginInfo > instrument=std::shared_ptr< ARDOUR::PluginInfo >())
ARDOUR::InterThreadInfo freeze_status
Definition: editor.h:1967
double clamp_verbose_cursor_y(double)
void add_new_location(ARDOUR::Location *)
void marker_menu_play_from()
void set_punch_from_selection()
Gtk::VBox scrollers_rulers_markers_box
Definition: editor.h:593
void stop_step_editing()
void selected_marker_to_selection_end()
void cursor_to_previous_region_point(EditorCursor *, ARDOUR::RegionPoint)
int32_t _visible_track_count
Definition: editor.h:1738
void refresh_location_display_internal(const ARDOUR::Locations::LocationList &)
void edit_region_in_dedicated_window()
Glib::RefPtr< Gtk::RadioAction > cd_marker_action
Definition: editor.h:847
void new_playlists_for_armed_tracks(bool copy)
void presentation_info_changed(PBD::PropertyChange const &)
std::map< Editing::GridType, Glib::RefPtr< Gtk::RadioAction > > quantization_actions
Definition: editor.h:2296
void start_canvas_autoscroll(bool allow_horiz, bool allow_vert, const ArdourCanvas::Rect &boundary)
void bounce_region_selection(bool with_processing)
void mapover_grouped_routes(sigc::slot< void, RouteUI & > sl, RouteUI *, PBD::PropertyID) const
Glib::RefPtr< Gtk::Action > register_region_action(Glib::RefPtr< Gtk::ActionGroup > group, Editing::RegionActionTarget, char const *name, char const *label, sigc::slot< void > slot)
double visible_canvas_height() const
Definition: editor.h:181
void ensure_time_axis_view_is_visible(TimeAxisView const &tav, bool at_top)
bool canvas_section_box_event(GdkEvent *event)
Gtk::VBox list_vpacker
Definition: editor.h:1065
void set_fade_in_shape(ARDOUR::FadeShape)
void selected_marker_to_region_point(ARDOUR::RegionPoint, int32_t dir)
void import_audio(bool as_tracks)
void rec_with_preroll()
RegionSelection region_selection()
void transport_looped()
void separate_under_selected_regions()
ArdourWidgets::ArdourButton _ruler_btn_loc_add
Definition: editor.h:935
void mapover_armed_routes(sigc::slot< void, RouteUI & > sl) const
EditorGroupTabs * _group_tabs
Definition: editor.h:2164
void create_region_from_selection(std::vector< std::shared_ptr< ARDOUR::Region > > &)
void loudness_analyze_region_selection()
void location_flags_changed(ARDOUR::Location *)
Gtk::HBox _ruler_box_tempo
Definition: editor.h:919
std::list< MetricMarker * > Marks
Definition: editor.h:1703
void escape()
EditorLocations * _locations
Definition: editor.h:1867
void new_playlists_for_grouped_tracks(RouteUI *v, bool copy)
void lower_region_to_bottom()
void current_mixer_strip_hidden()
void selected_marker_to_next_region_point(ARDOUR::RegionPoint)
void show_rhythm_ferret()
Gtk::MenuItem * _popup_region_menu_item
Definition: editor.h:754
void control_step_tracks_down()
void region_fill_selection()
void tempo_curve_selected(Temporal::TempoPoint const *ts, bool yn)
void reset_bbt_marks()
void clear_playlist(std::shared_ptr< ARDOUR::Playlist >)
void compute_current_bbt_points(Temporal::TempoMapPoints &grid, samplepos_t left, samplepos_t right)
ArdourCanvas::Rectangle * tempo_bar
Definition: editor.h:906
bool canvas_frame_handle_event(GdkEvent *event, ArdourCanvas::Item *, RegionView *)
void selected_marker_to_previous_region_boundary(bool with_selection)
ApplicationBar _application_bar
Definition: editor.h:773
Gtk::Dialog * lock_dialog
Definition: editor.h:1440
bool ignore_gui_changes
Definition: editor.h:1435
void toggle_midi_input_active(bool flip_others)
std::vector< std::string > edit_point_strings
Definition: editor.h:2075
void commit_tempo_mapping(Temporal::TempoMap::WritableSharedPtr &)
void add_location_from_playhead_cursor()
static void * _import_thread(void *)
ArdourCanvas::Rectangle * transport_preroll_rect
Definition: editor.h:1850
void marker_menu_set_from_selection(bool force_regions)
void add_selection_context_items(Gtk::Menu_Helpers::MenuList &, bool time_selection_only=false)
void undo_visual_state()
void measure_master_loudness(samplepos_t start, samplepos_t end, bool)
void set_punch_end_from_edit_point()
void make_meter_marker(Temporal::MeterPoint const *, Marks::iterator before)
Definition: Filter.h:21
bool get_active() const
const std::string & name() const
Definition: window_proxy.h:57
Definition: id.h:33
Representation of the interface of the Editor class.
Lists of selected things.
std::shared_ptr< TempoMap > WritableSharedPtr
std::shared_ptr< TempoMap const > SharedPtr
Definition: xml++.h:114
ItemType
Definition: editor_items.h:24
@ RegionItem
Definition: editor_items.h:25
std::set< NoteBase * > SimpleMidiNoteSelection
PBD::PropertyDescriptor< bool > regions
PBD::PropertyDescriptor< bool > region
PBD::PropertyDescriptor< timepos_t > start
std::list< samplepos_t > AnalysisFeatureList
std::vector< std::shared_ptr< Source > > SourceList
std::list< std::shared_ptr< Stripable > > StripableList
Temporal::samplecnt_t samplecnt_t
std::list< std::shared_ptr< Region > > RegionList
std::set< std::shared_ptr< Playlist > > PlaylistSet
std::list< std::shared_ptr< VCA > > VCAList
std::list< std::shared_ptr< Route > > RouteList
Temporal::samplepos_t samplepos_t
ZoomAxis
Definition: editing.h:261
CutCopyOp
Definition: editing.h:241
ImportDisposition
Definition: editing.h:176
EditPoint
Definition: editing.h:186
InsertTimeOption
Definition: editing.h:196
ImportMode
Definition: editing.h:156
GridType
Definition: editing.h:53
EditIgnoreOption
Definition: editing.h:254
@ EDIT_IGNORE_NONE
Definition: editing.h:255
MarkerClickBehavior
Definition: editing.h:217
ZoomFocus
Definition: editing.h:127
RegionActionTarget
Definition: editing.h:267
MouseMode
Definition: editing.h:99
Definition: editor.h:87
void flush()
void add(const Gtk::StockItem &item)
GQuark PropertyID
Transmitter info
int64_t microseconds_t
Definition: microseconds.h:28
std::vector< TempoMapPoint > TempoMapPoints
@ RoundNearest
Round to nearest.
boost::intrusive::list< TempoPoint, boost::intrusive::base_hook< tempo_hook > > Tempos
boost::intrusive::list< MeterPoint, boost::intrusive::base_hook< meter_hook > > Meters
boost::intrusive::list< MusicTimePoint, boost::intrusive::base_hook< bartime_hook > > MusicTimes
void split(std::string, std::vector< std::string > &, char)
Editing::ImportMode mode
Definition: editor.h:1328
std::shared_ptr< ARDOUR::Track > track
Definition: editor.h:1332
Temporal::timepos_t pos
Definition: editor.h:1329
void set_position(Temporal::timepos_t const &start, Temporal::timepos_t const &end=Temporal::timepos_t())
ArdourMarker * end
Definition: editor.h:624
void set_name(const std::string &)
ArdourMarker * start
Definition: editor.h:623
void set_color(std::string const &)
double current
Definition: editor.h:2264
RouteTimeAxisView * track
Definition: editor.h:2259
TrackDrag(RouteTimeAxisView *rtav, ARDOUR::Session &s)
Definition: editor.h:2271
TimeAxisView * bump_track
Definition: editor.h:2262
GdkCursor * drag_cursor
Definition: editor.h:2260
GdkCursor * predrag_cursor
Definition: editor.h:2261
bool have_predrag_cursor
Definition: editor.h:2266
double previous
Definition: editor.h:2265
samplepos_t _leftmost_sample
Definition: editor.h:543
double y_position
Definition: editor.h:541
VisualState(bool with_tracks)
samplecnt_t samples_per_pixel
Definition: editor.h:542
GUIObjectState * gui_state
Definition: editor.h:545
Editing::ZoomFocus zoom_focus
Definition: editor.h:544
gint height
Definition: xcursors.h:1