20 lines
614 B
C
20 lines
614 B
C
#ifndef FONT_MINI_H
|
|
#define FONT_MINI_H
|
|
|
|
#include <stdint.h>
|
|
|
|
// ## 1. Konstanten ##
|
|
#define CHAR_WIDTH 32
|
|
#define CHAR_HEIGHT 16
|
|
#define CHAR_BYTES 64
|
|
|
|
// ## 2. Globale Variablen (mit "extern") ##
|
|
extern const uint8_t fullscreen_allArray_LEN;
|
|
extern const unsigned char* fullscreen_allArray[36];
|
|
|
|
// ## 3. Funktions-Prototypen ##
|
|
typedef void (*set_pixel_func_t)(uint8_t* framebuffer, int fb_width, int x, int y);
|
|
void set_pixel(uint8_t* framebuffer, int fb_width, int x, int y);
|
|
void create_fullscreen_char(char character, uint8_t* framebuffer, int fb_width, int fb_height, uint8_t scale);
|
|
|
|
#endif // FONT_MINI_H
|