summaryrefslogtreecommitdiff
path: root/plugingui/pixelbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/pixelbuffer.h')
-rw-r--r--plugingui/pixelbuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/pixelbuffer.h b/plugingui/pixelbuffer.h
index 499940d..81921e5 100644
--- a/plugingui/pixelbuffer.h
+++ b/plugingui/pixelbuffer.h
@@ -29,6 +29,9 @@
#include "colour.h"
#include <cstddef>
+#include <vector>
+
+#include "guievent.h"
namespace GUI
{
@@ -46,6 +49,8 @@ public:
void writeLine(std::size_t x, std::size_t y,
const std::uint8_t* line, std::size_t len);
+ Rect updateBuffer(std::vector<class PixelBufferAlpha*>& pixel_buffers);
+
std::uint8_t* buf{nullptr};
std::size_t width{0};
std::size_t height{0};