#pragma once

#include "../Gui.h"

class CCheckBox : public CElement
{
private:
	std::string Text, VarName;
	bool m_Checked;
	CPos Pos;
	CTexture *CheckBox;
	DrawingElementState *curState;
public:
	CCheckBox(int X, int Y, std::string TEXT, std::string VAR, std::string Name);

	std::string GetVarName();
	int GetChecked();
	void SetChecked( bool State );
	std::string GetText();

	void Draw();
	void MouseMove( CMouse *Mouse );
	void KeyEvent( SKey Key );

};