summaryrefslogtreecommitdiff
path: root/plugingui/drawable.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/drawable.h')
-rw-r--r--plugingui/drawable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/drawable.h b/plugingui/drawable.h
index e793a27..95492d6 100644
--- a/plugingui/drawable.h
+++ b/plugingui/drawable.h
@@ -43,7 +43,8 @@ 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 const std::uint8_t* line(std::size_t y,
+ std::size_t x_offset = 0) const = 0;
virtual bool hasAlpha() const = 0;
};