summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-18 05:00:44 +0000
committerDavid Robillard <d@drobilla.net>2011-05-18 05:00:44 +0000
commit041c8821438b2c6a83e1513fa2aedf7bbb8cbffd (patch)
tree9202118e6255d689b9c89a4767cd7da864d865a7 /libs
parent424b3479de067375d28bb867aafe33316dd0ce17 (diff)
Add 'controls' item to plugin insert context menu to always show Ardour generated controls for plugin, even if the plugin has a GUI. In particular, this gives you UI access to presets and the other handy stuff ardour sticks at the top, for inherently broken external UIs which don't allow Ardour to add such things.
Fix crash related to scale points when showing plugin UIs. Fix packing of scrolled generic plugin UI so the controls expand (rather than leaving a ton of wasted empty space and using unnecessary scroll bars). git-svn-id: svn://localhost/ardour2/branches/3.0@9551 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/plugin_insert.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h
index a0e2e19a13..feab43bac7 100644
--- a/libs/ardour/ardour/plugin_insert.h
+++ b/libs/ardour/ardour/plugin_insert.h
@@ -57,7 +57,7 @@ class PluginInsert : public Processor
void activate ();
void deactivate ();
- void flush ();
+ void flush ();
int set_block_size (pframes_t nframes);
@@ -83,13 +83,13 @@ class PluginInsert : public Processor
void set_value (double val);
double get_value (void) const;
- XMLNode& get_state();
+ XMLNode& get_state();
double user_to_ui (double) const;
double ui_to_user (double) const;
double plugin_to_ui (double) const;
double plugin_to_user (double) const;
-
+
private:
double user_to_plugin (double) const;
@@ -158,7 +158,7 @@ class PluginInsert : public Processor
void set_automatable ();
void control_list_automation_state_changed (Evoral::Parameter, AutoState);
void set_parameter_state_2X (const XMLNode& node, int version);
- void set_control_ids (const XMLNode&, int version);
+ void set_control_ids (const XMLNode&, int version);
int32_t count_for_configuration (ChanCount in, ChanCount out) const;