The original font is a bit of a mess, and includes many duplicate characters. I decided to reorganize the characters in a new set of glyphs, in derivced/font.png. This also includes very basic parsing for text data.
10 lines
191 B
C++
10 lines
191 B
C++
#pragma once
|
|
|
|
struct dialog_t
|
|
{
|
|
static constexpr screen_t top_left = { 0, 12};
|
|
static constexpr screen_t bottom_right = {19, 17};
|
|
|
|
static void draw(const uint32_t base_pattern);
|
|
};
|