Ken Van Hoeylandt 7ea8c346b0
Various improvements (#673)
Graphics & rendering

- Implement `binfont-module` to generate bitmap fonts on the device itself
- Remove lodepng support from LVGL library and create `Modules/lodepng-module` to make the feature re-usable in non-LVGL apps too. Add binding functions for LVGL support.
- Implement large icons for boot screen (Tactility and USB logos)
- Remove unused asset files in `Data/`

Boot

- Split up `Tactility.cpp` and its `run()` function into various `Init*.cpp` files.
- Re-implement `Boot.cpp` app as non-LVGL app
- Boot app now has a `BootSequence.cpp` for the init code.
- LVGL is now started when the Boot app finishes
- Move more init logic into Boot app

BLE

- Don't allocate scan result buffers unless BLE is on
- Allocate scan results in external memory if possible

UX & UI

- USB Settings app: remove border from the button container
2026-10-04 18:09:21 +02:00

34 lines
1003 B
C

// SPDX-License-Identifier: Apache-2.0
#include <binfont/binfont.h>
#include <binfont/generator.h>
#include <binfont/module.h>
#include <binfont/render.h>
static const struct ModuleSymbol SYMBOLS[] = {
// binfont
DEFINE_MODULE_SYMBOL(binfont_open_file),
DEFINE_MODULE_SYMBOL(binfont_open_memory),
DEFINE_MODULE_SYMBOL(binfont_close),
DEFINE_MODULE_SYMBOL(binfont_begin),
DEFINE_MODULE_SYMBOL(binfont_end),
DEFINE_MODULE_SYMBOL(binfont_get_metrics),
DEFINE_MODULE_SYMBOL(binfont_get_glyph),
DEFINE_MODULE_SYMBOL(binfont_get_kerning_x16),
DEFINE_MODULE_SYMBOL(binfont_get_glyph_bitmap),
// generator
DEFINE_MODULE_SYMBOL(binfont_generate),
// render
DEFINE_MODULE_SYMBOL(binfont_draw_glyph_rgb565),
DEFINE_MODULE_SYMBOL(binfont_draw_text_rgb565),
MODULE_SYMBOL_TERMINATOR,
};
struct Module binfont_module = {
.name = "binfont",
.start = NULL,
.stop = NULL,
.drivers = NULL,
.symbols = SYMBOLS,
.internal = NULL,
};