diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-05-19 19:08:32 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-05-20 21:37:27 +0200 |
commit | 54838a283cd4fdfd5a1a44c5ef6ca0051872f107 (patch) | |
tree | 83ca1a0fa778ee4917a66a4d1dfc6ce0bed4db9a /plugin/drumgizmo_plugin.h | |
parent | ff83cfac10939ceba524c93d4e36f634f4bec805 (diff) |
Add inline drumgizmo logo.
The details (which are marked with TODO) have to be changed when we
actually get a logo from the drumkits.
Diffstat (limited to 'plugin/drumgizmo_plugin.h')
-rw-r--r-- | plugin/drumgizmo_plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index 98c6c26..36bf016 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -43,6 +43,7 @@ #include <texturedbox.h> #include <imagecache.h> +#include <image.h> class DrumGizmoPlugin #ifdef LV2 @@ -201,7 +202,10 @@ private: std::shared_ptr<GUI::MainWindow> plugin_gui; std::shared_ptr<DrumGizmo> drumgizmo; + std::uint32_t inlineDisplayBuffer[1024*1024]; + GUI::Image inline_display_image{":resources/logo.png"}; + bool inline_image_first_draw{true}; static constexpr std::size_t width{750}; static constexpr std::size_t height{400}; |