summaryrefslogtreecommitdiff
path: root/plugingui/canvas.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-03-07 14:22:56 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2020-03-07 19:23:26 +0100
commitd9d7188ad7b22e8991a9ef685840ac0e88566b39 (patch)
tree23ac163bfb60cce4b9aefb658df5322687db1dc6 /plugingui/canvas.h
parentdf71bccf9c4731af9bcca79eee8d95651646bd82 (diff)
Use vector for PixelBuffer memory allocation. Use optimized render routines in some more painter algorithms. Fix capitalization of Canvas::getPixelBuffer method.
Diffstat (limited to 'plugingui/canvas.h')
-rw-r--r--plugingui/canvas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/canvas.h b/plugingui/canvas.h
index 2326f0e..d6e8f99 100644
--- a/plugingui/canvas.h
+++ b/plugingui/canvas.h
@@ -31,14 +31,14 @@
namespace GUI
{
-//! Abstract class that can be used by the Paiter to draw on.
+//! Abstract class that can be used by the Painter to draw on.
class Canvas
{
public:
virtual ~Canvas() = default;
//! @returns a reference to the pixel buffer.
- virtual PixelBufferAlpha& GetPixelBuffer() = 0;
+ virtual PixelBufferAlpha& getPixelBuffer() = 0;
};
} // GUI::