Ardour  9.0-pre0-582-g084a23a80d
CueEditor Class Reference

#include <cue_editor.h>

Inheritance diagram for CueEditor:
[legend]

Public Member Functions

 CueEditor (std::string const &name)
 
 ~CueEditor ()
 
void select_all_within (Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list< SelectableOwner * > const &, ARDOUR::SelectionOperation, bool)
 
void get_regionviews_by_id (PBD::ID const id, RegionSelection &regions) const
 
StripableTimeAxisViewget_stripable_time_axis_by_id (const PBD::ID &id) const
 
TrackViewList axis_views_from_routes (std::shared_ptr< ARDOUR::RouteList >) const
 
AxisViewaxis_view_by_stripable (std::shared_ptr< ARDOUR::Stripable >) const
 
AxisViewaxis_view_by_control (std::shared_ptr< ARDOUR::AutomationControl >) const
 
ARDOUR::Locationfind_location_from_marker (ArdourMarker *, bool &) const
 
ArdourMarkerfind_marker_from_location_id (PBD::ID const &, bool) const
 
TempoMarkerfind_marker_for_tempo (Temporal::TempoPoint const &)
 
MeterMarkerfind_marker_for_meter (Temporal::MeterPoint const &)
 
void maybe_autoscroll (bool, bool, bool from_headers)
 
void stop_canvas_autoscroll ()
 
bool autoscroll_active () const
 
void redisplay_grid (bool immediate_redraw)
 
Temporal::timecnt_t get_nudge_distance (Temporal::timepos_t const &pos, Temporal::timecnt_t &next) const
 
void instant_save ()
 
void begin_selection_op_history ()
 
void begin_reversible_selection_op (std::string cmd_name)
 
void commit_reversible_selection_op ()
 
void abort_reversible_selection_op ()
 
void undo_selection_op ()
 
void redo_selection_op ()
 
PBD::HistoryOwnerhistory ()
 
void history_changed ()
 
void add_command (PBD::Command *cmd)
 
void begin_reversible_command (std::string cmd_name)
 
void begin_reversible_command (GQuark gq)
 
void abort_reversible_command ()
 
void commit_reversible_command ()
 
double get_y_origin () const
 
void set_zoom_focus (Editing::ZoomFocus)
 
samplecnt_t get_current_zoom () const
 
virtual void set_samples_per_pixel (samplecnt_t)
 
void reposition_and_zoom (samplepos_t, double)
 
void set_mouse_mode (Editing::MouseMode, bool force=false)
 
void step_mouse_mode (bool next)
 
Editing::MouseMode current_mouse_mode () const
 
bool internal_editing () const
 
Gdk::Cursorget_canvas_cursor () const
 
MouseCursors const * cursors () const
 
void set_snapped_cursor_position (Temporal::timepos_t const &pos)
 
std::vector< MidiRegionView * > filter_to_unique_midi_region_views (RegionSelection const &ms) const
 
std::shared_ptr< Temporal::TempoMap const > start_local_tempo_map (std::shared_ptr< Temporal::TempoMap >)
 
void end_local_tempo_map (std::shared_ptr< Temporal::TempoMap const >)
 
- Public Member Functions inherited from EditingContext
 EditingContext (std::string const &)
 
 ~EditingContext ()
 
std::string editor_name () const
 
void set_session (ARDOUR::Session *)
 
Temporal::TimeDomain time_domain () const
 
DragManagerdrags () const
 
bool drag_active () const
 
bool preview_video_drag_active () const
 
virtual std::list< SelectableOwner * > selectable_owners ()=0
 
virtual ArdourCanvas::Duple upper_left () const
 
virtual void get_per_region_note_selection (std::list< std::pair< PBD::ID, std::set< std::shared_ptr< Evoral::Note< Temporal::Beats > > > > > &) const =0
 
EditorCursorplayhead_cursor () const
 
EditorCursorsnapped_cursor () const
 
Temporal::timecnt_t relative_distance (Temporal::timepos_t const &origin, Temporal::timecnt_t const &duration, Temporal::TimeDomain domain)
 
Temporal::timecnt_t snap_relative_time_to_relative_time (Temporal::timepos_t const &origin, Temporal::timecnt_t const &x, bool ensure_snap) const
 
