From 37260f2ccff2793f54bfd291169d2c8d879bbc15 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Mon, 30 Nov 2015 15:50:22 -0600 Subject: start work on survey sweep - currently determines rates and power levels to use and prints them out --- Layout/LayoutSweepProgress.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Layout/LayoutSweepProgress.h (limited to 'Layout/LayoutSweepProgress.h') 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 -- cgit v1.2.3