LiquidMenu.h File Reference
Go to the source code of this file.
Classes | |
class | LiquidLine |
Represents the individual lines printed on the display. More... | |
class | LiquidScreen |
Represents a screen shown on the display. More... | |
class | LiquidMenu |
Represents a collection of screens forming a menu. More... | |
class | LiquidSystem |
Represents a collection of menus forming a menu system. More... | |
Enumerations | |
enum | DataType : uint8_t { NOT_USED = 0, BOOL = 1, BOOLEAN = 1, INT8_T = 8, UINT8_T = 9, BYTE = 9, INT16_T = 16, UINT16_T = 17, INT32_T = 32, UINT32_T = 33, FLOAT = 50, DOUBLE = 50, CHAR = 60, CHAR_PTR = 61, CONST_CHAR_PTR = 62, GLYPH = 70 } |
Data type enum. More... | |
enum | Position : uint8_t { RIGHT = 1, NORMAL = 1, LEFT = 2, CUSTOM = 3 } |
Position enum. More... | |
Functions | |
void | print_me (uint16_t address) |
Prints the number passed to it in a specific way. More... | |
recognizeType overloaded function | |
DataType | recognizeType (bool variable) |
DataType | recognizeType (char variable) |
DataType | recognizeType (char *variable) |
DataType | recognizeType (const char *variable) |
DataType | recognizeType (int8_t variable) |
DataType | recognizeType (uint8_t variable) |
DataType | recognizeType (int16_t variable) |
DataType | recognizeType (uint16_t variable) |
DataType | recognizeType (int32_t variable) |
DataType | recognizeType (uint32_t variable) |
DataType | recognizeType (float variable) |
DataType | recognizeType (double variable) |
Variables | |
const char | VERSION [] = "1.1" |
The version of the library. More... | |
Detailed Description
Include file for LiquidMenu library.
- Date
- 2016
- Version
- 1.1.4
- Copyright
- The MIT License
- Todo:
: Change/Remove variables/screens/menus maybe
: screen wide glyphs
: Shorten the examples add a setAsGlyph example
Enumeration Type Documentation
|
strong |
Data type enum.
Used to store the data type of void*
so that they can be cast back later.
|
strong |
Position enum.
Function Documentation
void print_me | ( | uint16_t | address | ) |
Prints the number passed to it in a specific way.
Used for convenience when printing the class's address for indentification.
- Parameters
-
address - number to be printed

DataType recognizeType | ( | bool | variable | ) |
Used to recognize the data type of a variable received in a template function.
- See also
- DataType
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format

DataType recognizeType | ( | char | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | char * | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | const char * | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | int8_t | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | uint8_t | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | int16_t | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | uint16_t | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | int32_t | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | uint32_t | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | float | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
DataType recognizeType | ( | double | variable | ) |
- Parameters
-
variable - variable to be checked
- Returns
- the data type in
DataType
enum format
Variable Documentation
const char VERSION[] = "1.1" |
The version of the library.
- Examples:
- buttons_menu.ino, focus_menu.ino, functions_menu.ino, hello_menu.ino, serial_menu.ino, and system_menu.ino.