diff options
author | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
commit | 7028cbe09c688437910a25623098762bf0fa592d (patch) | |
tree | 10b5af58277d9880380c2251f109325542c4e6eb /libraries/irrlicht-1.8.1/source/Irrlicht/CGUICheckBox.h | |
parent | Move lemon to the src/others directory. (diff) | |
download | SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2 SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz |
Move Irrlicht to src/others.
Diffstat (limited to 'libraries/irrlicht-1.8.1/source/Irrlicht/CGUICheckBox.h')
-rw-r--r-- | libraries/irrlicht-1.8.1/source/Irrlicht/CGUICheckBox.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/libraries/irrlicht-1.8.1/source/Irrlicht/CGUICheckBox.h b/libraries/irrlicht-1.8.1/source/Irrlicht/CGUICheckBox.h deleted file mode 100644 index 09ed36b..0000000 --- a/libraries/irrlicht-1.8.1/source/Irrlicht/CGUICheckBox.h +++ /dev/null | |||
@@ -1,55 +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_CHECKBOX_H_INCLUDED__ | ||
6 | #define __C_GUI_CHECKBOX_H_INCLUDED__ | ||
7 | |||
8 | #include "IrrCompileConfig.h" | ||
9 | #ifdef _IRR_COMPILE_WITH_GUI_ | ||
10 | |||
11 | #include "IGUICheckBox.h" | ||
12 | |||
13 | namespace irr | ||
14 | { | ||
15 | namespace gui | ||
16 | { | ||
17 | |||
18 | class CGUICheckBox : public IGUICheckBox | ||
19 | { | ||
20 | public: | ||
21 | |||
22 | //! constructor | ||
23 | CGUICheckBox(bool checked, IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle); | ||
24 | |||
25 | //! set if box is checked | ||
26 | virtual void setChecked(bool checked); | ||
27 | |||
28 | //! returns if box is checked | ||
29 | virtual bool isChecked() const; | ||
30 | |||
31 | //! called if an event happened. | ||
32 | virtual bool OnEvent(const SEvent& event); | ||
33 | |||
34 | //! draws the element and its children | ||
35 | virtual void draw(); | ||
36 | |||
37 | //! Writes attributes of the element. | ||
38 | virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; | ||
39 | |||
40 | //! Reads attributes of the element | ||
41 | virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); | ||
42 | |||
43 | private: | ||
44 | |||
45 | u32 checkTime; | ||
46 | bool Pressed; | ||
47 | bool Checked; | ||
48 | }; | ||
49 | |||
50 | } // end namespace gui | ||
51 | } // end namespace irr | ||
52 | |||
53 | #endif // __C_GUI_CHECKBOX_H_INCLUDED__ | ||
54 | |||
55 | #endif // _IRR_COMPILE_WITH_GUI_ | ||