diff options
author | sfan5 <sfan5@live.de> | 2021-07-27 19:11:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 19:11:46 +0200 |
commit | 6e8aebf4327ed43ade17cbe8e6cf652edc099651 (patch) | |
tree | 4977c6c9f9b0ceb92098694b4f8b990dc4b50822 /doc/client_lua_api.txt | |
parent | cf136914cf421ee52f6806eda2fa97740d0ee552 (diff) | |
download | hax-minetest-server-6e8aebf4327ed43ade17cbe8e6cf652edc099651.tar.gz hax-minetest-server-6e8aebf4327ed43ade17cbe8e6cf652edc099651.zip |
Add bold, italic and monospace font styling for HUD text elements (#11478)
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r-- | doc/client_lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index d239594f7..24d23b0b5 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -1314,6 +1314,8 @@ It can be created via `Raycast(pos1, pos2, objects, liquids)` or -- ^ See "HUD Element Types" size = { x=100, y=100 }, -- default {x=0, y=0} -- ^ Size of element in pixels + style = 0, + -- ^ For "text" elements sets font style: bitfield with 1 = bold, 2 = italic, 4 = monospace } ``` |