5#ifndef __I_GUI_IMAGE_H_INCLUDED__
6#define __I_GUI_IMAGE_H_INCLUDED__
IGUIElement(EGUI_ELEMENT_TYPE type, IGUIEnvironment *environment, IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle)
Constructor.
GUI Environment. Used as factory and manager of all other GUI elements.
IGUIImage(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
virtual void setImage(video::ITexture *image)=0
Sets an image texture.
virtual video::SColor getColor() const =0
Gets the color of the image.
virtual bool isAlphaChannelUsed() const =0
Returns true if the image is using the alpha channel, false if not.
virtual void setScaleImage(bool scale)=0
Sets if the image should scale to fit the element.
virtual void setUseAlphaChannel(bool use)=0
Sets if the image should use its alpha channel to draw itself.
virtual video::ITexture * getImage() const =0
Gets the image texture.
virtual void setColor(video::SColor color)=0
Sets the color of the image.
virtual bool isImageScaled() const =0
Returns true if the image is scaled to fit, false if not.
Interface of a Video Driver dependent Texture.
Class representing a 32 bit ARGB color.
The gui namespace contains useful classes for easy creation of a graphical user interface.
@ EGUIET_IMAGE
An image (IGUIImage).
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Everything in the Irrlicht Engine can be found in this namespace.
signed int s32
32 bit signed variable.