From: RealBadAngel Date: Thu, 8 Nov 2012 18:22:37 +0000 (+0100) Subject: Adding background to Formspec X-Git-Tag: 0.4.4~84^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F284%2Fhead;p=oweals%2Fminetest.git Adding background to Formspec --- diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 301832618..500b514d9 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[,;,;;