mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
triggerbox: add TriggerMaster widget to mixer strip
This commit is contained in:
parent
899c217511
commit
ce40f82cc4
6 changed files with 44 additions and 13 deletions
|
|
@ -32,6 +32,8 @@
|
|||
#include "canvas/canvas.h"
|
||||
#include "canvas/rectangle.h"
|
||||
|
||||
#include "fitted_canvas_widget.h"
|
||||
|
||||
namespace Gtk {
|
||||
class FileChooserDialog;
|
||||
class Menu;
|
||||
|
|
@ -60,9 +62,11 @@ class Loopster : public ArdourCanvas::Rectangle
|
|||
class TriggerMaster : public ArdourCanvas::Rectangle
|
||||
{
|
||||
public:
|
||||
TriggerMaster (ArdourCanvas::Item* canvas, boost::shared_ptr<ARDOUR::TriggerBox>);
|
||||
TriggerMaster (ArdourCanvas::Item* canvas);
|
||||
~TriggerMaster ();
|
||||
|
||||
void set_trigger(boost::shared_ptr<ARDOUR::TriggerBox>);
|
||||
|
||||
void render (ArdourCanvas::Rect const & area, Cairo::RefPtr<Cairo::Context> context) const;
|
||||
|
||||
void _size_allocate (ArdourCanvas::Rect const & alloc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue