tcMenu
Public Member Functions | List of all members
tcgfx::GridPositionWithId Class Reference

#include <GfxMenuConfig.h>

Public Member Functions

 GridPositionWithId (const GridPositionWithId &other)=default
 
GridPositionWithIdoperator= (const GridPositionWithId &other)=default
 
 GridPositionWithId (uint16_t itemId, const GridPosition &pos)
 
const GridPositiongetPosition ()
 
uint16_t getKey () const
 
void setNewPosition (GridPosition newPosition)
 

Detailed Description

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


The documentation for this class was generated from the following file: