adapted to new update/render interface; added fading-rects module

This commit is contained in:
Bob Polis
2020-11-15 13:16:49 +01:00
parent 73d41d4774
commit 291678d06a
8 changed files with 247 additions and 8 deletions

View File

@ -18,7 +18,8 @@ class Huey : public ScreensaverPlugin {
~Huey() = default;
int fps() const override;
void draw_frame() override;
void update() override;
void render() override;
private:
double _hue {0};
@ -32,7 +33,11 @@ int Huey::fps() const {
return 5;
}
void Huey::draw_frame() {
void Huey::update() {
}
void Huey::render() {
// next color
HSB hsb;
hsb.h = _hue;