PanelState Class Reference

#include <Pt/Forms/PanelStyle.h>

Stores the transient render state for panel-like widgets. More...

Public Member Functions

 PanelState ()
 Constructs an empty panel state.
 
bool isEnabled () const
 Returns true if the widget is currently enabled.
 
void setEnabled (bool value)
 Sets whether the widget is enabled.
 
bool isFocused () const
 Returns true if the widget currently has focus.
 
void setFocused (bool value)
 Sets whether the widget has focus.
 

Detailed Description

Carries only widget state that render hooks may observe directly.