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

@@ -15,7 +15,8 @@ class Skembo : public ScreensaverPlugin {
~Skembo() = default;
int fps() const override;
void draw_frame() override;
void update() override;
void render() override;
private:
double _hue {0};
@@ -29,7 +30,11 @@ int Skembo::fps() const {
return 40;
}
void Skembo::draw_frame() {
void Skembo::update() {
}
void Skembo::render() {
// next color
HSB hsb;
hsb.h = _hue;