From: Sfan5 Date: Thu, 15 Aug 2013 17:38:54 +0000 (+0200) Subject: Fix documentation about colors in formspec X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=a97c085e9e6f5e37c316aa5390f7cb05ad6bcacc;p=zefram%2Fminetest%2Fminetest_engine.git Fix documentation about colors in formspec --- diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 59e70581..e4e9985a 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -970,7 +970,7 @@ textlist[,;,;;,,...,] ^ x and y position the itemlist relative to the top left of the menu ^ w and h are the size of the itemlist ^ name fieldname sent to server on doubleclick value is current selected element -^ listelements can be prepended by #colorkey (see colorkeys), +^ listelements can be prepended by #color in hexadecimal format RRGGBB, ^ if you want a listelement to start with # write ## textlist[,;,;;,,...,;;] @@ -996,7 +996,7 @@ box[,;,;] ^ simple colored semitransparent box ^ x and y position the box relative to the top left of the menu ^ w and h are the size of box -^ colorkey (see colorkeys) +^ color in hexadecimal format RRGGBB dropdown[,;;;,, ...,;] ^ show a dropdown field