summaryrefslogtreecommitdiff
path: root/plugingui/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/image.h')
-rw-r--r--plugingui/image.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugingui/image.h b/plugingui/image.h
index 4d140ab..d162a75 100644
--- a/plugingui/image.h
+++ b/plugingui/image.h
@@ -50,13 +50,14 @@ public:
size_t height() const override;
const Colour& getPixel(size_t x, size_t y) const override;
- const std::uint8_t* line(std::size_t y) const override;
+ const std::uint8_t* line(std::size_t y,
+ std::size_t x_offset = 0) const override;
bool hasAlpha() const override;
bool isValid() const;
-private:
+protected:
void setError();
bool valid{false};