Skip to content

Commit a97c085

Browse files
committedAug 15, 2013
Fix documentation about colors in formspec
1 parent 58beca0 commit a97c085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/lua_api.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ textlist[<X>,<Y>;<W>,<H>;<name>;<listelem 1>,<listelem 2>,...,<listelem n>]
970970
^ x and y position the itemlist relative to the top left of the menu
971971
^ w and h are the size of the itemlist
972972
^ name fieldname sent to server on doubleclick value is current selected element
973-
^ listelements can be prepended by #colorkey (see colorkeys),
973+
^ listelements can be prepended by #color in hexadecimal format RRGGBB,
974974
^ if you want a listelement to start with # write ##
975975

976976
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>]
996996
^ simple colored semitransparent box
997997
^ x and y position the box relative to the top left of the menu
998998
^ w and h are the size of box
999-
^ colorkey (see colorkeys)
999+
^ color in hexadecimal format RRGGBB
10001000

10011001
dropdown[<X>,<Y>;<W>;<name>;<item 1>,<item 2>, ...,<item n>;<selected idx>]
10021002
^ show a dropdown field

0 commit comments

Comments
 (0)
Please sign in to comment.