![]() |
LiquidMenu
1.6.0
Menu creation Arduino library for LCDs, wraps LiquidCrystal.
|
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "LiquidMenu_config.h"
#include "LiquidMenu_debug.h"
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, 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, PROG_CONST_CHAR_PTR = 65, GLYPH = 70, FIRST_GETTER = 200, BOOL_GETTER = 201, BOOLEAN_GETTER = 201, INT8_T_GETTER = 208, UINT8_T_GETTER = 209, BYTE_GETTER = 209, INT16_T_GETTER = 216, UINT16_T_GETTER = 217, INT32_T_GETTER = 232, UINT32_T_GETTER = 233, FLOAT_GETTER = 240, DOUBLE_GETTER = 240, CHAR_GETTER = 250, CHAR_PTR_GETTER = 251, CONST_CHAR_PTR_GETTER = 252 } |
Data type enum. More... | |
enum | Position : uint8_t { RIGHT = 1, NORMAL = 1, LEFT = 2, CUSTOM = 3 } |
Position enum. More... | |
Variables | |
const char | LIQUIDMENU_VERSION [] = "1.6" |
The version of the library. More... | |
Getter function typedefs | |
typedef bool(* | boolFnPtr) () |
typedef int8_t(* | int8tFnPtr) () |
int8_t More... | |
typedef uint8_t(* | uint8tFnPtr) () |
uint8_t More... | |
typedef int16_t(* | int16tFnPtr) () |
int16_t More... | |
typedef uint16_t(* | uint16tFnPtr) () |
uint16_t More... | |
typedef int32_t(* | int32tFnPtr) () |
int32_t More... | |
typedef uint32_t(* | uint32tFnPtr) () |
uint32_t More... | |
typedef float(* | floatFnPtr) () |
float More... | |
typedef double(* | doubleFnPtr) () |
double More... | |
typedef char(* | charFnPtr) () |
char More... | |
typedef char *(* | charPtrFnPtr) () |
char* More... | |
const typedef char *(* | constcharPtrFnPtr )() |
const char* More... | |
Include file for LiquidMenu library.
: dynamic memory
: variadic templates
typedef bool(* boolFnPtr) () |
bool
typedef char(* charFnPtr) () |
char
typedef char*(* charPtrFnPtr) () |
char*
typedef double(* doubleFnPtr) () |
double
typedef float(* floatFnPtr) () |
float
typedef int16_t(* int16tFnPtr) () |
int16_t
typedef int32_t(* int32tFnPtr) () |
int32_t
typedef int8_t(* int8tFnPtr) () |
int8_t
typedef uint16_t(* uint16tFnPtr) () |
uint16_t
typedef uint32_t(* uint32tFnPtr) () |
uint32_t
typedef uint8_t(* uint8tFnPtr) () |
uint8_t
|
strong |
Data type enum.
Used to store the data type of void*
so that they can be cast back later.
|
strong |
Position enum.
void print_me | ( | uintptr_t | address | ) |
Debug prints an address.
Used for convenience when printing the class's address for identification.
address | - number to be printed |
DataType recognizeType | ( | bool | variable | ) |
Used to recognize the data type of a variable received in a template function.
variable | - variable to be checked |
DataType
enum format variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | char * | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | char | variable | ) |
variable | - variable to be checked |
DataType
enum format variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | charPtrFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | const char * | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | constcharPtrFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | double | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | doubleFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | float | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | floatFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | int16_t | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | int16tFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | int32_t | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | int32tFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | int8_t | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | int8tFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | uint16_t | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | uint16tFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | uint32_t | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | uint32tFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | uint8_t | variable | ) |
variable | - variable to be checked |
DataType
enum format DataType recognizeType | ( | uint8tFnPtr | variable | ) |
variable | - variable to be checked |
DataType
enum format const typedef char*(* constcharPtrFnPtr) () |
const char*
const char LIQUIDMENU_VERSION[] = "1.6" |
The version of the library.