summaryrefslogtreecommitdiff
path: root/Layout/LayoutSingleHelp.cpp
blob: 82c4270924df27e135a5f81e902d595cfc6edc15 (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
#include "LayoutSingleHelp.h"

LayoutSingleHelp::LayoutSingleHelp(DOGS102* lcd)
  : Layout(lcd),
    _lMode(0, 0, "Survey Single"),
    _lIns1(0, 4, "Hold SW1 any time"),
    _lIns2(0, 5, "for Main Menu"),
    _lSw1(11, 7, "DR/PWR"),
    _lSw2(0, 7, "Survey")
{}

LayoutSingleHelp::~LayoutSingleHelp() {}

void LayoutSingleHelp::display() {
    clear();
    startUpdate();

    writeLabel(_lMode);
    writeLabel(_lIns1);
    writeLabel(_lIns2);
    writeLabel(_lSw1);
    writeLabel(_lSw2);

    endUpdate();
}