diff options
author | Robin Gareus <robin@gareus.org> | 2017-12-05 01:30:07 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-12-05 01:55:38 +0100 |
commit | bb5345614d6d4860c619e96fa174b3ffd4e8c262 (patch) | |
tree | 5cb1918a5f9c58147dc83b7066a014c87bb141f2 /libs/ardour/ardour/luascripting.h | |
parent | d5e1f536a750906af84c490fa01176d95cdb5d3a (diff) |
Allow to pre-seed Lua action script params
Diffstat (limited to 'libs/ardour/ardour/luascripting.h')
-rw-r--r-- | libs/ardour/ardour/luascripting.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/luascripting.h b/libs/ardour/ardour/luascripting.h index a184c4058b..7570ff1bc8 100644 --- a/libs/ardour/ardour/luascripting.h +++ b/libs/ardour/ardour/luascripting.h @@ -80,11 +80,12 @@ struct LIBARDOUR_API LuaScriptParam { const std::string& n, const std::string& t, const std::string& d, - bool o) + bool o, bool p) : name (n) , title (t) , dflt (d) , optional (o) + , preseeded (p) , is_set (false) , value (d) {} @@ -93,6 +94,7 @@ struct LIBARDOUR_API LuaScriptParam { std::string title; std::string dflt; bool optional; + bool preseeded; bool is_set; std::string value; }; |