Ardour  8.7-15-gadf511264b
EditorSources Class Reference

#include <editor_sources.h>

Inheritance diagram for EditorSources:
[legend]

Public Member Functions

 EditorSources (Editor *)
 
std::shared_ptr< ARDOUR::Regionget_single_selection ()
 
void remove_selected_sources ()
 
void recover_selected_sources ()
 
- Public Member Functions inherited from EditorComponent
 EditorComponent (Editor *)
 
virtual ~EditorComponent ()
 
- Public Member Functions inherited from SourceListBase
 SourceListBase ()
 
void set_session (ARDOUR::Session *)
 
- Public Member Functions inherited from RegionListBase
 RegionListBase ()
 
Gtk::Widgetwidget ()
 
void clear ()
 
void redisplay ()
 
void suspend_redisplay ()
 
void resume_redisplay ()
 
void block_change_connection (bool b)
 
void unselect_all ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 

Private Member Functions

void init ()
 
bool key_press (GdkEventKey *)
 
bool button_press (GdkEventButton *)
 
void show_context_menu (int button, int time)
 
void selection_changed ()
 
void drag_data_received (Glib::RefPtr< Gdk::DragContext > const &, gint, gint, Gtk::SelectionData const &, guint, guint)
 

Additional Inherited Members

- Protected Types inherited from RegionListBase
typedef boost::unordered_map< std::shared_ptr< ARDOUR::Region >, Gtk::TreeModel::iteratorRegionRowMap
 
- Protected Member Functions inherited from SourceListBase
void name_edit (const std::string &, const std::string &)
 
void tag_edit (const std::string &, const std::string &)
 
bool list_region (std::shared_ptr< ARDOUR::Region >) const
 
- Protected Member Functions inherited from RegionListBase
void add_name_column ()
 
void add_tag_column ()
 
template<class T >
Gtk::TreeViewColumnappend_col (Gtk::TreeModelColumn< T > const &col, int width)
 
template<class T >
Gtk::TreeViewColumnappend_col (Gtk::TreeModelColumn< T > const &col, std::string const &sizing_text)
 
void setup_col (Gtk::TreeViewColumn *, int, Gtk::AlignmentEnum, const char *, const char *, bool require_mod_to_edit=false)
 
void setup_toggle (Gtk::TreeViewColumn *, sigc::slot< void, std::string >)
 
void freeze_tree_model ()
 
void thaw_tree_model ()
 
void remove_weak_region (std::weak_ptr< ARDOUR::Region >)
 
virtual void regions_changed (std::shared_ptr< ARDOUR::RegionList >, PBD::PropertyChange const &)
 
void name_editing_started (Gtk::CellEditable *, const Glib::ustring &)
 
void name_editing_canceled ()
 
void tag_editing_started (Gtk::CellEditable *, const Glib::ustring &)
 
void tag_editing_canceled ()
 
void locked_changed (std::string const &)
 
void muted_changed (std::string const &)
 
void opaque_changed (std::string const &)
 
bool focus_in (GdkEventFocus *)
 
bool focus_out (GdkEventFocus *)
 
bool enter_notify (GdkEventCrossing *)
 
bool leave_notify (GdkEventCrossing *)
 
void format_position (Temporal::timepos_t const &pos, char *buf, size_t bufsize, bool onoff=true) const
 
void add_region (std::shared_ptr< ARDOUR::Region >)
 
void populate_row (std::shared_ptr< ARDOUR::Region >, Gtk::TreeModel::Row const &, PBD::PropertyChange const &)
 
void populate_row_used (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_position (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_end (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_sync (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_fade_in (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row, std::shared_ptr< ARDOUR::AudioRegion >)
 
void populate_row_fade_out (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row, std::shared_ptr< ARDOUR::AudioRegion >)
 
void populate_row_locked (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_muted (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_opaque (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_length (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_name (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_source (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void clock_format_changed ()
 
void drag_begin (Glib::RefPtr< Gdk::DragContext > const &)
 
void drag_end (Glib::RefPtr< Gdk::DragContext > const &)
 
void drag_data_get (Glib::RefPtr< Gdk::DragContext > const &, Gtk::SelectionData &, guint, guint)
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from EditorComponent
Editor_editor
 
- Protected Attributes inherited from RegionListBase
Columns _columns
 
int _sort_col_id
 
Gtk::SortType _sort_type
 
Gtk::CellEditable_name_editable
 
Gtk::CellEditable_tags_editable
 
Gtk::Widget_old_focus
 
Gtk::ScrolledWindow _scroller
 
Gtk::Frame _frame
 
Gtkmm2ext::DnDTreeView< std::shared_ptr< ARDOUR::Region > > _display
 
Glib::RefPtr< Gtk::TreeStore_model
 
bool _no_redisplay
 
RegionRowMap region_row_map
 
sigc::connection _change_connection
 
PBD::ScopedConnection _editor_freeze_connection
 
PBD::ScopedConnection _editor_thaw_connection
 
PBD::ScopedConnectionList _remove_region_connections
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 24 of file editor_sources.h.

Constructor & Destructor Documentation

◆ EditorSources()

EditorSources::EditorSources ( Editor )

Member Function Documentation

◆ button_press()

bool EditorSources::button_press ( GdkEventButton )
privatevirtual

Reimplemented from RegionListBase.

◆ drag_data_received()

void EditorSources::drag_data_received ( Glib::RefPtr< Gdk::DragContext > const &  ,
gint  ,
gint  ,
Gtk::SelectionData const &  ,
guint  ,
guint   
)
private

◆ get_single_selection()

std::shared_ptr<ARDOUR::Region> EditorSources::get_single_selection ( )

◆ init()

void EditorSources::init ( )
private

◆ key_press()

bool EditorSources::key_press ( GdkEventKey )
privatevirtual

Reimplemented from RegionListBase.

◆ recover_selected_sources()

void EditorSources::recover_selected_sources ( )

◆ remove_selected_sources()

void EditorSources::remove_selected_sources ( )

◆ selection_changed()

void EditorSources::selection_changed ( )
private

◆ show_context_menu()

void EditorSources::show_context_menu ( int  button,
int  time 
)
private

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