24 #ifndef FXCHECKBUTTON_H
25 #define FXCHECKBUTTON_H
92 FXCheckButton(
FXComposite* p,
const FXString& text,
FXObject* tgt=
NULL,
FXSelector sel=0,
FXuint opts=
CHECKBUTTON_NORMAL,
FXint x=0,
FXint y=0,
FXint w=0,
FXint h=0,
FXint pl=
DEFAULT_PAD,
FXint pr=
DEFAULT_PAD,
FXint pt=
DEFAULT_PAD,
FXint pb=
DEFAULT_PAD);
95 virtual bool canFocus()
const;
98 virtual FXint getDefaultWidth();
101 virtual FXint getDefaultHeight();
107 FXbool getCheck()
const {
return check; }
110 void setCheckButtonStyle(
FXuint style);
116 FXColor getBoxColor()
const {
return boxColor; }
122 FXColor getCheckColor()
const {
return checkColor; }
125 void setCheckColor(
FXColor clr);
128 virtual void save(
FXStream& store)
const;
#define TRUE
Definition: fxdefs.h:32
A label widget can be used to place a text and/or icon for explanation purposes.
Definition: FXLabel.h:79
unsigned int FXuint
Definition: fxdefs.h:396
FXuint FXSelector
Association key.
Definition: FXObject.h:53
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:454
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:397
#define FALSE
Definition: fxdefs.h:35
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
Icon appears before text (to its left)
Definition: FXLabel.h:41
Default justification is centered text.
Definition: FXFrame.h:39
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33