Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IGUIImageList.hpp
1// This file is part of the "Irrlicht Engine".
2// written by Reinhard Ostermeier, reinhard@nospam.r-ostermeier.de
3
4#ifndef NIRT_I_GUI_IMAGE_LIST_HPP_INCLUDED
5#define NIRT_I_GUI_IMAGE_LIST_HPP_INCLUDED
6
7#include <nirtcpp/core/engine/IGUIElement.hpp>
8#include <nirtcpp/core/engine/rect.hpp>
9#include <nirtcpp/core/engine/nirt_types.hpp>
10
11namespace nirt
12{
13namespace gui
14{
15
17class IGUIImageList : public virtual IReferenceCounted
18{
19public:
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
39};
40
41} // end namespace gui
42} // end namespace nirt
43
44#endif
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
Font interface.
Definition IGUIImageList.hpp:18
virtual ~IGUIImageList()
Destructor.
Definition IGUIImageList.hpp:22
virtual core::dimension2d< s32 > getImageSize() const =0
virtual s32 getImageCount() const =0
virtual void draw(s32 index, const core::position2d< s32 > &destPos, const core::rect< s32 > *clip=0)=0
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print