change class names and heirarchy for the GUI elements that will be used to edit/trim clips

This commit is contained in:
Paul Davis 2021-12-09 19:45:25 -07:00
parent 7426c96812
commit 12dc428a60
9 changed files with 81 additions and 211 deletions

View file

@ -37,7 +37,7 @@
#include "audio_region_operations_box.h"
#include "midi_region_operations_box.h"
#include "slot_properties_box.h"
#include "midi_region_trimmer_box.h"
#include "midi_clip_editor.h"
#include "ardour_ui.h"
#include "gui_thread.h"
@ -401,11 +401,11 @@ TriggerWindow::TriggerWindow (Trigger* slot)
if (slot->region()->data_type() == DataType::AUDIO) {
_prop_box = manage(new AudioRegionPropertiesBox ());
_ops_box = manage(new AudioRegionOperationsBox ());
_trim_box = manage(new AudioRegionTrimmerBox ());
_trim_box = manage(new AudioClipEditorBox ());
} else {
_prop_box = manage(new MidiRegionPropertiesBox ());
_ops_box = manage(new MidiRegionOperationsBox ());
_trim_box = manage(new MidiRegionTrimmerBox ());
_trim_box = manage(new MidiClipEditorBox ());
}
_prop_box->set_region(slot->region());