mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
a307e806eb97ec35c28c57f46f85009f49427d1b
- You can create fixed-size fonts for use in Lua Scripts - The fonts are deleted after the script - The use of fonts is limited to the following functions currently: - RenderString() - getRenderWidth() - FontHeight() - Example in Lua scripts: Normal usage: local font = FONT.MENU RenderString(font, ....) Use DynFonts: Creates a font with height of 50px: local font = n:getDynFont(0, 50) local useDynFont = true RenderString(useDynFont, font, ....) or Creates a font in which the text("Example: xyz") has a width of 200px: local font = n:getDynFont(200, 0, "Example: xyz") local useDynFont = true RenderString(useDynFont, font, ....) - Set Lua api version to 1.13
…
…
…
…
…
The file is empty.
Description
Languages
C++
85.3%
C
12.3%
M4
0.6%
Makefile
0.6%
JavaScript
0.4%
Other
0.7%