#include <GfxMenuConfig.h>
Public Member Functions | |
GridPositionWithId (const GridPositionWithId &other)=default | |
GridPositionWithId & | operator= (const GridPositionWithId &other)=default |
GridPositionWithId (uint16_t itemId, const GridPosition &pos) | |
const GridPosition & | getPosition () |
uint16_t | getKey () const |
void | setNewPosition (GridPosition newPosition) |
Represents a grid position along with the menuID and also the drawable icon, if one exists. It is stored in the list of drawing instructions in the base graphical renderer, and then read when a new menu is displayed in order to reorder and position the items before rendering, these instructions are quite display neutral. It is able to be stored within the simple BtreeList because it implements getKey returning uint16_t