Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IGUIImage.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_GUI_IMAGE_H_INCLUDED__
6 #define __I_GUI_IMAGE_H_INCLUDED__
7 
8 #include "IGUIElement.h"
9 
10 namespace irr
11 {
12 namespace video
13 {
14  class ITexture;
15 }
16 namespace gui
17 {
18 
20  class IGUIImage : public IGUIElement
21  {
22  public:
23 
25  IGUIImage(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
26  : IGUIElement(EGUIET_IMAGE, environment, parent, id, rectangle) {}
27 
29  virtual void setImage(video::ITexture* image) = 0;
30 
32  virtual void setColor(video::SColor color) = 0;
33 
35  virtual void setScaleImage(bool scale) = 0;
36 
38  virtual void setUseAlphaChannel(bool use) = 0;
39 
41  virtual bool isImageScaled() const = 0;
42 
44  virtual bool isAlphaChannelUsed() const = 0;
45  };
46 
47 
48 } // end namespace gui
49 } // end namespace irr
50 
51 #endif
52 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Tue Jun 5 2012 17:57:11 by Doxygen (1.8.1)