13
0

editor: add clip-picker list to the editor

This commit is contained in:
Ben Loftis 2022-03-15 08:59:10 -05:00
parent 5802fd52eb
commit 2a611f1d40
2 changed files with 5 additions and 0 deletions

View File

@ -694,6 +694,7 @@ Editor::Editor ()
add_notebook_page (_("Tracks & Busses"), _routes->widget ());
add_notebook_page (_("Sources"), _sources->widget ());
add_notebook_page (_("Regions"), _regions->widget ());
add_notebook_page (_("Clips"), _trigger_clip_picker);
add_notebook_page (_("Snapshots"), _snapshots->widget ());
add_notebook_page (_("Track & Bus Groups"), _route_groups->widget ());
add_notebook_page (_("Ranges & Marks"), _locations->widget ());
@ -1335,6 +1336,7 @@ Editor::set_session (Session *t)
_route_groups->set_session (_session);
_regions->set_session (_session);
_sources->set_session (_session);
_trigger_clip_picker.set_session (_session);
_snapshots->set_session (_session);
_routes->set_session (_session);
_locations->set_session (_session);

View File

@ -73,6 +73,7 @@
#include "editor_items.h"
#include "region_selection.h"
#include "selection_memento.h"
#include "trigger_clip_picker.h"
#include "tempo_curve.h"
#include "ptformat/ptformat.h"
@ -1172,6 +1173,8 @@ private:
Gtk::VBox edit_controls_vbox;
Gtk::HBox edit_controls_hbox;
TriggerClipPicker _trigger_clip_picker;
void control_vertical_zoom_in_all ();
void control_vertical_zoom_out_all ();
void control_vertical_zoom_in_selected ();