diff options
author | Robin Gareus <robin@gareus.org> | 2019-11-22 20:01:32 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-11-22 20:01:32 +0100 |
commit | c2d44c0f05a0740a4a26c35849d6bf62998d0023 (patch) | |
tree | 5fb16615164bb06b3f32643d1d50335224a1ed38 /libs/ardour/ardour/lv2_plugin.h | |
parent | 512c27d27770f6d27b8e10ac606302d784919c35 (diff) |
Add support for LV2/KX transient-ID option
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r-- | libs/ardour/ardour/lv2_plugin.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h index 247b7b603a..6682eed252 100644 --- a/libs/ardour/ardour/lv2_plugin.h +++ b/libs/ardour/ardour/lv2_plugin.h @@ -185,6 +185,9 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee static void set_global_ui_scale_factor (float s) { _ui_scale_factor = s; } + static void set_main_window_id (unsigned long id) { + _ui_transient_win_id = id; + } private: struct Impl; @@ -332,10 +335,11 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee #endif // Options passed to plugin - int32_t _seq_size; - static uint32_t _ui_background_color; - static uint32_t _ui_foreground_color; - static float _ui_scale_factor; + int32_t _seq_size; + static uint32_t _ui_background_color; + static uint32_t _ui_foreground_color; + static float _ui_scale_factor; + static unsigned long _ui_transient_win_id; mutable unsigned _state_version; |