summaryrefslogtreecommitdiff
path: root/Layout/LayoutFile.cpp
blob: fd54ff10772fda16010b50af2c5051464b45239f (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
27
28
29
30
#include "LayoutFile.h"

LayoutFile::LayoutFile(DOGS102* lcd)
  : Layout(lcd),
    _lMsg1(0, 0, "Erase or Append"),
    _lMsg2(0, 1, "to Existing"),
    _lMsg3(0, 2, "Survey Data File?"),
    _lIns1(0, 4, "Hold SW1 any time"),
    _lIns2(0, 5, "for Main Menu"),
    _lSw1(11, 7, "Append"),
    _lSw2(0, 7, "Erase")
{}

LayoutFile::~LayoutFile() {}

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

    writeLabel(_lMsg1);
    writeLabel(_lMsg2);
    writeLabel(_lMsg3);
    writeLabel(_lIns1);
    writeLabel(_lIns2);
    writeLabel(_lSw1);
    writeLabel(_lSw2);

    endUpdate();
}