summaryrefslogtreecommitdiff
path: root/Layout/LayoutSweepProgress.h
blob: d8e8720caf15085bf2e8a8a526e22f1f554feab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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 _lMsg1;
        Label _lMsg2;
        Label _lMsg3;

        Field _fProgress;
        Field _fCountdownLabel;
        Field _fCountdown;
};

#endif