27 #ifndef _CEGUIToggleButton_h_
28 #define _CEGUIToggleButton_h_
30 #include "CEGUI/widgets/ButtonBase.h"
33 # pragma warning(push)
34 # pragma warning(disable : 4251)
40 class CEGUIEXPORT ToggleButton :
public ButtonBase
43 static const String EventNamespace;
44 static const String WidgetTypeName;
50 static const String EventSelectStateChanged;
53 bool isSelected(
void)
const {
return d_selected; }
56 void setSelected(
bool select);
58 ToggleButton(
const String& type,
const String& name);
61 virtual bool getPostClickSelectState()
const;
62 void addToggleButtonProperties();