void set_follow_playhead (bool yn, bool catch_up=true)
 
void toggle_follow_playhead ()
 
bool follow_playhead () const
 
Temporal::timepos_t get_preferred_edit_position (Editing::EditIgnoreOption eio=Editing::EDIT_IGNORE_NONE, bool use_context_click=false, bool from_outside_canvas=false)
 
virtual void set_selected_midi_region_view (MidiRegionView &)
 
samplecnt_t get_current_zoom () const
 
void temporal_zoom_step (bool zoom_out)
 
void temporal_zoom_step_scale (bool zoom_out, double scale)
 
void temporal_zoom_step_mouse_focus (bool zoom_out)
 
void temporal_zoom_step_mouse_focus_scale (bool zoom_out, double scale)
 
void calc_extra_zoom_edges (samplepos_t &start, samplepos_t &end)
 
void temporal_zoom (samplecnt_t samples_per_pixel)
 
void temporal_zoom_by_sample (samplepos_t start, samplepos_t end)
 
void temporal_zoom_to_sample (bool coarser, samplepos_t sample)
 
double timeline_origin () const
 
samplepos_t pixel_to_sample_from_event (double pixel) const
 
samplepos_t pixel_to_sample (double pixel) const
 
double sample_to_pixel (samplepos_t sample) const
 
double sample_to_pixel_unrounded (samplepos_t sample) const
 
double time_to_pixel (Temporal::timepos_t const &pos) const
 
double time_to_pixel_unrounded (Temporal::timepos_t const &pos) const
 
double time_delta_to_pixel (Temporal::timepos_t const &start, Temporal::timepos_t const &end) const
 
double duration_to_pixels (Temporal::timecnt_t const &pos) const
 
double duration_to_pixels_unrounded (Temporal::timecnt_t const &pos) const
 
samplecnt_t pixel_duration_to_samples (double pixels) const
 
double timeline_to_canvas (double p) const
 
double canvas_to_timeline (double p) const
 
Temporal::timepos_t canvas_event_time (GdkEvent const *, double *px=0, double *py=0) const
 
samplepos_t canvas_event_sample (GdkEvent const *event, double *pcx=nullptr, double *pcy=nullptr) const
 
virtual bool canvas_note_event (GdkEvent *event, ArdourCanvas::Item *)=0
 
virtual bool canvas_velocity_base_event (GdkEvent *event, ArdourCanvas::Item *)=0
 
virtual bool canvas_velocity_event (GdkEvent *event, ArdourCanvas::Item *)=0
 
virtual bool canvas_control_point_event (GdkEvent *event, ArdourCanvas::Item *, ControlPoint *)=0
 
virtual bool canvas_cue_start_event (GdkEvent *event, ArdourCanvas::Item *)
 
virtual bool canvas_cue_end_event (GdkEvent *event, ArdourCanvas::Item *)
 
Temporal::Beats get_grid_type_as_beats (bool &success, Temporal::timepos_t const &position) const
 
Temporal::Beats get_draw_length_as_beats (bool &success, Temporal::timepos_t const &position) const
 
int32_t get_grid_beat_divisions (Editing::GridType gt) const
 
int32_t get_grid_music_divisions (Editing::GridType gt, uint32_t event_state) const
 
Editing::GridType grid_type () const
 
bool grid_type_is_musical (Editing::GridType) const
 
bool grid_musical () const
 
void cycle_snap_mode ()
 
void next_grid_choice ()
 
void prev_grid_choice ()
 
void set_grid_to (Editing::GridType)
 
void set_snap_mode (Editing::SnapMode)
 
void set_draw_length_to (Editing::GridType)
 
void set_draw_velocity_to (int)
 
void set_draw_channel_to (int)
 
Editing::GridType draw_length () const
 
int draw_velocity () const
 
int draw_channel () const
 
Editing::SnapMode snap_mode () const
 
virtual void snap_to (Temporal::timepos_t &first, Temporal::RoundMode direction=Temporal::RoundNearest, ARDOUR::SnapPref pref=ARDOUR::SnapToAny_Visual, bool ensure_snap=false) const
 
