diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 10:12:51 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 10:23:49 -0400 |
commit | ac008dac028cf86970c2b2604480beb87880e578 (patch) | |
tree | 8288774ce6ce39e66bb22f366b9820fa90cd0179 /gtk2_ardour/lv2_plugin_ui.h | |
parent | f806f059b3c229004cfbac50234062333fc38229 (diff) |
Clean up generic and LV2 plugin GUI to deal with ParameterChanged(Externally) alteration
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.h')
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.h b/gtk2_ardour/lv2_plugin_ui.h index 6a8acf9cf5..25ab4b9e30 100644 --- a/gtk2_ardour/lv2_plugin_ui.h +++ b/gtk2_ardour/lv2_plugin_ui.h @@ -26,6 +26,7 @@ #include <list> #include <map> +#include <set> #include <vector> #include <gtkmm/widget.h> @@ -64,7 +65,7 @@ class LV2PluginUI : public PlugUIBase, public Gtk::VBox private: - void parameter_changed (uint32_t, float); + void control_changed (uint32_t); typedef boost::shared_ptr<ARDOUR::AutomationControl> ControllableRef; @@ -85,6 +86,8 @@ class LV2PluginUI : public PlugUIBase, public Gtk::VBox LV2_Feature _parent_feature; Gtk::Window* _win_ptr; void* _inst; + typedef std::set<uint32_t> Updates; + Updates _updates; static void on_external_ui_closed(void* controller); |