diff options
author | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
commit | 959831f4ef5a3e797f576c3de08cd65032c997ad (patch) | |
tree | e7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IGUIImage.h | |
parent | Add info about changes to Irrlicht. (diff) | |
download | SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2 SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz |
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/include/IGUIImage.h | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/libraries/irrlicht-1.8/include/IGUIImage.h b/libraries/irrlicht-1.8/include/IGUIImage.h index 9bca201..5e6d347 100644 --- a/libraries/irrlicht-1.8/include/IGUIImage.h +++ b/libraries/irrlicht-1.8/include/IGUIImage.h | |||
@@ -1,58 +1,58 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __I_GUI_IMAGE_H_INCLUDED__ | 5 | #ifndef __I_GUI_IMAGE_H_INCLUDED__ |
6 | #define __I_GUI_IMAGE_H_INCLUDED__ | 6 | #define __I_GUI_IMAGE_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IGUIElement.h" | 8 | #include "IGUIElement.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | namespace video | 12 | namespace video |
13 | { | 13 | { |
14 | class ITexture; | 14 | class ITexture; |
15 | } | 15 | } |
16 | namespace gui | 16 | namespace gui |
17 | { | 17 | { |
18 | 18 | ||
19 | //! GUI element displaying an image. | 19 | //! GUI element displaying an image. |
20 | class IGUIImage : public IGUIElement | 20 | class IGUIImage : public IGUIElement |
21 | { | 21 | { |
22 | public: | 22 | public: |
23 | 23 | ||
24 | //! constructor | 24 | //! constructor |
25 | IGUIImage(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle) | 25 | IGUIImage(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle) |
26 | : IGUIElement(EGUIET_IMAGE, environment, parent, id, rectangle) {} | 26 | : IGUIElement(EGUIET_IMAGE, environment, parent, id, rectangle) {} |
27 | 27 | ||
28 | //! Sets an image texture | 28 | //! Sets an image texture |
29 | virtual void setImage(video::ITexture* image) = 0; | 29 | virtual void setImage(video::ITexture* image) = 0; |
30 | 30 | ||
31 | //! Gets the image texture | 31 | //! Gets the image texture |
32 | virtual video::ITexture* getImage() const = 0; | 32 | virtual video::ITexture* getImage() const = 0; |
33 | 33 | ||
34 | //! Sets the color of the image | 34 | //! Sets the color of the image |
35 | virtual void setColor(video::SColor color) = 0; | 35 | virtual void setColor(video::SColor color) = 0; |
36 | 36 | ||
37 | //! Sets if the image should scale to fit the element | 37 | //! Sets if the image should scale to fit the element |
38 | virtual void setScaleImage(bool scale) = 0; | 38 | virtual void setScaleImage(bool scale) = 0; |
39 | 39 | ||
40 | //! Sets if the image should use its alpha channel to draw itself | 40 | //! Sets if the image should use its alpha channel to draw itself |
41 | virtual void setUseAlphaChannel(bool use) = 0; | 41 | virtual void setUseAlphaChannel(bool use) = 0; |
42 | 42 | ||
43 | //! Gets the color of the image | 43 | //! Gets the color of the image |
44 | virtual video::SColor getColor() const = 0; | 44 | virtual video::SColor getColor() const = 0; |
45 | 45 | ||
46 | //! Returns true if the image is scaled to fit, false if not | 46 | //! Returns true if the image is scaled to fit, false if not |
47 | virtual bool isImageScaled() const = 0; | 47 | virtual bool isImageScaled() const = 0; |
48 | 48 | ||
49 | //! Returns true if the image is using the alpha channel, false if not | 49 | //! Returns true if the image is using the alpha channel, false if not |
50 | virtual bool isAlphaChannelUsed() const = 0; | 50 | virtual bool isAlphaChannelUsed() const = 0; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | 53 | ||
54 | } // end namespace gui | 54 | } // end namespace gui |
55 | } // end namespace irr | 55 | } // end namespace irr |
56 | 56 | ||
57 | #endif | 57 | #endif |
58 | 58 | ||