diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-12-06 16:45:24 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-12-06 16:45:24 +0800 |
| commit | 2ba85046b80d2763ed41f4aad44f1ae2f11c3a86 (patch) | |
| tree | fe41a43853bf3607042dda7218ffbb8db9dfd196 /include/cru/platform/graphics | |
| parent | ad1ba6795040d569d3b4857fcd39cdb6a7ed1c21 (diff) | |
| download | cru-2ba85046b80d2763ed41f4aad44f1ae2f11c3a86.tar.gz cru-2ba85046b80d2763ed41f4aad44f1ae2f11c3a86.tar.bz2 cru-2ba85046b80d2763ed41f4aad44f1ae2f11c3a86.zip | |
Use derive for opengl renderer painter.
Diffstat (limited to 'include/cru/platform/graphics')
| -rw-r--r-- | include/cru/platform/graphics/cairo/CairoPainter.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/cru/platform/graphics/cairo/CairoPainter.h b/include/cru/platform/graphics/cairo/CairoPainter.h index 4688a7ff..1ffb7d47 100644 --- a/include/cru/platform/graphics/cairo/CairoPainter.h +++ b/include/cru/platform/graphics/cairo/CairoPainter.h @@ -4,7 +4,6 @@ #include <cru/base/Base.h> #include <cru/platform/graphics/Painter.h> -#include <functional> #include <vector> namespace cru::platform::graphics::cairo { @@ -52,8 +51,6 @@ class CRU_PLATFORM_GRAPHICS_CAIRO_API CairoPainter : public CairoResource, void EndDraw() override; - void SetEndDrawCallback(std::function<void()> action); - private: void CheckValidation(); @@ -61,7 +58,6 @@ class CRU_PLATFORM_GRAPHICS_CAIRO_API CairoPainter : public CairoResource, cairo_t* cairo_; bool auto_release_; - std::function<void()> end_draw_callback_; cairo_surface_t* cairo_surface_; |
