diff options
Diffstat (limited to 'Layout/LayoutSweepProgress.h')
-rw-r--r-- | Layout/LayoutSweepProgress.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Layout/LayoutSweepProgress.h b/Layout/LayoutSweepProgress.h new file mode 100644 index 0000000..82c8081 --- /dev/null +++ b/Layout/LayoutSweepProgress.h @@ -0,0 +1,28 @@ +#ifndef __LAYOUTSWEEPPROGRESS_H__ +#define __LAYOUTSWEEPPROGRESS_H__ + +#include "Layout.h" + +class LayoutSweepProgress : public Layout { + public: + LayoutSweepProgress(DOGS102* lcd); + ~LayoutSweepProgress(); + + void display(); + + void updateProgress(uint8_t complete, uint8_t total); + void updateCountdown(uint32_t seconds); + + private: + Label _lSlash; + Label _lMsg1; + Label _lMsg2; + Label _lMsg3; + + Field _fComplete; + Field _fTotal; + Field _fCountdownLabel; + Field _fCountdown; +}; + +#endif |