summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2020-12-18 19:38:07 +0100
committerGitHub <noreply@github.com>2020-12-18 19:38:07 +0100
commit6f8a1c99d5a30de0021c2c03bb5f79eb8281f868 (patch)
tree8645cdb1c383cfeebeb92157d8d38c989ea92bdc /doc
parente6380565236d6d963acf75538f1f8fec807190cc (diff)
downloadminetest-6f8a1c99d5a30de0021c2c03bb5f79eb8281f868.tar.gz
minetest-6f8a1c99d5a30de0021c2c03bb5f79eb8281f868.tar.bz2
minetest-6f8a1c99d5a30de0021c2c03bb5f79eb8281f868.zip
Documentation for highest formspec_version[] and changelog (#10592)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index ddb6d4e19..708d6b0bc 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2113,6 +2113,22 @@ Examples
list[current_player;main;0,3.5;8,4;]
list[current_player;craft;3,0;3,3;]
list[current_player;craftpreview;7,1;1,1;]
+
+Version History
+---------------
+
+* FORMSPEC VERSION 1:
+ * (too much)
+* FORMSPEC VERSION 2:
+ * Forced real coordinates
+ * background9[]: 9-slice scaling parameters
+* FORMSPEC VERSION 3:
+ * Formspec elements are drawn in the order of definition
+ * bgcolor[]: use 3 parameters (bgcolor, formspec (now an enum), fbgcolor)
+ * box[] and image[] elements enable clipping by default
+ * new element: scroll_container[]
+* FORMSPEC VERSION 4:
+ * Allow dropdown indexing events
Elements
--------
@@ -2125,6 +2141,7 @@ Elements
* Clients older than this version can neither show newer elements nor display
elements with new arguments correctly.
* Available since feature `formspec_version_element`.
+* See also: [Version History]
### `size[<W>,<H>,<fixed_size>]`