virtual void snap_to_with_modifier (Temporal::timepos_t &first, GdkEvent const *ev, Temporal::RoundMode direction=Temporal::RoundNearest, ARDOUR::SnapPref gpref=ARDOUR::SnapToAny_Visual, bool ensure_snap=false) const
 
virtual Temporal::timepos_t snap_to_bbt (Temporal::timepos_t const &start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref) const
 
void reset_x_origin (samplepos_t)
 
void reset_y_origin (double)
 
void reset_zoom (samplecnt_t)
 
virtual void on_samples_per_pixel_changed ()
 
virtual void cycle_zoom_focus ()
 
Editing::ZoomFocus zoom_focus () const
 
virtual Selectionget_selection () const
 
virtual Selectionget_cut_buffer () const
 
void reset_point_selection ()
 
Editing::MouseMode current_mouse_mode () const
 
virtual Editing::MouseMode effective_mouse_mode () const
 
virtual bool get_smart_mode () const
 
void choose_canvas_cursor_on_entry (ItemType)
 
virtual VerboseCursorverbose_cursor () const
 
ARDOUR::Quantizeget_quantize_op ()
 
void apply_midi_note_edit_op (ARDOUR::MidiOperator &op, const RegionSelection &rs)
 
PBD::Commandapply_midi_note_edit_op_to_region (ARDOUR::MidiOperator &op, MidiView &mrv)
 
virtual void midi_action (void(MidiView::*method)())
 
std::vector< MidiView * > filter_to_unique_midi_region_views (RegionSelection const &ms) const
 
void quantize_region ()
 
void transform_region ()
 
void legatize_region (bool shrink_only)
 
void transpose_region ()
 
virtual ArdourCanvas::Containerget_trackview_group () const =0
 
virtual ArdourCanvas::Containerget_noscroll_group () const =0
 
virtual ArdourCanvas::ScrollGroupget_hscroll_group () const =0
 
virtual ArdourCanvas::ScrollGroupget_cursor_scroll_group () const =0
 
virtual bool canvas_playhead_cursor_event (GdkEvent *event, ArdourCanvas::Item *)
 
bool typed_event (ArdourCanvas::Item *, GdkEvent *, ItemType)
 
void set_horizontal_position (double)
 
double horizontal_position () const
 
virtual samplecnt_t current_page_samples () const =0
 
virtual ArdourCanvas::GtkCanvasViewportget_canvas_viewport () const =0
 
virtual ArdourCanvas::GtkCanvasget_canvas () const =0
 
virtual void mouse_mode_toggled (Editing::MouseMode)=0
 
bool on_velocity_scroll_event (GdkEventScroll *)
 
void pre_render ()
 
void select_automation_line (GdkEventButton *, ArdourCanvas::Item *, ARDOUR::SelectionOperation)
 
virtual Gdk::Cursorwhich_track_cursor () const =0
 
virtual Gdk::Cursorwhich_mode_cursor () const =0
 
virtual Gdk::Cursorwhich_trim_cursor (bool left_side) const =0
 
virtual Gdk::Cursorwhich_canvas_cursor (ItemType type) const =0
 
void undo (uint32_t n=1)
 
void redo (uint32_t n=1)
 
virtual void set_canvas_cursor (Gdk::Cursor *)
 
samplepos_t window_event_sample (GdkEvent const *, double *px=0, double *py=0) const
 
bool mouse_sample (samplepos_t &, bool &in_track_canvas) const
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from AxisViewProvider
virtual ~AxisViewProvider ()
 
- Public Member Functions inherited from PBD::HistoryOwner
 HistoryOwner (std::string const &name)
 
virtual ~HistoryOwner ()
 
void begin_reversible_command (const std::string &cmd_name)
 
void begin_reversible_command (GQuark)
 
void abort_reversible_command ()
 
void commit_reversible_command (PBD::Command *cmd=0)
 
void add_command (PBD::Command *const cmd)
 
PBD::StatefulDiffCommandadd_stateful_diff_command (std::shared_ptr< PBD::StatefulDestructible > sfd)
 
std::list< GQuark > const & current_operations ()
 
bool operation_in_progress (GQuark) const
 
bool collected_undo_commands () const
 
PBD::UndoTransactioncurrent_reversible_command ()
 
bool abort_empty_reversible_command ()
 
void add_commands (std::vector< PBD::Command * > const &cmds)
 
