mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
triggerbox: display pass_thru state and allow control via context menu
This commit is contained in:
parent
ce40f82cc4
commit
f4009e0e09
2 changed files with 87 additions and 3 deletions
|
|
@ -59,6 +59,8 @@ class Loopster : public ArdourCanvas::Rectangle
|
|||
float _fraction;
|
||||
};
|
||||
|
||||
class PassThru;
|
||||
|
||||
class TriggerMaster : public ArdourCanvas::Rectangle
|
||||
{
|
||||
public:
|
||||
|
|
@ -73,12 +75,14 @@ class TriggerMaster : public ArdourCanvas::Rectangle
|
|||
|
||||
ArdourCanvas::Text* name_text;
|
||||
|
||||
void toggle_thru ();
|
||||
void maybe_update ();
|
||||
bool event_handler (GdkEvent*);
|
||||
void selection_change ();
|
||||
|
||||
private:
|
||||
Loopster* _loopster;
|
||||
PassThru* _passthru;
|
||||
|
||||
Gtk::Menu* _context_menu;
|
||||
void context_menu ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue