diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-21 16:43:01 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-21 16:43:01 +0000 |
commit | 21a0b7ace085ec506950d357ca8958c19dd1060c (patch) | |
tree | c9b5dcb2ad90817f3389fe8b25df8e6400129394 /libs/ardour/ardour | |
parent | 0af622521ba3cc35cd82f8da10d4c32830ee1305 (diff) |
Use combo box for plugin controls for ports marked as
lv2:enumeration.
git-svn-id: svn://localhost/ardour2/branches/3.0@11745 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index ec185b3a31..d73fef2f53 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -84,6 +84,11 @@ class Plugin : public PBD::StatefulDestructible, public Latent struct ParameterDescriptor { + /* XXX: it would probably be nice if this initialised everything */ + ParameterDescriptor () + : enumeration (false) + {} + /* essentially a union of LADSPA and VST info */ bool integer_step; @@ -98,6 +103,7 @@ class Plugin : public PBD::StatefulDestructible, public Latent float largestep; bool min_unbound; bool max_unbound; + bool enumeration; }; XMLNode& get_state (); |