summaryrefslogtreecommitdiff
path: root/doc/menu_lua_api.txt
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-05-17 12:06:36 +0200
committersapier <Sapier at GMX dot net>2014-06-14 20:51:57 +0200
commit7b3602bab3a697a2729b057c5e8a354337482389 (patch)
tree5cc0ce970c724bdb984f6cdf9cf831b6b7c61631 /doc/menu_lua_api.txt
parent5b3bbde1efe61d2d515c9323b6d031621316100c (diff)
downloadminetest-7b3602bab3a697a2729b057c5e8a354337482389.tar.gz
minetest-7b3602bab3a697a2729b057c5e8a354337482389.tar.bz2
minetest-7b3602bab3a697a2729b057c5e8a354337482389.zip
Fix regression dirt texture not beeing default in non cloud menu
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r--doc/menu_lua_api.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index cd44fa815..13ef45de0 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -103,8 +103,11 @@ core.explode_textlist_event(string) -> table
^ type: "INV" (no row selected), "CHG" (selected) or "DCL" (double-click)
GUI:
-core.set_background(type, texturepath)
+core.set_background(type, texturepath,[tile],[minsize])
^ type: "background", "overlay", "header" or "footer"
+^ tile: tile the image instead of scaling (background only)
+^ minsize: minimum tile size, images are scaled to at least this size prior
+^ doing tiling (background only)
core.set_clouds(<true/false>)
core.set_topleft_text(text)
core.show_keys_menu()