Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

# IGUIImage.h

Go to the documentation of this file.

    00001 // Copyright (C) 2002-2009 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004
    00005 #ifndef __I_GUI_IMAGE_H_INCLUDED__
    00006 #define __I_GUI_IMAGE_H_INCLUDED__
    00007
    00008 #include "IGUIElement.h"
    00009
    00010 namespace irr
    00011 {
    00012 namespace video
    00013 {
    00014         class ITexture;
    00015 }
    00016 namespace gui
    00017 {
    00018
    00020         class IGUIImage : public IGUIElement
    00021         {
    00022         public:
    00023
    00025                 IGUIImage(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
    00026                         : IGUIElement(EGUIET_IMAGE, environment, parent, id, rectangle) {}
    00027
    00029                 virtual void setImage(video::ITexture* image) = 0;
    00030
    00032                 virtual void setColor(video::SColor color) = 0;
    00033
    00035                 virtual void setScaleImage(bool scale) = 0;
    00036
    00038                 virtual void setUseAlphaChannel(bool use) = 0;
    00039
    00041                 virtual bool isImageScaled() const = 0;
    00042
    00044                 virtual bool isAlphaChannelUsed() const = 0;
    00045         };
    00046
    00047
    00048 } // end namespace gui
    00049 } // end namespace irr
    00050
    00051 #endif
    00052

| The Irrlicht Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated on Sun Jan 10 09:24:03 2010 by Doxygen (1.5.6)