From d15596d1935298707aa40e6139cad954509ffbc2 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Thu, 8 Nov 2012 18:30:25 +0100 Subject: [PATCH] Adding backgrounds in Formspec --- doc/lua_api.txt | 6 ++++-- src/guiFormSpecMenu.cpp | 2 ++ src/guiFormSpecMenu.h | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 301832618..ed438ccee 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -694,6 +694,10 @@ image[,;,;] ^ Show an image ^ Position and size units are inventory slots +background[,;,;] +^ Use a background. When its used inventory rectangles are not drawn. +^ Position and size units are inventory slots + field[,;,;;