mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
triggerbox UI: clean up class heirachy for *TriggerPropertiesBox and catch trigger swaps
This commit is contained in:
parent
4be38042a2
commit
e3293db126
5 changed files with 45 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue