From d9d7188ad7b22e8991a9ef685840ac0e88566b39 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 7 Mar 2020 14:22:56 +0100 Subject: Use vector for PixelBuffer memory allocation. Use optimized render routines in some more painter algorithms. Fix capitalization of Canvas::getPixelBuffer method. --- plugingui/canvas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/canvas.h') 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:: -- cgit v1.2.3