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/source/Irrlicht/CGUIMenu.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/source/Irrlicht/CGUIMenu.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CGUIMenu.h b/libraries/irrlicht-1.8/source/Irrlicht/CGUIMenu.h index d1e9526..9faa8af 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/CGUIMenu.h +++ b/libraries/irrlicht-1.8/source/Irrlicht/CGUIMenu.h | |||
@@ -1,52 +1,52 @@ | |||
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 __C_GUI_MENU_H_INCLUDED__ | 5 | #ifndef __C_GUI_MENU_H_INCLUDED__ |
6 | #define __C_GUI_MENU_H_INCLUDED__ | 6 | #define __C_GUI_MENU_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IrrCompileConfig.h" | 8 | #include "IrrCompileConfig.h" |
9 | #ifdef _IRR_COMPILE_WITH_GUI_ | 9 | #ifdef _IRR_COMPILE_WITH_GUI_ |
10 | 10 | ||
11 | #include "CGUIContextMenu.h" | 11 | #include "CGUIContextMenu.h" |
12 | 12 | ||
13 | namespace irr | 13 | namespace irr |
14 | { | 14 | { |
15 | namespace gui | 15 | namespace gui |
16 | { | 16 | { |
17 | 17 | ||
18 | //! GUI menu interface. | 18 | //! GUI menu interface. |
19 | class CGUIMenu : public CGUIContextMenu | 19 | class CGUIMenu : public CGUIContextMenu |
20 | { | 20 | { |
21 | public: | 21 | public: |
22 | 22 | ||
23 | //! constructor | 23 | //! constructor |
24 | CGUIMenu(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle); | 24 | CGUIMenu(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle); |
25 | 25 | ||
26 | //! draws the element and its children | 26 | //! draws the element and its children |
27 | virtual void draw(); | 27 | virtual void draw(); |
28 | 28 | ||
29 | //! called if an event happened. | 29 | //! called if an event happened. |
30 | virtual bool OnEvent(const SEvent& event); | 30 | virtual bool OnEvent(const SEvent& event); |
31 | 31 | ||
32 | //! Updates the absolute position. | 32 | //! Updates the absolute position. |
33 | virtual void updateAbsolutePosition(); | 33 | virtual void updateAbsolutePosition(); |
34 | 34 | ||
35 | protected: | 35 | protected: |
36 | 36 | ||
37 | virtual void recalculateSize(); | 37 | virtual void recalculateSize(); |
38 | 38 | ||
39 | //! returns the item highlight-area | 39 | //! returns the item highlight-area |
40 | virtual core::rect<s32> getHRect(const SItem& i, const core::rect<s32>& absolute) const; | 40 | virtual core::rect<s32> getHRect(const SItem& i, const core::rect<s32>& absolute) const; |
41 | 41 | ||
42 | //! Gets drawing rect of Item | 42 | //! Gets drawing rect of Item |
43 | virtual core::rect<s32> getRect(const SItem& i, const core::rect<s32>& absolute) const; | 43 | virtual core::rect<s32> getRect(const SItem& i, const core::rect<s32>& absolute) const; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | } // end namespace gui | 46 | } // end namespace gui |
47 | } // end namespace irr | 47 | } // end namespace irr |
48 | 48 | ||
49 | 49 | ||
50 | #endif // __C_GUI_MENU_H_INCLUDED__ | 50 | #endif // __C_GUI_MENU_H_INCLUDED__ |
51 | #endif // _IRR_COMPILE_WITH_GUI_ | 51 | #endif // _IRR_COMPILE_WITH_GUI_ |
52 | 52 | ||