diff --git a/include/IGUIEnvironment.h b/include/IGUIEnvironment.h index 304c46ac..0fc2a8ec 100644 --- a/include/IGUIEnvironment.h +++ b/include/IGUIEnvironment.h @@ -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 diff --git a/include/IGUIImage.h b/include/IGUIImage.h index f9873aad..c7977034 100644 --- a/include/IGUIImage.h +++ b/include/IGUIImage.h @@ -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