renderbug-cpp/firmware/animations/TestAnimation.h

17 lines
376 B
C
Raw Normal View History

2019-05-10 05:17:29 +00:00
#include "../Figments/Figments.h"
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;
};