1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

HUD: Text element color support (#14558)

This commit is contained in:
SmallJoker 2024-04-20 20:36:44 +02:00 committed by GitHub
parent d2a089ffd9
commit c8a41409d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 39 additions and 12 deletions

View file

@ -8,6 +8,8 @@ local font_states = {
{4, "Monospace font"},
{5, "Bold and monospace font"},
{7, "ZOMG all the font styles"},
{7, "Colors test! " .. minetest.colorize("green", "Green") ..
minetest.colorize("red", "\nRed") .. " END"},
}