muwerk mupplet Display Library
muwerk applets; mupplets: functional units that support specific hardware or reusable applications
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ustd::MuppletGfxDisplay Class Referenceabstract

The base class for all matrix display mupplets. More...

#include <mup_gfx_display.h>

Inheritance diagram for ustd::MuppletGfxDisplay:
ustd::MuppletDisplay ustd::DisplayMatrixMAX72XX

Public Member Functions

void addfont (const GFXfont *font, uint8_t baseLine)
 
void addfont (const GFXfont *font, const char *baseLineReference="A")
 
void setfont (uint8_t font)
 

Detailed Description

The base class for all matrix display mupplets.

This class implements the basic interface and functionality of all matrix display mupplets.

Member Function Documentation

◆ addfont() [1/2]

void ustd::MuppletGfxDisplay::addfont ( const GFXfont *  font,
const char *  baseLineReference = "A" 
)
inline

Adds an Adafruit GFX font to the display mupplet

Parameters
fontThe Adafruit GFXfont object
baseLineReferenceThe reference char used to determine the baseline value of the selected font

◆ addfont() [2/2]

void ustd::MuppletGfxDisplay::addfont ( const GFXfont *  font,
uint8_t  baseLine 
)
inline

Adds an Adafruit GFX font to the display mupplet

Parameters
fontThe Adafruit GFXfont object
baseLineThe baseline value of the selected font

◆ setfont()

void ustd::MuppletGfxDisplay::setfont ( uint8_t  font)
inline

Select the current font to use for output

Parameters
fontThe index number of the selected font. The built in font has the index number 0.

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