LiquidMenu  1.6.0
Menu creation Arduino library for LCDs, wraps LiquidCrystal.
Variables
glyphs.h File Reference

Go to the source code of this file.

Variables

uint8_t glyph::rightFocus [8]
 The focus glyph shown on the right. More...
 
uint8_t glyph::leftFocus [8]
 The focus glyph shown on the left. More...
 
uint8_t glyph::customFocus [8]
 The focus glyph shown when custom focus is set. More...
 

Detailed Description

Contains glyph definitions for LiquidMenu library.

Variable Documentation

◆ customFocus

uint8_t glyph::customFocus[8]
Initial value:
= {
0b00000,
0b00000,
0b01110,
0b01110,
0b01110,
0b00000,
0b00000,
0b00000
}

The focus glyph shown when custom focus is set.

◆ leftFocus

uint8_t glyph::leftFocus[8]
Initial value:
= {
0b00000,
0b00100,
0b00010,
0b11111,
0b00010,
0b00100,
0b00000,
0b00000
}

The focus glyph shown on the left.

◆ rightFocus

uint8_t glyph::rightFocus[8]
Initial value:
= {
0b00000,
0b00100,
0b01000,
0b11111,
0b01000,
0b00100,
0b00000,
0b00000
}

The focus glyph shown on the right.

