From: RealBadAngel Date: Thu, 8 Nov 2012 18:22:37 +0000 (+0100) Subject: Adding background to Formspec X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=8e5167d72622dec428477a7fff529b7dbc974106;p=zefram%2Fminetest%2Fminetest_engine.git Adding background to Formspec --- diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 30183261..500b514d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -694,6 +694,11 @@ image[,;,;] ^ Show an image ^ Position and size units are inventory slots +background[,;,;] +^ Use a background. Inventory rectangles are not drawn then. +^ Position and size units are inventory slots +^ Example for formspec 8x4 in 16x resolution: image shall be sized 8*16px x 4*16px + field[,;,;;