summaryrefslogtreecommitdiff
path: root/firmware/rf test/Core/Inc/fonts.h
blob: 3a4cbc6b2d064fea4c62fb02cf24527f747314b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdint.h>
#include <stdlib.h>

#ifndef _FONTS_H
#define _FONTS_H

#define NUMBER_OF_FONTS 1

typedef struct {
    uint8_t char_w;
    uint8_t char_h;
    uint8_t bytes_per_row;
    uint8_t bytes_per_char;
    uint8_t *font_bytes;
    uint8_t *lookup;
} bitmap_font_t; 

extern bitmap_font_t** fonts;

void set_up_fonts();

#endif