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

#include <BaseGraphicalRenderer.h>

Public Member Functions

 GridPositionRowCacheEntry (const GridPositionRowCacheEntry &other)=default
 
GridPositionRowCacheEntryoperator= (const GridPositionRowCacheEntry &other)=default
 
 GridPositionRowCacheEntry (MenuItem *item, const GridPosition &pos, ItemDisplayProperties *props)
 
const GridPositiongetPosition ()
 
ItemDisplayPropertiesgetDisplayProperties ()
 
uint16_t getKey () const
 
uint16_t getHeight ()
 
MenuItemgetMenuItem ()
 

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: