From 7b3602bab3a697a2729b057c5e8a354337482389 Mon Sep 17 00:00:00 2001 From: sapier Date: Sat, 17 May 2014 12:06:36 +0200 Subject: Fix regression dirt texture not beeing default in non cloud menu --- doc/menu_lua_api.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') 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() core.set_topleft_text(text) core.show_keys_menu() -- cgit v1.2.3