PBD::UndoHistoryundo_redo ()
 

Public Attributes

PBD::ScopedConnection history_connection
 
- Public Attributes inherited from EditingContext
sigc::signal< void > ZoomFocusChanged
 
sigc::signal< void > ZoomChanged
 
PBD::Signal< void()> SnapChanged
 
PBD::Signal< void()> MouseModeChanged
 
ArdourCanvas::Rectanglerubberband_rect
 

Protected Member Functions

void reset_x_origin_to_follow_playhead ()
 
void do_undo (uint32_t n)
 
void do_redo (uint32_t n)
 
std::pair< Temporal::timepos_t, Temporal::timepos_tmax_zoom_extent () const
 
Temporal::timepos_t _get_preferred_edit_position (Editing::EditIgnoreOption, bool use_context_click, bool from_outside_canvas)
 
- Protected Member Functions inherited from EditingContext
Glib::RefPtr< Gtk::RadioActiongrid_type_action (Editing::GridType)
 
Glib::RefPtr< Gtk::RadioActionsnap_mode_action (Editing::SnapMode)
 
void draw_length_changed ()
 
void draw_velocity_changed ()
 
void draw_channel_changed ()
 
void build_grid_type_menu ()
 
void build_draw_midi_menus ()
 
void grid_type_selection_done (Editing::GridType)
 
void snap_mode_selection_done (Editing::SnapMode)
 
void snap_mode_chosen (Editing::SnapMode)
 
void grid_type_chosen (Editing::GridType)
 
virtual void play_note_selection_clicked ()
 
virtual void note_mode_clicked ()
 
virtual void follow_playhead_clicked ()
 
virtual void full_zoom_clicked ()
 
virtual void set_visible_channel (int)
 
bool snap_mode_button_clicked (GdkEventButton *)
 
virtual void mark_region_boundary_cache_dirty ()
 
virtual void update_tempo_based_rulers ()
 
virtual void show_rulers_for_grid ()
 
virtual Editing::ZoomFocus effective_zoom_focus () const
 
Temporal::timepos_t _snap_to_bbt (Temporal::timepos_t const &start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref, Editing::GridType grid_type) const
 
virtual Temporal::timepos_t snap_to_grid (Temporal::timepos_t const &start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref) const =0
 
virtual void snap_to_internal (Temporal::timepos_t &first, Temporal::RoundMode direction=Temporal::RoundNearest, ARDOUR::SnapPref gpref=ARDOUR::SnapToAny_Visual, bool ensure_snap=false) const =0
 
void check_best_snap (Temporal::timepos_t const &presnap, Temporal::timepos_t &test, Temporal::timepos_t &dist, Temporal::timepos_t &best) const
 
virtual double visible_canvas_width () const =0
 
uint32_t count_bars (Temporal::Beats const &start, Temporal::Beats const &end) const
 
void compute_bbt_ruler_scale (samplepos_t lower, samplepos_t upper)
 
