diff options
Diffstat (limited to 'libraries/irrlicht-1.8/include/IGUIImageList.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/IGUIImageList.h | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/libraries/irrlicht-1.8/include/IGUIImageList.h b/libraries/irrlicht-1.8/include/IGUIImageList.h index f1f50c1..fb4ca4b 100644 --- a/libraries/irrlicht-1.8/include/IGUIImageList.h +++ b/libraries/irrlicht-1.8/include/IGUIImageList.h | |||
@@ -1,45 +1,45 @@ | |||
1 | // This file is part of the "Irrlicht Engine". | 1 | // This file is part of the "Irrlicht Engine". |
2 | // written by Reinhard Ostermeier, reinhard@nospam.r-ostermeier.de | 2 | // written by Reinhard Ostermeier, reinhard@nospam.r-ostermeier.de |
3 | 3 | ||
4 | #ifndef __I_GUI_IMAGE_LIST_H_INCLUDED__ | 4 | #ifndef __I_GUI_IMAGE_LIST_H_INCLUDED__ |
5 | #define __I_GUI_IMAGE_LIST_H_INCLUDED__ | 5 | #define __I_GUI_IMAGE_LIST_H_INCLUDED__ |
6 | 6 | ||
7 | #include "IGUIElement.h" | 7 | #include "IGUIElement.h" |
8 | #include "rect.h" | 8 | #include "rect.h" |
9 | #include "irrTypes.h" | 9 | #include "irrTypes.h" |
10 | 10 | ||
11 | namespace irr | 11 | namespace irr |
12 | { | 12 | { |
13 | namespace gui | 13 | namespace gui |
14 | { | 14 | { |
15 | 15 | ||
16 | //! Font interface. | 16 | //! Font interface. |
17 | class IGUIImageList : public virtual IReferenceCounted | 17 | class IGUIImageList : public virtual IReferenceCounted |
18 | { | 18 | { |
19 | public: | 19 | public: |
20 | 20 | ||
21 | //! Destructor | 21 | //! Destructor |
22 | virtual ~IGUIImageList() {}; | 22 | virtual ~IGUIImageList() {}; |
23 | 23 | ||
24 | //! Draws an image and clips it to the specified rectangle if wanted | 24 | //! Draws an image and clips it to the specified rectangle if wanted |
25 | //! \param index: Index of the image | 25 | //! \param index: Index of the image |
26 | //! \param destPos: Position of the image to draw | 26 | //! \param destPos: Position of the image to draw |
27 | //! \param clip: Optional pointer to a rectalgle against which the text will be clipped. | 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. | 28 | //! If the pointer is null, no clipping will be done. |
29 | virtual void draw(s32 index, const core::position2d<s32>& destPos, | 29 | virtual void draw(s32 index, const core::position2d<s32>& destPos, |
30 | const core::rect<s32>* clip = 0) = 0; | 30 | const core::rect<s32>* clip = 0) = 0; |
31 | 31 | ||
32 | //! Returns the count of Images in the list. | 32 | //! Returns the count of Images in the list. |
33 | //! \return Returns the count of Images in the list. | 33 | //! \return Returns the count of Images in the list. |
34 | virtual s32 getImageCount() const = 0; | 34 | virtual s32 getImageCount() const = 0; |
35 | 35 | ||
36 | //! Returns the size of the images in the list. | 36 | //! Returns the size of the images in the list. |
37 | //! \return 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; | 38 | virtual core::dimension2d<s32> getImageSize() const = 0; |
39 | }; | 39 | }; |
40 | 40 | ||
41 | } // end namespace gui | 41 | } // end namespace gui |
42 | } // end namespace irr | 42 | } // end namespace irr |
43 | 43 | ||
44 | #endif | 44 | #endif |
45 | 45 | ||