MAX_LINES
const uint8_t MAX_LINES
Configures the number of available lines per screen.
Definition: LiquidMenu_config.h:69
int8tFnPtr
int8_t(* int8tFnPtr)()
int8_t
Definition: LiquidMenu.h:77
LiquidMenu::is_callable
bool is_callable(uint8_t number) const
Check if there is an attached function at the specified number.
Definition: LiquidMenu.cpp:235
LiquidSystem::previous_screen
void previous_screen()
Switches to the previous screen.
Definition: LiquidSystem.cpp:108
LiquidSystem::call_function
bool call_function(uint8_t number, bool refresh=true) const
Calls an attached function specified by the number.
Definition: LiquidSystem.cpp:166
LiquidSystem::next_screen
void next_screen()
Switches to the next screen.
Definition: LiquidSystem.cpp:96
LiquidSystem::update
void update() const
Prints the current screen to the display.
Definition: LiquidSystem.cpp:171
LiquidSystem::operator=
bool operator=(LiquidScreen *p_liquidScreen)
Switches to the specified screen.
Definition: LiquidSystem.cpp:132
LiquidSystem::get_currentScreen
LiquidScreen * get_currentScreen() const
Returns a reference to the current screen.
Definition: LiquidSystem.cpp:92
LiquidMenu::switch_focus
void switch_focus(bool forward=true)
Switches the focus.
Definition: LiquidMenu.cpp:177
LiquidScreen::LiquidScreen
LiquidScreen()
The main constructor.
Definition: LiquidScreen.cpp:50
DisplayClass
#define DisplayClass
Name of wrapped library's class.
Definition: LiquidMenu_config.h:31
LiquidScreen::hide
void hide(bool hide)
Hides the screen.
Definition: LiquidScreen.cpp:124
LiquidLine
Represents the individual lines printed on the display.
Definition: LiquidMenu.h:326
constcharPtrFnPtr
const typedef char *(* constcharPtrFnPtr)()
const char*
Definition: LiquidMenu.h:97
LiquidSystem::add_menu
bool add_menu(LiquidMenu &liquidMenu)
Adds a LiquidMenu object to the menu system.
Definition: LiquidSystem.cpp:58
LM_LINE_COUNT_SUBTRAHEND
#define LM_LINE_COUNT_SUBTRAHEND
Line count subtrahend for comparison during focus iteration.
Definition: LiquidScreen.cpp:42
charPtrFnPtr
char *(* charPtrFnPtr)()
char*
Definition: LiquidMenu.h:95
LiquidSystem::switch_focus
void switch_focus(bool forward=true)
Switches the focus.
Definition: LiquidSystem.cpp:136
Position
Position
Position enum.
Definition: LiquidMenu.h:138
LiquidMenu::previous_screen
void previous_screen()
Switches to the previous screen.
Definition: LiquidMenu.cpp:115
DataType
DataType
Data type enum.
Definition: LiquidMenu.h:105
DEBUG
#define DEBUG(x)
Debug print.
Definition: LiquidMenu_debug.h:23
LiquidMenu::set_focusedLine
bool set_focusedLine(uint8_t lineIndex)
Directly select focused line.
Definition: LiquidMenu.cpp:183
LiquidSystem
Represents a collection of menus forming a menu system.
Definition: LiquidMenu.h:1063
int16tFnPtr
int16_t(* int16tFnPtr)()
int16_t
Definition: LiquidMenu.h:81
print_me
void print_me(uintptr_t address)
Debug prints an address.
Definition: LiquidMenu.cpp:34
LiquidMenu::call_function
bool call_function(uint8_t number, bool refresh=true) const
Calls an attached function specified by the number.
Definition: LiquidMenu.cpp:239
LiquidSystem::LiquidSystem
LiquidSystem(uint8_t startingMenu=1)
The main constructor.
Definition: LiquidSystem.cpp:32
boolFnPtr
bool(* boolFnPtr)()
Definition: LiquidMenu.h:75
recognizeType
DataType recognizeType(bool variable)
Definition: recognizeType.cpp:9
LiquidMenu::change_screen
bool change_screen(LiquidScreen *p_liquidScreen)
Switches to the specified screen.
Definition: LiquidMenu.cpp:151
LiquidMenu.h
LiquidSystem::set_focusedLine
bool set_focusedLine(uint8_t lineIndex)
Directly select focused line.
Definition: LiquidSystem.cpp:140
LiquidScreen::set_focusPosition
bool set_focusPosition(Position position)
Sets the focus position for the whole screen at once.
Definition: LiquidScreen.cpp:105
LiquidSystem::set_focusSymbol
bool set_focusSymbol(Position position, uint8_t symbol[8])
Changes the focus indicator's symbol.
Definition: LiquidSystem.cpp:155
LiquidScreen
Represents a screen shown on the display.
Definition: LiquidMenu.h:597
LiquidMenu::softUpdate
void softUpdate() const
Prints the current screen to the display (without clearing).
Definition: LiquidMenu.cpp:252
LiquidMenu::set_focusSymbol
bool set_focusSymbol(Position position, uint8_t symbol[8])
Changes the focus indicator's symbol.
Definition: LiquidMenu.cpp:206
charFnPtr
char(* charFnPtr)()
char
Definition: LiquidMenu.h:93
MAX_MENUS
const uint8_t MAX_MENUS
Configures the number of available menus per menus system.
Definition: LiquidMenu_config.h:75
LiquidMenu::set_focusPosition
bool set_focusPosition(Position position)
Sets the focus position for the whole menu at once.
Definition: LiquidMenu.cpp:191
doubleFnPtr
double(* doubleFnPtr)()
double
Definition: LiquidMenu.h:91
int32tFnPtr
int32_t(* int32tFnPtr)()
int32_t
Definition: LiquidMenu.h:85
LiquidSystem::operator++
void operator++()
Switches to the next screen.
Definition: LiquidSystem.cpp:100
LiquidMenu
Represents a collection of screens forming a menu.
Definition: LiquidMenu.h:785
LiquidSystem::operator--
void operator--()
Switches to the previous screen.
Definition: LiquidSystem.cpp:112
floatFnPtr
float(* floatFnPtr)()
float
Definition: LiquidMenu.h:89
uint8tFnPtr
uint8_t(* uint8tFnPtr)()
uint8_t
Definition: LiquidMenu.h:79
LiquidSystem::get_focusedLine
uint8_t get_focusedLine() const
Get the index of the currently focused line.
Definition: LiquidSystem.cpp:144
LiquidMenu::get_currentScreen
LiquidScreen * get_currentScreen() const
Returns a reference to the current screen.
Definition: LiquidMenu.cpp:90
LiquidMenu::update
void update() const
Prints the current screen to the display.
Definition: LiquidMenu.cpp:247
LiquidScreen::set_displayLineCount
void set_displayLineCount(uint8_t lineCount)
Specifies the line size of the display (required for scrolling).
Definition: LiquidScreen.cpp:120
uint16tFnPtr
uint16_t(* uint16tFnPtr)()
uint16_t
Definition: LiquidMenu.h:83
LiquidScreen::add_line
bool add_line(LiquidLine &liquidLine)
Adds a LiquidLine object to the screen.
Definition: LiquidScreen.cpp:75
LiquidSystem::change_screen
bool change_screen(LiquidScreen *p_liquidScreen)
Switches to the specified screen.
Definition: LiquidSystem.cpp:124
LiquidSystem::change_menu
bool change_menu(LiquidMenu &p_liquidMenu)
Switches to the specified menu.
Definition: LiquidSystem.cpp:76
uint32tFnPtr
uint32_t(* uint32tFnPtr)()
uint32_t
Definition: LiquidMenu.h:87
DEBUGLN
#define DEBUGLN(x)
Debug print with newline.
Definition: LiquidMenu_debug.h:25
LiquidSystem::is_callable
bool is_callable(uint8_t number) const
Check if there is an attached function at the specified number.
Definition: LiquidSystem.cpp:162
LiquidMenu::get_focusedLine
uint8_t get_focusedLine() const
Get the index of the currently focused line.
Definition: LiquidMenu.cpp:187
LiquidLine::set_focusPosition
bool set_focusPosition(Position position, uint8_t column=0, uint8_t row=0)
Configures the focus indicator position for the line.
Definition: LiquidLine.cpp:54
LiquidSystem::softUpdate
void softUpdate() const
Prints the current screen to the display (without clearing).
Definition: LiquidSystem.cpp:175
LiquidSystem::set_focusPosition
bool set_focusPosition(Position position)
Sets the focus position for the whole menu at once.
Definition: LiquidSystem.cpp:148
LiquidMenu::next_screen
void next_screen()
Switches to the next screen.
Definition: LiquidMenu.cpp:94