Contains the base functionality for all graphical renderers. More...
Go to the source code of this file.
| Classes | |
| class | tcgfx::DrawingFlags | 
| class | tcgfx::GridPositionRowCacheEntry | 
| class | tcgfx::RenderingNavigationListener | 
| class | tcgfx::CachedDrawingLocation | 
| class | tcgfx::BaseGraphicalRenderer | 
| Enumerations | |
| enum | tcgfx::LayoutMode : uint8_t { tcgfx::LAYOUT_VERTICAL_DEFAULT , tcgfx::LAYOUT_CARD_SIDEWAYS } | 
| Functions | |
| uint16_t | tcgfx::rowCol (int row, int col) | 
| int | tcgfx::analogRangeToScreen (AnalogMenuItem *item, int screenWidth) | 
| void | tcgfx::preparePropertiesFromConfig (ConfigurableItemDisplayPropertiesFactory &factory, const ColorGfxMenuConfig< const void * > *gfxConfig, int titleHeight, int itemHeight) | 
| GridPosition::GridDrawingMode | tcgfx::modeFromItem (MenuItem *item, bool useSlider) | 
Contains the base functionality for all graphical renderers.
| enum tcgfx::LayoutMode : uint8_t | 
An internal method used to calculate the row*col index that is used during rendering to locate items quickly
| row | the row | 
| col | the column | 
| 
 | inline | 
This is a helper function for analog items that converts the range of an analog item over the width available in a menu item. It's mainly used by scrolling components.
| item | the item to determine the current and max value from | 
| screenWidth | the width available for the full range | 
| void tcgfx::preparePropertiesFromConfig | ( | ConfigurableItemDisplayPropertiesFactory & | factory, | 
| const ColorGfxMenuConfig< const void * > * | gfxConfig, | ||
| int | titleHeight, | ||
| int | itemHeight | ||
| ) | 
This method takes an existing graphics configuration and converts it into the new display properties format, its designer as a bridge between the old config object method and the new more supportable properties definitions.
| factory | the properties factory that we wish to populate | 
| gfxConfig | the graphics configuration to convert | 
| titleHeight | the height of the title | 
| itemHeight | the height of a standard item |