#ifndef __I_GUI_IMAGE_H_INCLUDED__
#define __I_GUI_IMAGE_H_INCLUDED__
#include "IGUIElement.h"
namespace irr
{
namespace video
{
class ITexture;
}
namespace gui
{
class IGUIImage : public IGUIElement
{
public:
IGUIImage(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
: IGUIElement(EGUIET_IMAGE, environment, parent, id, rectangle) {}
virtual void setImage(video::ITexture* image) = 0;
virtual video::ITexture* getImage() const = 0;
virtual void setColor(video::SColor color) = 0;
virtual void setScaleImage(bool scale) = 0;
virtual void setUseAlphaChannel(bool use) = 0;
virtual video::SColor getColor() const = 0;
virtual bool isImageScaled() const = 0;
virtual bool isAlphaChannelUsed() const = 0;
};
}
}
#endif