 |
LiquidMenu
1.6.0
Menu creation Arduino library for LCDs, wraps LiquidCrystal.
|
Go to the source code of this file.
Contains glyph definitions for LiquidMenu library.
◆ 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.
void previous_screen()
Switches to the previous screen.
Definition: LiquidSystem.cpp:108
bool call_function(uint8_t number, bool refresh=true) const
Calls an attached function specified by the number.
Definition: LiquidSystem.cpp:166
void next_screen()
Switches to the next screen.
Definition: LiquidSystem.cpp:96
void update() const
Prints the current screen to the display.
Definition: LiquidSystem.cpp:171
bool operator=(LiquidScreen *p_liquidScreen)
Switches to the specified screen.
Definition: LiquidSystem.cpp:132
LiquidScreen * get_currentScreen() const
Returns a reference to the current screen.
Definition: LiquidSystem.cpp:92
LiquidScreen()
The main constructor.
Definition: LiquidScreen.cpp:50
void hide(bool hide)
Hides the screen.
Definition: LiquidScreen.cpp:124
Represents the individual lines printed on the display.
Definition: LiquidMenu.h:326
bool add_menu(LiquidMenu &liquidMenu)
Adds a LiquidMenu object to the menu system.
Definition: LiquidSystem.cpp:58
#define LM_LINE_COUNT_SUBTRAHEND
Line count subtrahend for comparison during focus iteration.
Definition: LiquidScreen.cpp:42
void switch_focus(bool forward=true)
Switches the focus.
Definition: LiquidSystem.cpp:136
Represents a collection of menus forming a menu system.
Definition: LiquidMenu.h:1063
LiquidSystem(uint8_t startingMenu=1)
The main constructor.
Definition: LiquidSystem.cpp:32
DataType recognizeType(bool variable)
Definition: recognizeType.cpp:9
bool set_focusedLine(uint8_t lineIndex)
Directly select focused line.
Definition: LiquidSystem.cpp:140
bool set_focusPosition(Position position)
Sets the focus position for the whole screen at once.
Definition: LiquidScreen.cpp:105
bool set_focusSymbol(Position position, uint8_t symbol[8])
Changes the focus indicator's symbol.
Definition: LiquidSystem.cpp:155
Represents a screen shown on the display.
Definition: LiquidMenu.h:597
void operator++()
Switches to the next screen.
Definition: LiquidSystem.cpp:100
void operator--()
Switches to the previous screen.
Definition: LiquidSystem.cpp:112
uint8_t get_focusedLine() const
Get the index of the currently focused line.
Definition: LiquidSystem.cpp:144
void set_displayLineCount(uint8_t lineCount)
Specifies the line size of the display (required for scrolling).
Definition: LiquidScreen.cpp:120
bool add_line(LiquidLine &liquidLine)
Adds a LiquidLine object to the screen.
Definition: LiquidScreen.cpp:75
bool change_screen(LiquidScreen *p_liquidScreen)
Switches to the specified screen.
Definition: LiquidSystem.cpp:124
bool change_menu(LiquidMenu &p_liquidMenu)
Switches to the specified menu.
Definition: LiquidSystem.cpp:76
bool is_callable(uint8_t number) const
Check if there is an attached function at the specified number.
Definition: LiquidSystem.cpp:162
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
void softUpdate() const
Prints the current screen to the display (without clearing).
Definition: LiquidSystem.cpp:175
bool set_focusPosition(Position position)
Sets the focus position for the whole menu at once.
Definition: LiquidSystem.cpp:148