Update documentation.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5562 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-11-03 21:42:16 +00:00
parent 6721f5b9bc
commit 99f957efe9
2 changed files with 4 additions and 2 deletions

View File

@ -295,7 +295,7 @@ public:
of the texture to draw itself.
\param parent Parent gui element of the image.
\param id Id to identify the gui element.
\param text Title text of the image.
\param text Title text of the image (not displayed).
\return Pointer to the created image element. Returns 0 if an error
occurred. This pointer should not be dropped. See
IReferenceCounted::drop() for more information. */
@ -307,7 +307,7 @@ public:
\param rectangle Rectangle specifying the borders of the image.
\param parent Parent gui element of the image.
\param id Id to identify the gui element.
\param text Title text of the image.
\param text Title text of the image (not displayed).
\param useAlphaChannel Sets if the image should use the alpha channel
of the texture to draw itself.
\return Pointer to the created image element. Returns 0 if an error

View File

@ -32,6 +32,8 @@ namespace gui
virtual video::ITexture* getImage() const = 0;
//! Sets the color of the image
/** \param color Color with which the image is drawn. If the color
equals Color(255,255,255,255) it is ignored. */
virtual void setColor(video::SColor color) = 0;
//! Sets if the image should scale to fit the element