Thomas Kolb
d5357b2021
To accomplish this, the following changes were made: - Added an image-scrolling animation - Implemented a bitmap font engine to generate an image from text - On startup, an image-scrolling animation is set up with an image generated from the local IP address
13 lines
280 B
C++
13 lines
280 B
C++
#pragma once
|
|
|
|
#include <Bitmap.h>
|
|
|
|
class Font
|
|
{
|
|
public:
|
|
static void textToBitmap(const char *text,
|
|
Bitmap *bmp,
|
|
const Fader::Color &color_on = Fader::Color{0, 0, 0, 32},
|
|
const Fader::Color &color_off = Fader::Color{0, 0, 0, 0});
|
|
};
|