arsa  2.7
IGUIImageList.h
Go to the documentation of this file.
1 // This file is part of the "Irrlicht Engine".
2 // written by Reinhard Ostermeier, reinhard@nospam.r-ostermeier.de
3 
4 #ifndef __I_GUI_IMAGE_LIST_H_INCLUDED__
5 #define __I_GUI_IMAGE_LIST_H_INCLUDED__
6 
7 #include "IGUIElement.h"
8 #include "rect.h"
9 #include "irrTypes.h"
10 
11 namespace irr
12 {
13 namespace gui
14 {
15 
17 class IGUIImageList : public virtual IReferenceCounted
18 {
19 public:
20 
22  virtual ~IGUIImageList() {};
23 
29  virtual void draw(s32 index, const core::position2d<s32>& destPos,
30  const core::rect<s32>* clip = 0) = 0;
31 
34  virtual s32 getImageCount() const = 0;
35 
38  virtual core::dimension2d<s32> getImageSize() const = 0;
39 };
40 
41 } // end namespace gui
42 } // end namespace irr
43 
44 #endif
45 
virtual s32 getImageCount() const =0
Everything in the Irrlicht Engine can be found in this namespace.
Definition: CARSADPad.h:6
Specifies a 2 dimensional size.
Definition: dimension2d.h:20
signed int s32
32 bit signed variable.
Definition: irrTypes.h:70
virtual ~IGUIImageList()
Destructor.
Definition: IGUIImageList.h:22
GLuint index
Base class of most objects of the Irrlicht Engine.
virtual void draw(s32 index, const core::position2d< s32 > &destPos, const core::rect< s32 > *clip=0)=0
virtual core::dimension2d< s32 > getImageSize() const =0