summaryrefslogtreecommitdiff
path: root/lib/luavgl/src/luavgl.h
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-06-14 13:35:42 +1000
committerjacqueline <me@jacqueline.id.au>2024-06-14 13:35:42 +1000
commit7f2d56e29ad41e13888828d2d58b17c327a94e36 (patch)
treea36fde2a4c7fccc0ca16758c30f3f99ee34b3181 /lib/luavgl/src/luavgl.h
parent5086ab96ea648cd842addb02b188f29bff7bbadd (diff)
downloadtangara-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.h3
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);