triggerbox UI: clean up class heirachy for *TriggerPropertiesBox and catch trigger swaps

This commit is contained in:
Paul Davis 2022-01-01 16:18:50 -07:00
parent 4be38042a2
commit e3293db126
5 changed files with 45 additions and 26 deletions

View file

@ -34,16 +34,13 @@ public:
void set_trigger (ARDOUR::TriggerReference);
private:
protected:
void trigger_changed (const PBD::PropertyChange& what_changed);
boost::shared_ptr<ARDOUR::MIDITrigger> _trigger;
Gtk::Label _header_label;
private:
ArdourWidgets::ArdourButton _patch_enable_button;
ArdourWidgets::ArdourButton _cc_enable_button;
PBD::ScopedConnection _midi_state_connection;
};
#endif