summaryrefslogtreecommitdiff
path: root/Layout/LayoutHelp.h
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-19 09:16:44 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-19 09:16:44 -0600
commita683f4689264f85953c246ac15492bad25974197 (patch)
treeb35489d769204cea05d19ce1c255f62fcb227ef3 /Layout/LayoutHelp.h
parent8167e5ad0453f2e6855f9622c2acddb9cf55c941 (diff)
downloadmtdot-box-evb-factory-firmware-a683f4689264f85953c246ac15492bad25974197.tar.gz
mtdot-box-evb-factory-firmware-a683f4689264f85953c246ac15492bad25974197.tar.bz2
mtdot-box-evb-factory-firmware-a683f4689264f85953c246ac15492bad25974197.zip
use a single layout for help screens as they're basically all the same, misc tweaks and fixes
Diffstat (limited to 'Layout/LayoutHelp.h')
-rw-r--r--Layout/LayoutHelp.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/Layout/LayoutHelp.h b/Layout/LayoutHelp.h
new file mode 100644
index 0000000..58ddf7c
--- /dev/null
+++ b/Layout/LayoutHelp.h
@@ -0,0 +1,28 @@
+#ifndef __LAYOUTHELP_H__
+#define __LAYOUTHELP_H__
+
+#include "Layout.h"
+
+class LayoutHelp : public Layout {
+ public:
+ LayoutHelp(DOGS102* lcd);
+ ~LayoutHelp();
+
+ void display();
+ void updateMode(std::string mode);
+ void updateDescription(std::string description);
+ void updateSw1(std::string s);
+ void updateSw2(std::string s);
+
+ private:
+ Label _lIns1;
+ Label _lIns2;
+
+ Field _fMode;
+ Field _fDesc;
+ Field _fSw1;
+ Field _fSw2;
+
+};
+
+#endif