From eefb2c06c6089c73848aea6de732d40486918dbb Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 29 Oct 2020 09:21:12 +0100 Subject: [PATCH] adapted to new interface --- huey/Huey.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/huey/Huey.cpp b/huey/Huey.cpp index 506e540..b7c6e07 100644 --- a/huey/Huey.cpp +++ b/huey/Huey.cpp @@ -14,9 +14,8 @@ class Huey : public ScreensaverPlugin { Huey() = default; ~Huey() = default; - void setup(cairo_t* context, const cairo_rectangle_t& rect) override; - void draw_frame() override; int fps() const override; + void draw_frame() override; private: double _hue {0}; @@ -26,11 +25,6 @@ ScreensaverPlugin* create_instance() { return new Huey; } -void Huey::setup(cairo_t* context, const cairo_rectangle_t& rect) { - ScreensaverPlugin::setup(context, rect); - make_black(); -} - int Huey::fps() const { return 40; }