aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguiimage.cpp
diff options
context:
space:
mode:
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.