diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CGUIMeshViewer.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CGUIMeshViewer.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CGUIMeshViewer.h b/libraries/irrlicht-1.8/source/Irrlicht/CGUIMeshViewer.h deleted file mode 100644 index 4164fb1..0000000 --- a/libraries/irrlicht-1.8/source/Irrlicht/CGUIMeshViewer.h +++ /dev/null | |||
@@ -1,61 +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 __C_GUI_MESH_VIEWER_H_INCLUDED__ | ||
6 | #define __C_GUI_MESH_VIEWER_H_INCLUDED__ | ||
7 | |||
8 | #include "IrrCompileConfig.h" | ||
9 | #ifdef _IRR_COMPILE_WITH_GUI_ | ||
10 | |||
11 | #include "IGUIMeshViewer.h" | ||
12 | #include "SMaterial.h" | ||
13 | |||
14 | namespace irr | ||
15 | { | ||
16 | |||
17 | namespace gui | ||
18 | { | ||
19 | |||
20 | class CGUIMeshViewer : public IGUIMeshViewer | ||
21 | { | ||
22 | public: | ||
23 | |||
24 | //! constructor | ||
25 | CGUIMeshViewer(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle); | ||
26 | |||
27 | //! destructor | ||
28 | virtual ~CGUIMeshViewer(); | ||
29 | |||
30 | //! sets the mesh to be shown | ||
31 | virtual void setMesh(scene::IAnimatedMesh* mesh); | ||
32 | |||
33 | //! Gets the displayed mesh | ||
34 | virtual scene::IAnimatedMesh* getMesh() const; | ||
35 | |||
36 | //! sets the material | ||
37 | virtual void setMaterial(const video::SMaterial& material); | ||
38 | |||
39 | //! gets the material | ||
40 | virtual const video::SMaterial& getMaterial() const; | ||
41 | |||
42 | //! called if an event happened. | ||
43 | virtual bool OnEvent(const SEvent& event); | ||
44 | |||
45 | //! draws the element and its children | ||
46 | virtual void draw(); | ||
47 | |||
48 | private: | ||
49 | |||
50 | video::SMaterial Material; | ||
51 | scene::IAnimatedMesh* Mesh; | ||
52 | }; | ||
53 | |||
54 | |||
55 | } // end namespace gui | ||
56 | } // end namespace irr | ||
57 | |||
58 | #endif // _IRR_COMPILE_WITH_GUI_ | ||
59 | |||
60 | #endif // __C_GUI_MESH_VIEWER_H_INCLUDED__ | ||
61 | |||