summaryrefslogtreecommitdiff
path: root/plugingui/drawable.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/drawable.h')
-rw-r--r--plugingui/drawable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/drawable.h b/plugingui/drawable.h
index ff9a4ff..e793a27 100644
--- a/plugingui/drawable.h
+++ b/plugingui/drawable.h
@@ -27,6 +27,7 @@
#pragma once
#include <cstdlib>
+#include <cstdint>
namespace GUI
{
@@ -42,6 +43,9 @@ public:
virtual std::size_t height() const = 0;
virtual const Colour& getPixel(std::size_t x, std::size_t y) const = 0;
+ virtual const std::uint8_t* line(std::size_t y) const = 0;
+
+ virtual bool hasAlpha() const = 0;
};
} // GUI::