|
LCDGFX LCD display driver
1.1.5
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
#include <menu.h>


Public Member Functions | |
| NanoMenu (const NanoPoint &pos) | |
| NanoMenu () | |
| void | add (NanoObject< T > &item) |
| void | insert (NanoObject< T > &item) |
| NanoObject< T > * | getSelected () |
| void | down () |
| void | up () |
Public Member Functions inherited from NanoObjectList< T > | |
| NanoObject< T > * | getNext (NanoObject< T > *prev=nullptr) |
| NanoObject< T > * | getPrev (NanoObject< T > *curr=nullptr) |
| void | update () override |
| void | refresh () override |
| void | draw () override |
| bool | has (NanoObject< T > &object) |
| void | add (NanoObject< T > &object) |
| void | insert (NanoObject< T > &object) |
| void | remove (NanoObject< T > &object) |
Public Member Functions inherited from NanoObject< T > | |
| NanoObject (const NanoPoint &pos) | |
| NanoObject (const NanoPoint &pos, const NanoPoint &size) | |
| lcdint_t | width () const |
| lcdint_t | height () const |
| void | moveTo (const NanoPoint &p) |
| void | moveBy (const NanoPoint &p) |
| void | resize (const NanoPoint &size) |
| void | setSize (const NanoPoint &size) |
| void | setPos (const NanoPoint &p) |
| const NanoPoint | bottom () const |
| const NanoPoint | top () const |
| const NanoPoint | left () const |
| const NanoPoint | right () const |
| const NanoPoint | center () const |
| lcdint_t | x () const |
| lcdint_t | y () const |
| const NanoPoint & | getPosition () const |
| const NanoRect & | getRect () const |
Public Member Functions inherited from NanoEngineObject< T > | |
| void | focus () |
| void | defocus () |
| bool | isFocused () |
| bool | hasTiler () |
| T & | getTiler () |
Protected Member Functions | |
| virtual void | updateMenuItemsPosition ()=0 |
Protected Member Functions inherited from NanoEngineObject< T > | |
| void | setTiler (T *tiler) |
Additional Inherited Members | |
Protected Attributes inherited from NanoObject< T > | |
| NanoRect | m_rect |
Protected Attributes inherited from NanoEngineObject< T > | |
| T * | m_tiler = nullptr |
| Active tiler, assigned to the NanoEngineObject. | |
| NanoEngineObject< T > * | m_next = nullptr |
| Next NanoEngineObject in the list. | |
This is base class for user menu implementations. NanoMenu can work only as part of NanoEngine.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedpure virtual |
Recalculates position of all menu items by aligning each item in accordance with menu type.