mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
editor window layout changes, and lots more
git-svn-id: svn://localhost/trunk/ardour2@187 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
088a5289dc
commit
3733c995c5
26 changed files with 390 additions and 593 deletions
|
|
@ -94,33 +94,6 @@ Editor::export_region ()
|
|||
dialog->start_export();
|
||||
}
|
||||
|
||||
void
|
||||
Editor::write_a_region ()
|
||||
{
|
||||
if (clicked_regionview == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
FileSelection file_selector;
|
||||
|
||||
file_selector.get_selection_entry()->signal_activate().connect (sigc::bind (mem_fun(*this, &Editor::finish_sub_event_loop), 1));
|
||||
file_selector.get_cancel_button()->signal_clicked().connect (bind (mem_fun(*this, &Editor::finish_sub_event_loop), -1));
|
||||
file_selector.get_ok_button()->signal_clicked().connect (bind (mem_fun(*this, &Editor::finish_sub_event_loop), 1));
|
||||
file_selector.signal_delete_event().connect (bind (mem_fun(*this, &Editor::finish_sub_event_loop_on_delete), -1));
|
||||
|
||||
file_selector.show_all();
|
||||
|
||||
run_sub_event_loop ();
|
||||
|
||||
if (sub_event_loop_status == 1) {
|
||||
string path = file_selector.get_filename();
|
||||
printf ("got region: %s\n", path.c_str());
|
||||
if (path.length()) {
|
||||
write_region (path, clicked_regionview->region);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
Editor::write_region_selection (AudioRegionSelection& regions)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue