From a8eea6e9c1f32d5562594656c68dc4b9f985b790 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 14 Nov 2020 09:46:34 +0100 Subject: Add x_offset to drawable::line to be able to have drawImage render images outside the parent area. --- plugingui/texturedbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/texturedbox.cc') diff --git a/plugingui/texturedbox.cc b/plugingui/texturedbox.cc index 21bf946..e48353a 100644 --- a/plugingui/texturedbox.cc +++ b/plugingui/texturedbox.cc @@ -133,7 +133,7 @@ const Colour& TexturedBox::getPixel(std::size_t x, std::size_t y) const return outOfRange; } -const std::uint8_t* TexturedBox::line(std::size_t y) const +const std::uint8_t* TexturedBox::line(std::size_t y, std::size_t x_offset) const { // TODO: Gather line into temporary buffer? return nullptr; -- cgit v1.2.3