\r
#include "CGUICheckBox.h"\r
\r
-#ifdef _IRR_COMPILE_WITH_GUI_\r
-\r
#include "IGUISkin.h"\r
#include "IGUIEnvironment.h"\r
#include "IVideoDriver.h"\r
}\r
\r
\r
-//! Writes attributes of the element.\r
-void CGUICheckBox::serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const\r
-{\r
- IGUICheckBox::serializeAttributes(out,options);\r
-\r
- out->addBool("Checked", Checked);\r
- out->addBool("Border", Border);\r
- out->addBool("Background", Background);\r
-}\r
-\r
-\r
-//! Reads attributes of the element\r
-void CGUICheckBox::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options=0)\r
-{\r
- Checked = in->getAttributeAsBool ("Checked");\r
- Border = in->getAttributeAsBool ("Border", Border);\r
- Background = in->getAttributeAsBool ("Background", Background);\r
-\r
- IGUICheckBox::deserializeAttributes(in,options);\r
-}\r
-\r
-\r
} // end namespace gui\r
} // end namespace irr\r
-\r
-#endif // _IRR_COMPILE_WITH_GUI_\r
-\r