adapted to new interface
This commit is contained in:
parent
748ab7efac
commit
eefb2c06c6
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user