mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
trigger_ui: TriggerEntry is-a TriggerUI
This commit is contained in:
parent
ab92f205aa
commit
9180a985a4
5 changed files with 476 additions and 542 deletions
|
|
@ -61,6 +61,11 @@ public:
|
|||
|
||||
ARDOUR::TriggerReference trigger_reference() const { return tref; }
|
||||
ARDOUR::TriggerPtr trigger() const;
|
||||
ARDOUR::TriggerBox& triggerbox() const { return trigger()->box(); }
|
||||
|
||||
void choose_color ();
|
||||
void choose_sample ();
|
||||
void sample_chosen (int r);
|
||||
|
||||
private:
|
||||
void trigger_changed (PBD::PropertyChange const& ); //calls on_trigger_changed to subclasses
|
||||
|
|
@ -73,10 +78,6 @@ private:
|
|||
static void register_actions ();
|
||||
|
||||
protected:
|
||||
void choose_color ();
|
||||
void choose_sample ();
|
||||
void sample_chosen (int r);
|
||||
|
||||
/* all of this for name editing ... */
|
||||
bool namebox_button_press (GdkEventButton*);
|
||||
bool start_rename ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue