GUI element displaying an image. More...
#include <IGUIImage.h>
GUI element displaying an image.
Definition at line 20 of file IGUIImage.h.
irr::gui::IGUIImage::IGUIImage | ( | IGUIEnvironment * | environment, |
IGUIElement * | parent, | ||
s32 | id, | ||
core::rect< s32 > | rectangle | ||
) | [inline] |
constructor
Definition at line 25 of file IGUIImage.h.
virtual video::SColor irr::gui::IGUIImage::getColor | ( | ) | const [pure virtual] |
Gets the color of the image.
virtual video::ITexture* irr::gui::IGUIImage::getImage | ( | ) | const [pure virtual] |
Gets the image texture.
virtual bool irr::gui::IGUIImage::isAlphaChannelUsed | ( | ) | const [pure virtual] |
Returns true if the image is using the alpha channel, false if not.
virtual bool irr::gui::IGUIImage::isImageScaled | ( | ) | const [pure virtual] |
Returns true if the image is scaled to fit, false if not.
virtual void irr::gui::IGUIImage::setColor | ( | video::SColor | color | ) | [pure virtual] |
Sets the color of the image.
virtual void irr::gui::IGUIImage::setImage | ( | video::ITexture * | image | ) | [pure virtual] |
Sets an image texture.
virtual void irr::gui::IGUIImage::setScaleImage | ( | bool | scale | ) | [pure virtual] |
Sets if the image should scale to fit the element.
virtual void irr::gui::IGUIImage::setUseAlphaChannel | ( | bool | use | ) | [pure virtual] |
Sets if the image should use its alpha channel to draw itself.