virtual bool button_press_handler (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
virtual bool button_press_handler_1 (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
virtual bool button_press_handler_2 (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
virtual bool button_release_handler (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
virtual bool button_press_dispatch (GdkEventButton *)=0
 
virtual bool button_release_dispatch (GdkEventButton *)=0
 
virtual bool motion_handler (ArdourCanvas::Item *, GdkEvent *, bool from_autoscroll=false)=0
 
virtual bool enter_handler (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
virtual bool leave_handler (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
virtual bool key_press_handler (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
virtual bool key_release_handler (ArdourCanvas::Item *, GdkEvent *, ItemType)=0
 
void popup_note_context_menu (ArdourCanvas::Item *, GdkEvent *)
 
XMLNodebutton_settings () const
 
virtual RegionSelection region_selection ()=0
 
void edit_notes (MidiView *)
 
void note_edit_done (int, EditNoteDialog *)
 
void quantize_regions (const RegionSelection &rs)
 
void legatize_regions (const RegionSelection &rs, bool shrink_only)
 
void transform_regions (const RegionSelection &rs)
 
void transpose_regions (const RegionSelection &rs)
 
virtual void register_actions ()=0
 
void register_grid_actions ()
 
Glib::RefPtr< Gtk::Actionget_mouse_mode_action (Editing::MouseMode m) const
 
void register_mouse_mode_actions ()
 
void bind_mouse_mode_buttons ()
 
virtual void add_mouse_mode_actions (Glib::RefPtr< Gtk::ActionGroup >)
 
void pack_draw_box ()
 
void pack_snap_box ()
 
void set_common_editing_state (XMLNode const &node)
 
void get_common_editing_state (XMLNode &node) const
 
int idle_visual_changer ()
 
void ensure_visual_change_idle_handler ()
 
virtual void visual_changer (const VisualChange &)=0
 
virtual void parameter_changed (std::string)
 
virtual void ui_parameter_changed (std::string)
 
virtual void set_entered_track (TimeAxisView *)
 
virtual void escape ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Additional Inherited Members

- Static Public Member Functions inherited from EditingContext
static MouseCursors const * cursors ()
 
static void register_midi_actions (Gtkmm2ext::Bindings *)
 
static void register_common_actions (Gtkmm2ext::Bindings *)
 
static void update_undo_redo_actions (PBD::UndoHistory const &)
 
static EditingContextcurrent_editing_context ()
 
static void switch_editing_context (EditingContext *)
 
- Static Public Attributes inherited from EditingContext
static sigc::signal< void > DropDownKeys
 
- Protected Types inherited from EditingContext
enum  BBTRulerScale {
  bbt_show_many , bbt_show_64 , bbt_show_16 , bbt_show_4 ,
  bbt_show_1 , bbt_show_quarters , bbt_show_eighths , bbt_show_sixteenths ,
  bbt_show_thirtyseconds , bbt_show_sixtyfourths , bbt_show_onetwentyeighths
}
 
- Static Protected Member Functions inherited from EditingContext
static Glib::RefPtr< Gtk::RadioActiondraw_length_action (Editing::GridType)
 
static Glib::RefPtr< Gtk::RadioActiondraw_velocity_action (int)
 
static Glib::RefPtr< Gtk::RadioActiondraw_channel_action (int)
 
static void draw_channel_chosen (int)
 
static void draw_velocity_chosen (int)
 
static void draw_length_chosen (Editing::GridType)
 
static void draw_channel_action_method (int)
 
static void draw_velocity_action_method (int)
 
static void draw_length_action_method (Editing::GridType)
 
static int _idle_visual_changer (void *arg)
 
static Glib::RefPtr< Gtk::Actionreg_sens (Glib::RefPtr< Gtk::ActionGroup > group, char const *name, char const *label, sigc::slot< void > slot)
 
static void toggle_reg_sens (Glib::RefPtr< Gtk::ActionGroup > group, char const *name, char const *label, sigc::slot< void > slot)
 
static void radio_reg_sens (Glib::RefPtr< Gtk::ActionGroup > action_group, Gtk::RadioAction::Group &radio_group, char const *name, char const *label, sigc::slot< void > slot)
 
- Protected Attributes inherited from EditingContext
std::string _name
 
bool within_track_canvas
 
Editing::GridType pre_internal_grid_type
 
Editing::SnapMode pre_internal_snap_mode
 
Editing::GridType internal_grid_type
 
Editing::SnapMode internal_snap_mode
 
Editing::GridType _grid_type
 
Editing::SnapMode _snap_mode
 
double _timeline_origin
 
ArdourWidgets::ArdourDropdown grid_type_selector
 
ArdourWidgets::ArdourDropdown draw_length_selector
 
ArdourWidgets::ArdourDropdown draw_velocity_selector
 
ArdourWidgets::ArdourDropdown draw_channel_selector
 
ArdourWidgets::ArdourButton play_note_selection_button
 
ArdourWidgets::ArdourButton note_mode_button
 
ArdourWidgets::ArdourButton follow_playhead_button
 
ArdourWidgets::ArdourButton full_zoom_button
 
Gtk::Label visible_channel_label
 
ArdourWidgets::ArdourDropdown visible_channel_selector
 
DragManager_drags
 
ArdourWidgets::ArdourButton snap_mode_button
 
samplepos_t _leftmost_sample
 
EditorCursor_playhead_cursor
 
EditorCursor_snapped_cursor
 
bool _follow_playhead
 
Selectionselection
 
Selectioncut_buffer
 
SelectionMemento_selection_memento
 
std::list< XMLNode * > before
 
VerboseCursor_verbose_cursor
 
samplecnt_t samples_per_pixel
 
Editing::ZoomFocus _zoom_focus
 
BBTRulerScale bbt_ruler_scale
 
uint32_t bbt_bars
 
uint32_t bbt_bar_helper_on
 
double _track_canvas_width
 
double _visible_canvas_width
 
double _visible_canvas_height
 height of the visible area of the track canvas More...
 
QuantizeDialogquantize_dialog
 
Gtk::Menu _note_context_menu
 
Gtk::Adjustment vertical_adjustment
 
Gtk::Adjustment horizontal_adjustment
 
ArdourWidgets::ArdourButton mouse_select_button
 
ArdourWidgets::ArdourButton mouse_timefx_button
 
ArdourWidgets::ArdourButton mouse_grid_button
 
ArdourWidgets::ArdourButton mouse_cut_button
 
ArdourWidgets::ArdourButton mouse_move_button
 
ArdourWidgets::ArdourButton mouse_draw_button
 
ArdourWidgets::ArdourButton mouse_content_button
 
Glib::RefPtr< Gtk::ActionGroupeditor_actions
 
Gtk::HBox snap_box
 
Gtk::HBox grid_box
 
Gtk::HBox draw_box
 
ArdourWidgets::ArdourVSpacer _grid_box_spacer
 
ArdourWidgets::ArdourVSpacer _draw_box_spacer
 
Gtkmm2ext::Bindingsbindings
 
Editing::MouseMode mouse_mode
 
VisualChange pending_visual_change
 
bool visual_change_queued
 
sigc::connection autoscroll_connection
 
bool autoscroll_horizontal_allowed
 
bool autoscroll_vertical_allowed
 
uint32_t autoscroll_cnt
 
ArdourCanvas::Rect autoscroll_boundary
 
PBD::ScopedConnectionList parameter_connections
 
bool _mouse_changed_selection
 
ArdourMarkerentered_marker
 
TimeAxisViewentered_track
 
RegionViewentered_regionview
 
bool clear_entered_track
 
PBD::ScopedConnection escape_connection
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 
- Protected Attributes inherited from PBD::HistoryOwner
std::string _name
 
PBD::UndoHistory _history
 
PBD::UndoTransaction_current_trans
 
std::list< GQuark > _current_trans_quarks
 
- Static Protected Attributes inherited from EditingContext
static Glib::RefPtr< Gtk::ActionGroup_midi_actions
 
static Glib::RefPtr< Gtk::ActionGroup_common_actions
 
static std::vector< std::string > grid_type_strings
 
static Editing::GridType _draw_length
 
static int _draw_velocity
 
static int _draw_channel
 
static sigc::signal< void > DrawLengthChanged
 
static sigc::signal< void > DrawVelocityChanged
 
static sigc::signal< void > DrawChannelChanged
 
static MouseCursors_cursors
 
static Gtkmm2ext::Bindingsbutton_bindings
 
static Glib::RefPtr< Gtk::Actionundo_action
 
static Glib::RefPtr< Gtk::Actionredo_action
 
static Glib::RefPtr< Gtk::Actionalternate_redo_action
 
static Glib::RefPtr< Gtk::Actionalternate_alternate_redo_action
 
static EditingContext_current_editing_context
 

Detailed Description

Definition at line 26 of file cue_editor.h.

Constructor & Destructor Documentation

◆ CueEditor()

CueEditor::CueEditor ( std::string const &  name)

◆ ~CueEditor()

CueEditor::~CueEditor ( )

Member Function Documentation

◆ _get_preferred_edit_position()

Temporal::timepos_t CueEditor::_get_preferred_edit_position ( Editing::EditIgnoreOption  ,
bool  use_context_click,
bool  from_outside_canvas 
)
protectedvirtual

Implements EditingContext.

◆ abort_reversible_command()

void CueEditor::abort_reversible_command ( )
inlinevirtual

Implements EditingContext.

Definition at line 68 of file cue_editor.h.

◆ abort_reversible_selection_op()

void CueEditor::abort_reversible_selection_op ( )
virtual

Implements EditingContext.

◆ add_command()

void CueEditor::add_command ( PBD::Command cmd)
inlinevirtual

Implements EditingContext.

Definition at line 65 of file cue_editor.h.

◆ autoscroll_active()

bool CueEditor::autoscroll_active ( ) const
virtual

Implements EditingContext.

Reimplemented in MidiCueEditor.

◆ axis_view_by_control()

AxisView* CueEditor::axis_view_by_control ( std::shared_ptr< ARDOUR::AutomationControl ) const
inlinevirtual

Implements AxisViewProvider.

Definition at line 38 of file cue_editor.h.

◆ axis_view_by_stripable()

AxisView* CueEditor::axis_view_by_stripable ( std::shared_ptr< ARDOUR::Stripable ) const
inlinevirtual

Implements AxisViewProvider.

Definition at line 37 of file cue_editor.h.

◆ axis_views_from_routes()

TrackViewList CueEditor::axis_views_from_routes ( std::shared_ptr< ARDOUR::RouteList ) const
virtual

Implements EditingContext.

◆ begin_reversible_command() [1/2]

void CueEditor::begin_reversible_command ( GQuark  gq)
inlinevirtual

Implements EditingContext.

Definition at line 67 of file cue_editor.h.

◆ begin_reversible_command() [2/2]

void CueEditor::begin_reversible_command ( std::string  cmd_name)
inlinevirtual

Implements EditingContext.

Definition at line 66 of file cue_editor.h.

◆ begin_reversible_selection_op()

void CueEditor::begin_reversible_selection_op ( std::string  cmd_name)
virtual

Implements EditingContext.

◆ begin_selection_op_history()

void CueEditor::begin_selection_op_history ( )
virtual

Implements EditingContext.

◆ commit_reversible_command()

void CueEditor::commit_reversible_command ( )
inlinevirtual

Implements EditingContext.

Definition at line 69 of file cue_editor.h.

◆ commit_reversible_selection_op()

void CueEditor::commit_reversible_selection_op ( )
virtual

Implements EditingContext.

◆ current_mouse_mode()

Editing::MouseMode CueEditor::current_mouse_mode ( ) const
Returns
The current mouse mode (gain, object, range, timefx etc.) (defined in editing_syms.inc.h)

◆ cursors()

MouseCursors const* CueEditor::cursors ( ) const
inline

Definition at line 91 of file cue_editor.h.

◆ do_redo()

void CueEditor::do_redo ( uint32_t  n)
protectedvirtual

Implements EditingContext.

◆ do_undo()

void CueEditor::do_undo ( uint32_t  n)
protectedvirtual

Implements EditingContext.

◆ end_local_tempo_map()

void CueEditor::end_local_tempo_map ( std::shared_ptr< Temporal::TempoMap const >  )
virtual

Reimplemented from EditingContext.

◆ filter_to_unique_midi_region_views()

std::vector<MidiRegionView*> CueEditor::filter_to_unique_midi_region_views ( RegionSelection const &  ms) const

◆ find_location_from_marker()

ARDOUR::Location* CueEditor::find_location_from_marker ( ArdourMarker ,
bool &   
) const
virtual

Implements EditingContext.

◆ find_marker_for_meter()

MeterMarker* CueEditor::find_marker_for_meter ( Temporal::MeterPoint const &  )
virtual

Implements EditingContext.

◆ find_marker_for_tempo()

TempoMarker* CueEditor::find_marker_for_tempo ( Temporal::TempoPoint const &  )
virtual

Implements EditingContext.

◆ find_marker_from_location_id()

ArdourMarker* CueEditor::find_marker_from_location_id ( PBD::ID const &  ,
bool   
) const
virtual

Implements EditingContext.

◆ get_canvas_cursor()

Gdk::Cursor* CueEditor::get_canvas_cursor ( ) const
virtual

Reimplemented from EditingContext.

◆ get_current_zoom()

samplecnt_t CueEditor::get_current_zoom ( ) const

◆ get_nudge_distance()

Temporal::timecnt_t CueEditor::get_nudge_distance ( Temporal::timepos_t const &  pos,
Temporal::timecnt_t next 
) const
virtual

Implements EditingContext.

◆ get_regionviews_by_id()

void CueEditor::get_regionviews_by_id ( PBD::ID const  id,
RegionSelection regions 
) const
virtual

Implements EditingContext.

◆ get_stripable_time_axis_by_id()

StripableTimeAxisView* CueEditor::get_stripable_time_axis_by_id ( const PBD::ID id) const
virtual

Implements EditingContext.

◆ get_y_origin()

double CueEditor::get_y_origin ( ) const
virtual

Implements EditingContext.

◆ history()

PBD::HistoryOwner& CueEditor::history ( )
inlinevirtual

Implements EditingContext.

Definition at line 61 of file cue_editor.h.

◆ history_changed()

void CueEditor::history_changed ( )
virtual

Implements EditingContext.

◆ instant_save()

void CueEditor::instant_save ( )
virtual

Implements EditingContext.

◆ internal_editing()

bool CueEditor::internal_editing ( ) const
inlinevirtual

cue editors are always used for internal editing

Implements EditingContext.

Reimplemented in MidiCueEditor.

Definition at line 88 of file cue_editor.h.

◆ max_zoom_extent()

std::pair<Temporal::timepos_t,Temporal::timepos_t> CueEditor::max_zoom_extent ( ) const
protectedvirtual

Implements EditingContext.

◆ maybe_autoscroll()

void CueEditor::maybe_autoscroll ( bool  ,
bool  ,
bool  from_headers 
)
virtual

Implements EditingContext.

Reimplemented in MidiCueEditor.

◆ redisplay_grid()

void CueEditor::redisplay_grid ( bool  immediate_redraw)
virtual

Implements EditingContext.

◆ redo_selection_op()

void CueEditor::redo_selection_op ( )
virtual

Implements EditingContext.

◆ reposition_and_zoom()

void CueEditor::reposition_and_zoom ( samplepos_t  ,
double   
)
virtual

Implements EditingContext.

◆ reset_x_origin_to_follow_playhead()

void CueEditor::reset_x_origin_to_follow_playhead ( )
protectedvirtual

Implements EditingContext.

◆ select_all_within()

void CueEditor::select_all_within ( Temporal::timepos_t const &  ,
Temporal::timepos_t const &  ,
double  ,
double  ,
std::list< SelectableOwner * > const &  ,
ARDOUR::SelectionOperation  ,
bool   
)
virtual

Implements EditingContext.

◆ set_mouse_mode()

void CueEditor::set_mouse_mode ( Editing::MouseMode  ,
bool  force = false 
)
virtual

Set the mouse mode (gain, object, range, timefx etc.)

Parameters
mMouse mode (defined in editing_syms.inc.h)
forcePerform the effects of the change even if no change is required (ie even if the current mouse mode is equal to m)

Reimplemented from EditingContext.

Reimplemented in MidiCueEditor.

◆ set_samples_per_pixel()

virtual void CueEditor::set_samples_per_pixel ( samplecnt_t  )
virtual

Implements EditingContext.

Reimplemented in MidiCueEditor.

◆ set_snapped_cursor_position()

void CueEditor::set_snapped_cursor_position ( Temporal::timepos_t const &  pos)
virtual

Implements EditingContext.

◆ set_zoom_focus()

void CueEditor::set_zoom_focus ( Editing::ZoomFocus  )
virtual

Implements EditingContext.

◆ start_local_tempo_map()

std::shared_ptr<Temporal::TempoMap const> CueEditor::start_local_tempo_map ( std::shared_ptr< Temporal::TempoMap )
virtual

Reimplemented from EditingContext.

◆ step_mouse_mode()

void CueEditor::step_mouse_mode ( bool  next)
virtual

Step the mouse mode onto the next or previous one.

Parameters
nexttrue to move to the next, otherwise move to the previous

Implements EditingContext.

Reimplemented in MidiCueEditor.

◆ stop_canvas_autoscroll()

void CueEditor::stop_canvas_autoscroll ( )
virtual

Implements EditingContext.

Reimplemented in MidiCueEditor.

◆ undo_selection_op()

void CueEditor::undo_selection_op ( )
virtual

Implements EditingContext.

Member Data Documentation

◆ history_connection

PBD::ScopedConnection CueEditor::history_connection

Definition at line 63 of file cue_editor.h.


The documentation for this class was generated from the following file: