mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add port to favorites if not 30000
Major modmgr overhaul Add missing formspec checkbox doc
This commit is contained in:
parent
868f35e27a
commit
baf5614880
5 changed files with 424 additions and 280 deletions
|
@ -997,6 +997,13 @@ dropdown[<X>,<Y>;<W>;<name>;<item 1>,<item 2>, ...,<item n>;<selected idx>]
|
|||
^ index of currently selected dropdown item
|
||||
^ color in hexadecimal format RRGGBB
|
||||
|
||||
checkbox[<X>,<Y>;<name>;<label>;<selected>]
|
||||
^ show a checkbox
|
||||
^ x and y position of checkbox
|
||||
^ name fieldname data is transfered to lua
|
||||
^ label to be shown left of checkbox
|
||||
^ selected (optional) true/false
|
||||
|
||||
Note: do NOT use a element name starting with "key_" those names are reserved to
|
||||
pass key press events to formspec!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue