44 #include "UI/button.h"
61 WS_Selected = Widget::WS_Mezzanine_Reserved_1
66 WG_SelectedNormal = Widget::WG_Mezzanine_Reserved_1,
67 WG_SelectedHovered = Widget::WG_Mezzanine_Reserved_2
83 void ConstructCheckbox();
109 virtual Boole IsSelected();
112 virtual Boole IsLocked();
115 virtual void ManualSelect(
Boole Select);
118 virtual void SetSelectLock(
Boole Lock);
120 virtual const String& GetTypeName()
const;
126 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
128 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
131 static String GetSerializableName();
137 virtual void _OnActivate();
139 virtual void _OnDeactivate();
141 virtual void _OnSelected();
143 virtual void _OnDeselected();
159 virtual String GetWidgetTypeName()
const;
187 virtual void DestroyWidget(
Widget* ToBeDestroyed);
static const String TypeName
String containing the type name for this class: "CheckBox".
bool Boole
Generally acts a single bit, true or false.
Boole SelectLock
Stores whether or not the current state of this CheckBox is locked.
All the definitions for datatypes as well as some basic conversion functions are defined here...
CheckBoxFactory()
Class constructor.
static const String EventSelected
Event name for when this checkbox is Selected.
This is the factory implementation for CheckBox widgets.
This class represents a 2D rect which can express the size and position of a renderable on screen...
A light-weight handle for manipulating nodes in DOM tree.
WidgetGroupIDExt
Enum describing additional pre-initialized RenderLayerGroups created by the Checkbox widget...
static const String EventDeselected
Event name for when this checkbox is Deselected.
WidgetStateExt
Enum describing extended widget states for the CheckBox widget.
The bulk of the engine components go in this namspace.
virtual ~CheckBoxFactory()
Class destructor.
This is a simple widget for storing a bool value.
std::map< String, String > NameValuePairMap
This is a datatype mostly used for describing settings or parameters that can't be declared in advanc...
This class is a helper class for creating UI's. It is responsible for storing and keeping track of al...
std::string String
A datatype used to a series of characters.