Implement ui:portIndex and ui:touch features.

Touch should allow custom plugin UIs to work properly with automation as the
generic UI does.  IIRC this was requested for mixbus, however, no current
plugin UI I am aware of implements it, so it is completely untested.


git-svn-id: svn://localhost/ardour2/branches/3.0@11888 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2012-04-11 04:53:47 +00:00
parent b017e2b236
commit d99311d21b
3 changed files with 35 additions and 2 deletions

View file

@ -94,6 +94,12 @@ class LV2PluginUI : public PlugUIBase, public Gtk::VBox
uint32_t format,
const void* buffer);
static uint32_t port_index(void* controller, const char* symbol);
static void touch(void* controller,
uint32_t port_index,
bool grabbed);
void update_timeout();
void lv2ui_instantiate(const std::string& title);