aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CGUICheckBox.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/CGUICheckBox.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-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/CGUICheckBox.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CGUICheckBox.h b/libraries/irrlicht-1.8/source/Irrlicht/CGUICheckBox.h
index 09ed36b..e2cef3b 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CGUICheckBox.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CGUICheckBox.h
@@ -1,55 +1,55 @@
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_CHECKBOX_H_INCLUDED__ 5#ifndef __C_GUI_CHECKBOX_H_INCLUDED__
6#define __C_GUI_CHECKBOX_H_INCLUDED__ 6#define __C_GUI_CHECKBOX_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 "IGUICheckBox.h" 11#include "IGUICheckBox.h"
12 12
13namespace irr 13namespace irr
14{ 14{
15namespace gui 15namespace gui
16{ 16{
17 17
18 class CGUICheckBox : public IGUICheckBox 18 class CGUICheckBox : public IGUICheckBox
19 { 19 {
20 public: 20 public:
21 21
22 //! constructor 22 //! constructor
23 CGUICheckBox(bool checked, IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle); 23 CGUICheckBox(bool checked, IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle);
24 24
25 //! set if box is checked 25 //! set if box is checked
26 virtual void setChecked(bool checked); 26 virtual void setChecked(bool checked);
27 27
28 //! returns if box is checked 28 //! returns if box is checked
29 virtual bool isChecked() const; 29 virtual bool isChecked() const;
30 30
31 //! called if an event happened. 31 //! called if an event happened.
32 virtual bool OnEvent(const SEvent& event); 32 virtual bool OnEvent(const SEvent& event);
33 33
34 //! draws the element and its children 34 //! draws the element and its children
35 virtual void draw(); 35 virtual void draw();
36 36
37 //! Writes attributes of the element. 37 //! Writes attributes of the element.
38 virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; 38 virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const;
39 39
40 //! Reads attributes of the element 40 //! Reads attributes of the element
41 virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); 41 virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options);
42 42
43 private: 43 private:
44 44
45 u32 checkTime; 45 u32 checkTime;
46 bool Pressed; 46 bool Pressed;
47 bool Checked; 47 bool Checked;
48 }; 48 };
49 49
50} // end namespace gui 50} // end namespace gui
51} // end namespace irr 51} // end namespace irr
52 52
53#endif // __C_GUI_CHECKBOX_H_INCLUDED__ 53#endif // __C_GUI_CHECKBOX_H_INCLUDED__
54 54
55#endif // _IRR_COMPILE_WITH_GUI_ 55#endif // _IRR_COMPILE_WITH_GUI_