renderbug/src/animations/TestAnimation.h

17 lines
364 B
C
Raw Normal View History

2021-03-29 08:10:55 +00:00
#include <Figments.h>
2019-05-10 05:17:29 +00:00
class TestAnimation: public Figment {
public:
const char* name() const;
void handleEvent(const InputEvent& evt) override;
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;
};