CheckBoxState Class Reference

#include <Pt/Forms/CheckBoxStyle.h>

Stores the transient render state for a check box widget. More...

Public Member Functions

 CheckBoxState ()
 Constructs an empty check box state.
 
bool isEnabled () const
 Returns true if the widget is currently enabled.
 
void setEnabled (bool value)
 Sets whether the widget is enabled.
 
bool isHovered () const
 Returns true if the pointer is currently hovering the widget.
 
void setHovered (bool value)
 Sets whether the pointer is hovering the widget.
 
bool isFocused () const
 Returns true if the widget currently has focus.
 
void setFocused (bool value)
 Sets whether the widget has focus.
 
bool isChecked () const
 Returns true if the check box is currently checked.
 
void setChecked (bool value)
 Sets whether the check box is checked.
 

Detailed Description

Carries only widget state that render hooks may observe directly.