diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-11-14 09:46:34 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-11-14 12:08:50 +0100 |
commit | a8eea6e9c1f32d5562594656c68dc4b9f985b790 (patch) | |
tree | fd44df99b9ff3bd4b4a19003653dbfa814e29f0c /plugingui/texturedbox.cc | |
parent | acc285b59b264c6d8b1e724a883c56e7f24d22b0 (diff) |
Add x_offset to drawable::line to be able to have drawImage render images outside the parent area.
Diffstat (limited to 'plugingui/texturedbox.cc')
-rw-r--r-- | plugingui/texturedbox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |