summaryrefslogtreecommitdiff
path: root/luals-stubs
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-06-12 18:46:07 +1000
committerjacqueline <me@jacqueline.id.au>2024-06-12 18:46:07 +1000
commite58dcf6dc5332c60a346509436f9934d9e3bbfbb (patch)
treef1b5cf9c7d99739008ff52dbd837c574b2b0ea36 /luals-stubs
parent64bd9053a25297f7a442ca831c7da5b44bd33f84 (diff)
downloadtangara-fw-e58dcf6dc5332c60a346509436f9934d9e3bbfbb.tar.gz
WIP fix issues introduced by lvgl version bump
Diffstat (limited to 'luals-stubs')
-rw-r--r--luals-stubs/lvgl.lua10
1 files changed, 4 insertions, 6 deletions
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