Brick Groove Machine 0.9.3
Firmware embarqué pour contrôleur/synthé Brick
 
Chargement...
Recherche...
Aucune correspondance
font.h
Aller à la documentation de ce fichier.
1
25#ifndef BRICK_UI_FONT_H
26#define BRICK_UI_FONT_H
27
28#include <stdint.h>
29
36typedef struct font_s {
37 const char *name;
38 uint8_t width;
39 uint8_t height;
40 uint8_t first;
41 uint8_t last;
42 uint8_t spacing;
49 uint8_t (*get_col)(char c, uint8_t col);
51
57extern const font_t FONT_5X7;
58
64extern const font_t FONT_4X6;
65extern const font_t FONT_5X8_ELEKTRON;
66#endif /* BRICK_UI_FONT_H */
const font_t FONT_4X6
Police compacte 4x6 (format packé, décompressée à la volée).
Definition font.c:115
const font_t FONT_5X7
Police standard 5x7 monospace (lecture directe).
Definition font.c:104
const font_t FONT_5X8_ELEKTRON
Police Elektron 5x8 (5 px + spacing 1 px)
Definition font.c:126
struct font_s font_t
Structure décrivant une police bitmap à largeur fixe.
Structure décrivant une police bitmap à largeur fixe.
Definition font.h:36
uint8_t first
Definition font.h:40
uint8_t width
Definition font.h:38
uint8_t(* get_col)(char c, uint8_t col)
Fonction de lecture d’une colonne de glyphe.
Definition font.h:49
uint8_t height
Definition font.h:39
uint8_t last
Definition font.h:41
uint8_t spacing
Definition font.h:42
const char * name
Definition font.h:37