Duckcpp 2.1.0
Duckcpp 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 DCPP_I_GUI_IMAGE_LIST_HPP_INCLUDED
5#define DCPP_I_GUI_IMAGE_LIST_HPP_INCLUDED
6
7#include <duckcpp/core/engine/IGUIElement.hpp>
8#include <duckcpp/core/engine/rect.hpp>
9#include <duckcpp/core/engine/dcpp_types.hpp>
10
11namespace dcpp
12{
13namespace gui
14{
15
17class IGUIImageList : public virtual IReferenceCounted
18{
19public:
20
22 virtual ~IGUIImageList() {};
23
29 virtual void draw(i32 index, const nub::position2d<i32>& destPos,
30 const nub::rect<i32>* clip = 0) = 0;
31
34 virtual i32 getImageCount() const = 0;
35
39};
40
41} // end namespace gui
42} // end namespace dcpp
43
44#endif
Base class of most objects of the Duckcpp Engine.
Definition IReferenceCounted.hpp:46
Font interface.
Definition IGUIImageList.hpp:18
virtual void draw(i32 index, const nub::position2d< i32 > &destPos, const nub::rect< i32 > *clip=0)=0
virtual nub::dimension2d< i32 > getImageSize() const =0
virtual i32 getImageCount() const =0
virtual ~IGUIImageList()
Destructor.
Definition IGUIImageList.hpp:22
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int i32
32 bit signed variable.
Definition irrTypes.hpp:72

Duckcpp    @cppfx.xyz