summaryrefslogtreecommitdiff
path: root/plugingui/pixelbuffer.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-03-01 17:40:23 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2020-03-07 19:22:59 +0100
commit560574d2e565510edd39dd9daf1d957a85f2220c (patch)
treed76efefe3e8b9ba041d82820aa366ca72e1904e4 /plugingui/pixelbuffer.h
parent01b3f327df2dc30d847bd335ccce12eaec2dfd39 (diff)
Remove unused pixel functions.
Diffstat (limited to 'plugingui/pixelbuffer.h')
-rw-r--r--plugingui/pixelbuffer.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/plugingui/pixelbuffer.h b/plugingui/pixelbuffer.h
index 81921e5..5078ed6 100644
--- a/plugingui/pixelbuffer.h
+++ b/plugingui/pixelbuffer.h
@@ -44,9 +44,7 @@ public:
void realloc(std::size_t width, std::size_t height);
- void setPixel(std::size_t x, std::size_t y, const Colour& c);
-
- void writeLine(std::size_t x, std::size_t y,
+ void blendLine(std::size_t x, std::size_t y,
const std::uint8_t* line, std::size_t len);
Rect updateBuffer(std::vector<class PixelBufferAlpha*>& pixel_buffers);
@@ -74,20 +72,8 @@ public:
void blendLine(std::size_t x, std::size_t y,
const std::uint8_t* line, std::size_t len);
- void addPixel(std::size_t x, std::size_t y,
- std::uint8_t red,
- std::uint8_t green,
- std::uint8_t blue,
- std::uint8_t alpha);
-
void addPixel(std::size_t x, std::size_t y, const Colour& c);
- void pixel(std::size_t x, std::size_t y,
- std::uint8_t* red,
- std::uint8_t* green,
- std::uint8_t* blue,
- std::uint8_t* alpha) const;
-
const Colour& pixel(std::size_t x, std::size_t y) const;
const std::uint8_t* getLine(std::size_t x, std::size_t y) const;