The system font objects are globally available for a graphical application.
System fonts are by design read only, hence there are not any functions to change them during runtime. If the application needs additional fonts it should add additional font objects.
Macros | |
#define | SYSFONT_DEFINE_GLYPHS |
Define variable containing the font. More... | |
#define | SYSFONT_FIRSTCHAR ((uint8_t)' ') |
First character defined. More... | |
#define | SYSFONT_HEIGHT 7 |
Height of each glyph, excluding spacer line. More... | |
#define | SYSFONT_LASTCHAR ((uint8_t)'}') |
Last character defined. More... | |
#define | SYSFONT_LINESPACING 8 |
Line height. More... | |
#define | SYSFONT_WIDTH 6 |
Width of each glyph, including spacer column. More... | |
#define | USE_FONT_BASIC_6x7 |
Variables | |
struct font | sysfont |
Initialize a basic system font. More... | |
#define SYSFONT_DEFINE_GLYPHS |
Define variable containing the font.
#define SYSFONT_FIRSTCHAR ((uint8_t)' ') |
First character defined.
#define SYSFONT_HEIGHT 7 |
Height of each glyph, excluding spacer line.
Referenced by gfx_mono_spinctrl_draw(), gfx_mono_spinctrl_draw_button(), and gfx_mono_spinctrl_spincollection_add_spinner().
#define SYSFONT_LASTCHAR ((uint8_t)'}') |
Last character defined.
#define SYSFONT_LINESPACING 8 |
Line height.
#define SYSFONT_WIDTH 6 |
Width of each glyph, including spacer column.
Referenced by gfx_mono_spinctrl_draw().
#define USE_FONT_BASIC_6x7 |
struct font sysfont |
Initialize a basic system font.
This initializes a basic system font globally usable by the application.
Referenced by gfx_mono_spinctrl_draw(), and gfx_mono_spinctrl_draw_button().