aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguiimage.cpp
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2021-10-27 00:59:57 -0500
committerAlexander M Pickering <alex@cogarr.net>2021-10-27 00:59:57 -0500
commitb29ade63e3e6b4b3b163907e391f2968193ba7be (patch)
treec70378e1e284c6fb4ad9eb81f5d8d12eb35883ce /src/client/lua_api/gui/iguiimage.cpp
parentc4f478522ac796476b16233b9606d4c37e916551 (diff)
downloadbrokengine-b29ade63e3e6b4b3b163907e391f2968193ba7be.tar.gz
brokengine-b29ade63e3e6b4b3b163907e391f2968193ba7be.tar.bz2
brokengine-b29ade63e3e6b4b3b163907e391f2968193ba7be.zip
Correct documentation
Diffstat (limited to 'src/client/lua_api/gui/iguiimage.cpp')
-rw-r--r--src/client/lua_api/gui/iguiimage.cpp7
1 files changed, 3 insertions, 4 deletions
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.