diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8/include/IBillboardTextSceneNode.h | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-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 '')
-rw-r--r-- | libraries/irrlicht-1.8/include/IBillboardTextSceneNode.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/libraries/irrlicht-1.8/include/IBillboardTextSceneNode.h b/libraries/irrlicht-1.8/include/IBillboardTextSceneNode.h deleted file mode 100644 index 30925da..0000000 --- a/libraries/irrlicht-1.8/include/IBillboardTextSceneNode.h +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | ||
2 | // This file is part of the "Irrlicht Engine". | ||
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | ||
4 | |||
5 | #ifndef __I_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__ | ||
6 | #define __I_BILLBOARD_TEXT_SCENE_NODE_H_INCLUDED__ | ||
7 | |||
8 | #include "IBillboardSceneNode.h" | ||
9 | |||
10 | namespace irr | ||
11 | { | ||
12 | namespace scene | ||
13 | { | ||
14 | |||
15 | //! A billboard text scene node. | ||
16 | /** Acts like a billboard which displays the currently set text. | ||
17 | Due to the exclusion of RTTI in Irrlicht we have to avoid multiple | ||
18 | inheritance. Hence, changes to the ITextSceneNode interface have | ||
19 | to be copied here manually. | ||
20 | */ | ||
21 | class IBillboardTextSceneNode : public IBillboardSceneNode | ||
22 | { | ||
23 | public: | ||
24 | |||
25 | //! Constructor | ||
26 | IBillboardTextSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id, | ||
27 | const core::vector3df& position = core::vector3df(0,0,0)) | ||
28 | : IBillboardSceneNode(parent, mgr, id, position) {} | ||
29 | |||
30 | //! Sets the size of the billboard. | ||
31 | virtual void setSize(const core::dimension2d<f32>& size) = 0; | ||
32 | |||
33 | //! Returns the size of the billboard. | ||
34 | virtual const core::dimension2d<f32>& getSize() const = 0; | ||
35 | |||
36 | //! Set the color of all vertices of the billboard | ||
37 | /** \param overallColor: the color to set */ | ||
38 | virtual void setColor(const video::SColor & overallColor) = 0; | ||
39 | |||
40 | //! Set the color of the top and bottom vertices of the billboard | ||
41 | /** \param topColor: the color to set the top vertices | ||
42 | \param bottomColor: the color to set the bottom vertices */ | ||
43 | virtual void setColor(const video::SColor & topColor, const video::SColor & bottomColor) = 0; | ||
44 | |||
45 | //! Gets the color of the top and bottom vertices of the billboard | ||
46 | /** \param topColor: stores the color of the top vertices | ||
47 | \param bottomColor: stores the color of the bottom vertices */ | ||
48 | virtual void getColor(video::SColor & topColor, video::SColor & bottomColor) const = 0; | ||
49 | |||
50 | //! sets the text string | ||
51 | virtual void setText(const wchar_t* text) = 0; | ||
52 | |||
53 | //! sets the color of the text | ||
54 | virtual void setTextColor(video::SColor color) = 0; | ||
55 | }; | ||
56 | |||
57 | } // end namespace scene | ||
58 | } // end namespace irr | ||
59 | |||
60 | |||
61 | #endif | ||
62 | |||