renderbug-cpp/firmware/animations/TestAnimation.h
2019-05-09 22:17:29 -07:00

17 lines
376 B
C++

#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;
};