From 1a7194aced3b2c914257b8582dec4bb80cb97f5e Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Wed, 11 Nov 2015 10:59:52 -0600 Subject: rename DisplayManager to Layout --- Layout/Layout.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Layout/Layout.h (limited to 'Layout/Layout.h') diff --git a/Layout/Layout.h b/Layout/Layout.h new file mode 100644 index 0000000..c8dc4f3 --- /dev/null +++ b/Layout/Layout.h @@ -0,0 +1,48 @@ +#ifndef __DISPLAYMANAGER_H__ +#define __DISPLAYMANAGER_H__ + +#include "DOGS102.h" + +#include +#include + +typedef struct field { + int32_t id; + uint8_t column; + uint8_t page; + uint8_t maxSize; +} Field; + +typedef struct label { + uint8_t column; + uint8_t page; + const char* value; + uint8_t size; +} Label; + +typedef std::vector Fields; +typedef std::vector