aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2013-08-15 19:38:54 +0200
committerSfan5 <sfan5@live.de>2013-08-15 19:38:54 +0200
commita97c085e9e6f5e37c316aa5390f7cb05ad6bcacc (patch)
tree3fd4ca7e321126f25c027d208d847824ee8c7018 /doc/lua_api.txt
parent58beca005ca826f9a1f6728830d621cbdd835bf4 (diff)
downloadminetest-a97c085e9e6f5e37c316aa5390f7cb05ad6bcacc.tar.gz
minetest-a97c085e9e6f5e37c316aa5390f7cb05ad6bcacc.tar.bz2
minetest-a97c085e9e6f5e37c316aa5390f7cb05ad6bcacc.zip
Fix documentation about colors in formspec
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 59e70581c..e4e9985ac 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -970,7 +970,7 @@ textlist[<X>,<Y>;<W>,<H>;<name>;<listelem 1>,<listelem 2>,...,<listelem n>]
^ 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[<X>,<Y>;<W>,<H>;<name>;<listelem 1>,<listelem 2>,...,<listelem n>;<selected idx>;<transparent>]
@@ -996,7 +996,7 @@ box[<X>,<Y>;<W>,<H>;<color>]
^ 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[<X>,<Y>;<W>;<name>;<item 1>,<item 2>, ...,<item n>;<selected idx>]
^ show a dropdown field