diff options
Diffstat (limited to 'plugingui/pixelbuffer.h')
-rw-r--r-- | plugingui/pixelbuffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/pixelbuffer.h b/plugingui/pixelbuffer.h index 5078ed6..5c11d14 100644 --- a/plugingui/pixelbuffer.h +++ b/plugingui/pixelbuffer.h @@ -29,6 +29,7 @@ #include "colour.h" #include <cstddef> +#include <cstdint> #include <vector> #include "guievent.h" @@ -49,6 +50,7 @@ public: Rect updateBuffer(std::vector<class PixelBufferAlpha*>& pixel_buffers); + std::vector<std::uint8_t> buf_data; std::uint8_t* buf{nullptr}; std::size_t width{0}; std::size_t height{0}; @@ -78,7 +80,7 @@ public: const std::uint8_t* getLine(std::size_t x, std::size_t y) const; - bool managed{false}; + std::vector<std::uint8_t> buf_data; std::uint8_t* buf{nullptr}; std::size_t width{0}; std::size_t height{0}; |