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

14 lines
331 B
C++

#include "../Figments/Figments.h"
class UpdateStatus: public Figment {
public:
UpdateStatus() : Figment("UpdateStatusAnimation") {}
void handleEvent(const InputEvent& evt) override;
void loop() override;
void render(Display* dpy) const override;
private:
bool m_updateReady = false;
uint8_t m_pos = 0;
};