Irrlicht 3D Engine
IGUICheckBox.h
Go to the documentation of this file.
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_GUI_CHECKBOX_H_INCLUDED__
6
#define __I_GUI_CHECKBOX_H_INCLUDED__
7
8
#include "
IGUIElement.h
"
9
10
namespace
irr
11
{
12
namespace
gui
13
{
14
16
19
class
IGUICheckBox
:
public
IGUIElement
20
{
21
public
:
22
24
IGUICheckBox
(
IGUIEnvironment
* environment,
IGUIElement
* parent,
s32
id
,
core::rect<s32>
rectangle)
25
:
IGUIElement
(
EGUIET_CHECK_BOX
, environment, parent, id, rectangle) {}
26
28
virtual
void
setChecked
(
bool
checked) = 0;
29
31
virtual
bool
isChecked
()
const
= 0;
32
};
33
34
}
// end namespace gui
35
}
// end namespace irr
36
37
#endif
38
irr::gui::IGUICheckBox::IGUICheckBox
IGUICheckBox(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
Definition:
IGUICheckBox.h:24
irr::gui::IGUICheckBox::setChecked
virtual void setChecked(bool checked)=0
Set if box is checked.
irr::s32
signed int s32
32 bit signed variable.
Definition:
irrTypes.h:66
irr::gui::EGUIET_CHECK_BOX
@ EGUIET_CHECK_BOX
A check box (IGUICheckBox)
Definition:
EGUIElementTypes.h:23
IGUIElement.h
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition:
aabbox3d.h:12
irr::core::rect< s32 >
irr::gui::IGUICheckBox
GUI Check box interface.
Definition:
IGUICheckBox.h:19
irr::gui::IGUIEnvironment
GUI Environment. Used as factory and manager of all other GUI elements.
Definition:
IGUIEnvironment.h:70
irr::gui::IGUICheckBox::isChecked
virtual bool isChecked() const =0
Returns true if box is checked.
irr::gui::IGUIElement
Base class of all GUI elements.
Definition:
IGUIElement.h:25
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Mon Apr 25 2022 14:03:04 for Irrlicht 3D Engine by
Doxygen
1.8.17