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/lua_api.txt | |
parent | cf136914cf421ee52f6806eda2fa97740d0ee552 (diff) | |
download | minetest-6e8aebf4327ed43ade17cbe8e6cf652edc099651.tar.gz minetest-6e8aebf4327ed43ade17cbe8e6cf652edc099651.tar.bz2 minetest-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/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index bb94829a5..7ee9a3f2c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -8447,6 +8447,9 @@ Used by `Player:hud_add`. Returned by `Player:hud_get`. z_index = 0, -- Z index : lower z-index HUDs are displayed behind higher z-index HUDs + + style = 0, + -- For "text" elements sets font style: bitfield with 1 = bold, 2 = italic, 4 = monospace } Particle definition |