diff options
author | Robin Gareus <robin@gareus.org> | 2016-08-15 16:37:44 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-08-15 16:37:44 +0200 |
commit | 46cbb9084e124e971427b7c982b20c86a5fb2f1a (patch) | |
tree | d9a91d8dad9944de8f3219f41c9ffcfc1383929e /libs/ardour/ardour/stripable.h | |
parent | e2466621bc4e4bf9f4555e9ea98ce1b24da1916b (diff) |
Expose Stripable Color & Ordering API to Lua
We can't easily use C++ references with Lua closures, so
new API (pointer to PresentationInfo) was added.
Diffstat (limited to 'libs/ardour/ardour/stripable.h')
-rw-r--r-- | libs/ardour/ardour/stripable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/stripable.h b/libs/ardour/ardour/stripable.h index 2464dddab9..942b48815b 100644 --- a/libs/ardour/ardour/stripable.h +++ b/libs/ardour/ardour/stripable.h @@ -73,6 +73,7 @@ class LIBARDOUR_API Stripable : public SessionObject { PresentationInfo const & presentation_info () const { return _presentation_info; } PresentationInfo& presentation_info () { return _presentation_info; } + PresentationInfo* presentation_info_ptr () { return &_presentation_info; } /* set just the order */ |