diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-14 16:44:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-14 16:45:27 +0100 |
commit | 93bc9b972888f5a8c08115eccb66a35d4f3853a6 (patch) | |
tree | 74b2bc1c9ca47a6f369d166f70667fd97631558a /libs/ardour/ardour/plugin.h | |
parent | e180b0f706c58b6ee7c45d01d3c70d205c00abff (diff) |
update [LV2] Plugin Inline Display API: drop cairo dependency
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index 17ac4e04d9..084f5a876d 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -111,8 +111,15 @@ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent void realtime_locate (); void monitoring_changed (); + typedef struct { + unsigned char *data; + int width; + int height; + int stride; + } Display_Image_Surface; + virtual bool has_inline_display () { return false; } - virtual void* render_inline_display (uint32_t, uint32_t) { return NULL; } + virtual Display_Image_Surface* render_inline_display (uint32_t, uint32_t) { return NULL; } PBD::Signal0<void> QueueDraw; struct PresetRecord { |