tcMenu
Classes | Functions | Variables
GfxMenuConfig.h File Reference

Go to the source code of this file.

Classes

struct  tcgfx::ColorGfxMenuConfig< FONTPTR >
 
class  tcgfx::GridPosition
 
class  tcgfx::GridPositionWithId
 
class  tcgfx::ItemDisplayProperties
 
class  tcgfx::ItemDisplayPropertiesFactory
 
class  tcgfx::NullItemDisplayPropertiesFactory
 
class  tcgfx::ConfigurableItemDisplayPropertiesFactory
 

Functions

bool tcgfx::itemNeedsValue (GridPosition::GridJustification justification)
 
uint32_t tcgfx::MakePropsKey (uint16_t menuId, bool parentKey, ItemDisplayProperties::ComponentType ty)
 

Variables

const unsigned char PROGMEM tcgfx::loResEditingIcon [] = { 0x7c, 0x06, 0x18, 0x18, 0x06, 0x7c }
 
const unsigned char PROGMEM tcgfx::loResActiveIcon [] = { 0x20, 0x60, 0xfe, 0xfe, 0x60, 0x20 }
 
const unsigned char PROGMEM tcgfx::defActiveIcon []
 
const unsigned char PROGMEM tcgfx::defEditingIcon []
 

Detailed Description

This file contains the base drawing configuration structures and helper methods for drawing onto graphical screens, be it mono or colour. Also there's some additional structures for describing colours, coordinates and padding.

Variable Documentation

◆ loResEditingIcon

const uint8_t tcgfx::loResEditingIcon = { 0x7c, 0x06, 0x18, 0x18, 0x06, 0x7c }

The default editing icon for approx 100-150 dpi resolution displays

The low resolution icon for editing status

◆ loResActiveIcon

const uint8_t tcgfx::loResActiveIcon = { 0x20, 0x60, 0xfe, 0xfe, 0x60, 0x20 }

The default active icon for approx 100-150 dpi resolution displays

The low resolution icon for indicating active status

◆ defActiveIcon

const uint8_t tcgfx::defActiveIcon
Initial value:
= {
0x00, 0x01, 0x80, 0x03, 0x80, 0x07, 0x80, 0x0f, 0x80, 0x1f, 0xff, 0x3f,
0xff, 0x3f, 0x80, 0x1f, 0x80, 0x0f, 0x80, 0x07, 0x80, 0x03, 0x00, 0x01
}

The low resolution icon for indicating active status

The default active icon for approx 100-150 dpi resolution displays

◆ defEditingIcon

const unsigned char PROGMEM tcgfx::defEditingIcon[]

The low resolution icon for editing status