diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-06-14 13:35:42 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-06-14 13:35:42 +1000 |
| commit | 7f2d56e29ad41e13888828d2d58b17c327a94e36 (patch) | |
| tree | a36fde2a4c7fccc0ca16758c30f3f99ee34b3181 /lib/luavgl/src/luavgl.h | |
| parent | 5086ab96ea648cd842addb02b188f29bff7bbadd (diff) | |
| download | tangara-fw-7f2d56e29ad41e13888828d2d58b17c327a94e36.tar.gz | |
Load fonts dynamically from /lua
This unfortunately slows boot time by a bit, but I think we should be able to reclaim that time eventually.
Diffstat (limited to 'lib/luavgl/src/luavgl.h')
| -rw-r--r-- | lib/luavgl/src/luavgl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/luavgl/src/luavgl.h b/lib/luavgl/src/luavgl.h index d485cdc8..6c5f8e98 100644 --- a/lib/luavgl/src/luavgl.h +++ b/lib/luavgl/src/luavgl.h @@ -12,8 +12,7 @@ extern "C" { #endif -typedef const lv_font_t *(*make_font_cb)(const char *name, int size, - int weight); +typedef const lv_font_t *(*make_font_cb)(const char *); typedef void (*delete_font_cb)(const lv_font_t *); typedef int (*luavgl_pcall_t)(lua_State *L, int nargs, int nresults); |
