aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8.1/include/IGUIImageList.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-13 19:47:58 +1000
committerDavid Walter Seikel2014-01-13 19:47:58 +1000
commitf9158592e1478b2013afc7041d9ed041cf2d2f4a (patch)
treeb16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/include/IGUIImageList.h
parentLibraries readme updated with change markers and more of the Irrlicht changes. (diff)
downloadSledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to 'libraries/irrlicht-1.8.1/include/IGUIImageList.h')
-rw-r--r--libraries/irrlicht-1.8.1/include/IGUIImageList.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/include/IGUIImageList.h b/libraries/irrlicht-1.8.1/include/IGUIImageList.h
new file mode 100644
index 0000000..f1f50c1
--- /dev/null
+++ b/libraries/irrlicht-1.8.1/include/IGUIImageList.h
@@ -0,0 +1,45 @@
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
11namespace irr
12{
13namespace gui
14{
15
16//! Font interface.
17class IGUIImageList : public virtual IReferenceCounted
18{
19public:
20
21 //! Destructor
22 virtual ~IGUIImageList() {};
23
24 //! Draws an image and clips it to the specified rectangle if wanted
25 //! \param index: Index of the image
26 //! \param destPos: Position of the image to draw
27 //! \param clip: Optional pointer to a rectalgle against which the text will be clipped.
28 //! If the pointer is null, no clipping will be done.
29 virtual void draw(s32 index, const core::position2d<s32>& destPos,
30 const core::rect<s32>* clip = 0) = 0;
31
32 //! Returns the count of Images in the list.
33 //! \return Returns the count of Images in the list.
34 virtual s32 getImageCount() const = 0;
35
36 //! Returns the size of the images in the list.
37 //! \return Returns the size of the images in the list.
38 virtual core::dimension2d<s32> getImageSize() const = 0;
39};
40
41} // end namespace gui
42} // end namespace irr
43
44#endif
45