diff --git a/src/ScreensaverPlugin.hpp b/src/ScreensaverPlugin.hpp index e1a0099..8f77403 100644 --- a/src/ScreensaverPlugin.hpp +++ b/src/ScreensaverPlugin.hpp @@ -20,7 +20,8 @@ class ScreensaverPlugin { virtual void setup(cairo_t* context, const cairo_rectangle_t& rect); virtual int fps() const; - virtual void draw_frame() = 0; + virtual void update() = 0; // advance state for next frame + virtual void render() = 0; // draw next frame protected: cairo_t* _c {nullptr};