diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-06-14 13:34:41 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-06-14 13:34:41 +1000 |
| commit | 5086ab96ea648cd842addb02b188f29bff7bbadd (patch) | |
| tree | 7a3579d655c906ace9e76c394c33eb164d7ce7aa /luals-stubs | |
| parent | 194f0e6b59259986b36448c376788c227d490f06 (diff) | |
| parent | 37ed3996017e43b343e4880981d70c4a6d4a5636 (diff) | |
| download | tangara-fw-5086ab96ea648cd842addb02b188f29bff7bbadd.tar.gz | |
Merge branch 'jqln/lvgl-bump'
Diffstat (limited to 'luals-stubs')
| -rw-r--r-- | luals-stubs/lvgl.lua | 10 |
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 |
