From 674cdb5c13bad3598381b81d843b5aeee5798d1f Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Fri, 20 Nov 2015 08:13:35 -0600 Subject: implement basic single survey mode - still needs sending data packet and data survey file --- Layout/LayoutConfirm.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Layout/LayoutConfirm.cpp (limited to 'Layout/LayoutConfirm.cpp') diff --git a/Layout/LayoutConfirm.cpp b/Layout/LayoutConfirm.cpp new file mode 100644 index 0000000..93fe85c --- /dev/null +++ b/Layout/LayoutConfirm.cpp @@ -0,0 +1,28 @@ +#include "LayoutConfirm.h" + +LayoutConfirm::LayoutConfirm(DOGS102* lcd) + : Layout(lcd), + _lMsg1(0, 0, "Are You Sure You"), + _lMsg2(0, 1, "Want to Erase It?"), + _lIns1(0, 4, "Hold SW1 any time"), + _lIns2(0, 5, "for Main Menu"), + _lSw1(14, 7, "No"), + _lSw2(1, 7, "Yes") +{} + +LayoutConfirm::~LayoutConfirm() {} + +void LayoutConfirm::display() { + clear(); + startUpdate(); + + writeLabel(_lMsg1); + writeLabel(_lMsg2); + writeLabel(_lIns1); + writeLabel(_lIns2); + writeLabel(_lSw1); + writeLabel(_lSw2); + + endUpdate(); +} + -- cgit v1.2.3