diff options
author | David Robillard <d@drobilla.net> | 2012-04-11 04:53:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-11 04:53:47 +0000 |
commit | d99311d21ba47338920abdb0acf3f95cf9ad8639 (patch) | |
tree | 87c6172311e9f0f5b58b7e55803f741150702bc3 /gtk2_ardour/lv2_plugin_ui.h | |
parent | b017e2b236694bdec6ad6b8475f0c72b1167e454 (diff) |
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
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.h')
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.h b/gtk2_ardour/lv2_plugin_ui.h index e90b27cf8f..a989213146 100644 --- a/gtk2_ardour/lv2_plugin_ui.h +++ b/gtk2_ardour/lv2_plugin_ui.h @@ -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); |