animations: testanimation: rewrite into something that can help debug coord mappings

This commit is contained in:
Torrie Fischer
2023-12-11 08:09:10 +01:00
parent 81bebad459
commit 5668266a23
2 changed files with 21 additions and 46 deletions

View File

@@ -2,15 +2,11 @@
class TestAnimation: public Figment {
public:
const char* name() const;
void handleEvent(const InputEvent& evt) override;
TestAnimation() : Figment("Test") {}
void loop() override;
void render(Display* dpy) const override;
private:
AnimatedNumber m_hue;
AnimatedNumber m_saturation;
AnimatedNumber m_brightness;
uint8_t m_x;
uint8_t m_y;
};