From e58dcf6dc5332c60a346509436f9934d9e3bbfbb Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 12 Jun 2024 18:46:07 +1000 Subject: WIP fix issues introduced by lvgl version bump --- luals-stubs/lvgl.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'luals-stubs') diff --git a/luals-stubs/lvgl.lua b/luals-stubs/lvgl.lua index 360246f7..b885b6a7 100644 --- a/luals-stubs/lvgl.lua +++ b/luals-stubs/lvgl.lua @@ -418,13 +418,11 @@ end function lvgl.Timer(p) end ---- Create a new a font. Currently only the inbuilt "fusion" font family is ---- available, in "normal" weight and sizes 12 and 10. ---- @param family string Name of the font family. ---- @param size integer the font size in px ---- @param weight string the weight of the font. e.g.g "normal", "bold", "light" +--- Create a new a font. Fonts can be located on internal flash or the SD card, +--- and must be in LVGL's binary font format. +--- @param path string location of the binary font file --- @return Font -function lvgl.Font(family, size, weight) +function lvgl.Font(path) end --- Decodes an image from the filesystem and pins it into RAM, returning a -- cgit v1.2.3