From b29ade63e3e6b4b3b163907e391f2968193ba7be Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 27 Oct 2021 00:59:57 -0500 Subject: Correct documentation --- src/client/lua_api/gui/iguiimage.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/client/lua_api/gui/iguiimage.cpp') diff --git a/src/client/lua_api/gui/iguiimage.cpp b/src/client/lua_api/gui/iguiimage.cpp index 81f6568..3251fff 100644 --- a/src/client/lua_api/gui/iguiimage.cpp +++ b/src/client/lua_api/gui/iguiimage.cpp @@ -25,11 +25,10 @@ extern IrrlichtDevice* device; extern IGUIEnvironment* env; /*** -@function gui.newiguiimage() Creates a new guielement with an image. -The size of the iguielement is the same as the itexture used for it's creation. -@tparam vector2d position The upper-left hand corner of the element. -it is offset from the upper-left of the parent element. +The size of the iguielement is the same as the itexture used for its creation. +@function gui.newiguiimage() +@tparam vector2d position The upper-left hand corner of the element. The element is offset from the upper-left of the parent element. @tparam number alpha The transparency of the element. @tparam itexture texture The texture to display on this element. @tparam? iguielement parent The parent element of the button. -- cgit v1.2.3-70-g09d2