Loading...
Searching...
No Matches
IGUICheckBox.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_GUI_CHECKBOX_H_INCLUDED__
#define __I_GUI_CHECKBOX_H_INCLUDED__
#include "IGUIElement.h"
namespace irr
{
namespace gui
{
class IGUICheckBox : public IGUIElement
{
public:
IGUICheckBox(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
: IGUIElement(EGUIET_CHECK_BOX, environment, parent, id, rectangle) {}
virtual void setChecked(bool checked) = 0;
virtual bool isChecked() const = 0;
};
} // end namespace gui
} // end namespace irr
#endif
IGUIElement.h
irr::core::rect
Rectangle template.
Definition rect.h:27
irr::gui::IGUICheckBox::isChecked
virtual bool isChecked() const =0
Returns true if box is checked.
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::gui::IGUIElement::IGUIElement
IGUIElement(EGUI_ELEMENT_TYPE type, IGUIEnvironment *environment, IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle)
Constructor.
Definition IGUIElement.h:30
irr::gui::IGUIEnvironment
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.h:71
irr::gui
The gui namespace contains useful classes for easy creation of a graphical user interface.
Definition EGUIAlignment.h:11
irr::gui::EGUIET_CHECK_BOX
@ EGUIET_CHECK_BOX
A check box (IGUICheckBox).
Definition EGUIElementTypes.h:23
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0