aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/NullPainter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graphics/NullPainter.hpp')
-rw-r--r--include/cru/platform/graphics/NullPainter.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/cru/platform/graphics/NullPainter.hpp b/include/cru/platform/graphics/NullPainter.hpp
index b5c796d3..a47546b6 100644
--- a/include/cru/platform/graphics/NullPainter.hpp
+++ b/include/cru/platform/graphics/NullPainter.hpp
@@ -3,7 +3,8 @@
#include "cru/common/Base.hpp"
namespace cru::platform::graphics {
-class CRU_PLATFORM_GRAPHICS_API NullPainter : public Object, public virtual IPainter {
+class CRU_PLATFORM_GRAPHICS_API NullPainter : public Object,
+ public virtual IPainter {
public:
NullPainter() = default;
@@ -65,6 +66,11 @@ class CRU_PLATFORM_GRAPHICS_API NullPainter : public Object, public virtual IPai
CRU_UNUSED(brush)
}
+ void DrawImage(const Rect& rect, IImage* image) override {
+ CRU_UNUSED(rect)
+ CRU_UNUSED(image)
+ }
+
void PushLayer(const Rect& bounds) override { CRU_UNUSED(bounds) }
void PopLayer() override {}