Irrlicht 3D Engine
IGUIImageList.h
Go to the documentation of this file.
00001 // This file is part of the "Irrlicht Engine".
00002 // written by Reinhard Ostermeier, reinhard@nospam.r-ostermeier.de
00003 
00004 #ifndef __I_GUI_IMAGE_LIST_H_INCLUDED__
00005 #define __I_GUI_IMAGE_LIST_H_INCLUDED__
00006 
00007 #include "IGUIElement.h"
00008 #include "rect.h"
00009 #include "irrTypes.h"
00010 
00011 namespace irr
00012 {
00013 namespace gui
00014 {
00015 
00017 class IGUIImageList : public virtual IReferenceCounted
00018 {
00019 public:
00020 
00022     virtual ~IGUIImageList() {};
00023 
00029     virtual void draw(s32 index, const core::position2d<s32>& destPos,
00030         const core::rect<s32>* clip = 0) = 0;
00031 
00034     virtual s32 getImageCount() const = 0;
00035 
00038     virtual core::dimension2d<s32> getImageSize() const = 0;
00039 };
00040 
00041 } // end namespace gui
00042 } // end namespace irr
00043 
00044 #endif
00045