mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
MCP: make vpots control pan width + direction/position
git-svn-id: svn://localhost/ardour2/branches/3.0@11904 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b98efa7893
commit
20d38b1c25
2 changed files with 21 additions and 11 deletions
|
|
@ -83,6 +83,11 @@ class MackieControlProtocol
|
|||
, public AbstractUI<MackieControlUIRequest>
|
||||
{
|
||||
public:
|
||||
static const int MODIFIER_OPTION;
|
||||
static const int MODIFIER_CONTROL;
|
||||
static const int MODIFIER_SHIFT;
|
||||
static const int MODIFIER_CMDALT;
|
||||
|
||||
MackieControlProtocol(ARDOUR::Session &);
|
||||
virtual ~MackieControlProtocol();
|
||||
|
||||
|
|
@ -279,6 +284,8 @@ class MackieControlProtocol
|
|||
ARDOUR::Session & get_session() { return *session; }
|
||||
|
||||
void add_in_use_timeout (Mackie::Surface& surface, Mackie::Control& in_use_control, Mackie::Control* touch_control);
|
||||
|
||||
int modifier_state();
|
||||
|
||||
protected:
|
||||
// shut down the surface
|
||||
|
|
@ -363,12 +370,6 @@ class MackieControlProtocol
|
|||
bool _scrub_mode;
|
||||
bool _flip_mode;
|
||||
int _current_selected_track;
|
||||
|
||||
static const int MODIFIER_OPTION;
|
||||
static const int MODIFIER_CONTROL;
|
||||
static const int MODIFIER_SHIFT;
|
||||
static const int MODIFIER_CMDALT;
|
||||
|
||||
int _modifier_state;
|
||||
|
||||
typedef std::list<GSource*> PortSources;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue