Solo Controller Documentation 1.0
Documentation for the Solo Controller
 
Loading...
Searching...
No Matches
TextBox_Definitions.h
Go to the documentation of this file.
1#ifndef TEXTBOXDEF_DEFINED
2#define TEXTBOXDEF_DEFINED
3
4#include <Arduino.h>
5#include "GrFont.h"
6
23
31struct Shape_t
32{
33 uint16_t unitsWidth;
34 uint16_t height;
35
43 uint16_t baseline;
44};
45
46// Define configuration parameters that defined by the sizes of the fonts being used.
53
58{
59 uint16_t x;
60 uint16_t y;
61 uint16_t textWidth;
62
72
75};
76
99
100#endif
Definition GrFont.h:36
Data structure defining all TextBox used by all menus.
Definition TextBox_Definitions.h:84
ConfigTextBox_t * chillerTemp
TexBoxUnits config for Temperature of the chiller output.
Definition TextBox_Definitions.h:95
ConfigTextBox_t * setTemp
TexBoxUnits config for Set Temperature for PID.
Definition TextBox_Definitions.h:91
ConfigTextBox_t * volume
TexBoxUnits config for Volume of the kettle in gallons.
Definition TextBox_Definitions.h:93
ConfigTextBox_t * kettleTemp
TexBoxUnits config for Kettle Temperature in Fahrenheit.
Definition TextBox_Definitions.h:90
struct ConfigList_t::@371357372026010305373236162262200147227324302137 main
Text box configuration for MainMenu.
ConfigTextBox_t * elemOut
TexBoxUnits config for Output power of kettle element as a percentage.
Definition TextBox_Definitions.h:92
ConfigTextBox_t * minChillerTemp
TexBoxUnits config for Minimum chiller temperature allowed before alarm fires.
Definition TextBox_Definitions.h:96
ConfigTextBox_t * minVolume
TexBoxUnits config for Minimum volume allowed before alarm fires.
Definition TextBox_Definitions.h:94
Configuration information for a TextBox object.
Definition TextBox_Definitions.h:58
uint16_t y
UL y-position of TextBox in the Canvas.
Definition TextBox_Definitions.h:60
Shape_t * shape
Geometric configuration information.
Definition TextBox_Definitions.h:71
uint16_t textWidth
Width in pixels of the DynamicText holding the main text.
Definition TextBox_Definitions.h:61
uint16_t x
UL x-position of TextBox in the Canvas.
Definition TextBox_Definitions.h:59
GrFont * TextFont
Font object used to render the primary text.
Definition TextBox_Definitions.h:73
GrFont * UnitsFont
Font object used to render units text.
Definition TextBox_Definitions.h:74
List of pointers the fonts to be used by the application.
Definition TextBox_Definitions.h:17
GrFont * Green20
Definition TextBox_Definitions.h:21
GrFont * Red64
Definition TextBox_Definitions.h:20
GrFont * Red180
Definition TextBox_Definitions.h:18
GrFont * Blue64
Definition TextBox_Definitions.h:19
Structure defining basic geometric characteristics of fonts.
Definition TextBox_Definitions.h:32
uint16_t unitsWidth
Width in pixels of the DynamicText used to write the 'units' text to the screen.
Definition TextBox_Definitions.h:33
uint16_t baseline
Location within DynamicText where the font baseline is to be placed.
Definition TextBox_Definitions.h:43
uint16_t height
Overall height of the DynamicText. This height is selected to accomodate the height of the selected f...
Definition TextBox_Definitions.h:34
Definition TextBox_Definitions.h:48
Shape_t * WorkSan_64_20_Config
Definition TextBox_Definitions.h:51
Shape_t * WorkSan_180_64_Config
Definition TextBox_Definitions.h:49
Shape_t * WorkSan_90_32_Config
Definition TextBox_Definitions.h:50