summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_sources.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-25 16:16:20 +0100
committerRobin Gareus <robin@gareus.org>2020-02-25 16:17:00 +0100
commita886f2bfcbb05c855d2c5b1cab9a71d60cc3e957 (patch)
treee89d9f2e298a1d56b127893968229cd85fdc768a /gtk2_ardour/editor_sources.h
parentf158d2064da5b137b3109d147c0d014f2a314a3e (diff)
Cleanup SourceList: remove unused copy/pasted region-list code
Diffstat (limited to 'gtk2_ardour/editor_sources.h')
-rw-r--r--gtk2_ardour/editor_sources.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/gtk2_ardour/editor_sources.h b/gtk2_ardour/editor_sources.h
index 05cc6ca3c6..95c5109227 100644
--- a/gtk2_ardour/editor_sources.h
+++ b/gtk2_ardour/editor_sources.h
@@ -36,28 +36,20 @@ public:
void set_session (ARDOUR::Session *);
- void set_selection (Selection *sel) { _selection = sel; }
-
Gtk::Widget& widget () {
return _scroller;
}
void clear ();
- void selection_mapover (sigc::slot<void,boost::shared_ptr<ARDOUR::Region> >);
-
boost::shared_ptr<ARDOUR::Region> get_dragged_region ();
boost::shared_ptr<ARDOUR::Region> get_single_selection ();
- void block_change_connection (bool b) {
- _change_connection.block (b);
- }
-
void unselect_all () {
_display.get_selection()->unselect_all ();
}
- //user actions
+ /* user actions */
void remove_selected_sources ();
void recover_selected_sources();
@@ -127,38 +119,22 @@ private:
void redisplay ();
- void suspend_redisplay () {
- _no_redisplay = true;
- }
-
- void resume_redisplay () {
- _no_redisplay = false;
- redisplay ();
- }
-
void drag_data_received (
Glib::RefPtr<Gdk::DragContext> const &, gint, gint, Gtk::SelectionData const &, guint, guint
);
- Gtk::Menu* _menu;
Gtk::ScrolledWindow _scroller;
- Gtk::Frame _frame;
Gtkmm2ext::DnDTreeView<boost::shared_ptr<ARDOUR::Region> > _display;
Glib::RefPtr<Gtk::TreeStore> _model;
- PBD::ScopedConnection source_property_connection;
PBD::ScopedConnection add_source_connection;
PBD::ScopedConnection remove_source_connection;
PBD::ScopedConnectionList remove_region_connections;
PBD::ScopedConnection editor_freeze_connection;
PBD::ScopedConnection editor_thaw_connection;
-
- Selection* _selection;
-
- bool _no_redisplay;
};
#endif