Irrlicht 3D Engine
IGUICheckBox.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __I_GUI_CHECKBOX_H_INCLUDED__
00006 #define __I_GUI_CHECKBOX_H_INCLUDED__
00007 
00008 #include "IGUIElement.h"
00009 
00010 namespace irr
00011 {
00012 namespace gui
00013 {
00014 
00016 
00019     class IGUICheckBox : public IGUIElement
00020     {
00021     public:
00022 
00024         IGUICheckBox(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
00025             : IGUIElement(EGUIET_CHECK_BOX, environment, parent, id, rectangle) {}
00026 
00028         virtual void setChecked(bool checked) = 0;
00029 
00031         virtual bool isChecked() const = 0;
00032     };
00033 
00034 } // end namespace gui
00035 } // end namespace irr
00036 
00037 #endif
00038