From a683f4689264f85953c246ac15492bad25974197 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Thu, 19 Nov 2015 09:16:44 -0600 Subject: use a single layout for help screens as they're basically all the same, misc tweaks and fixes --- Layout/LayoutHelp.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Layout/LayoutHelp.h (limited to 'Layout/LayoutHelp.h') 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 -- cgit v1.2.3