24 #ifndef FXARROWBUTTON_H
25 #define FXARROWBUTTON_H
101 FXArrowButton(
FXComposite* p,
FXObject* tgt=
NULL,
FXSelector sel=0,
FXuint opts=
ARROW_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);
104 virtual FXint getDefaultWidth();
107 virtual FXint getDefaultHeight();
110 virtual void enable();
113 virtual void disable();
116 virtual bool canFocus()
const;
122 FXbool getState()
const {
return state; }
125 void setHelpText(
const FXString& text){ help=text; }
128 const FXString& getHelpText()
const {
return help; }
131 void setTipText(
const FXString& text){ tip=text; }
134 const FXString& getTipText()
const {
return tip; }
137 void setArrowStyle(
FXuint style);
140 FXuint getArrowStyle()
const;
143 void setArrowSize(
FXint size);
146 FXint getArrowSize()
const {
return arrowSize; }
149 void setJustify(
FXuint mode);
152 FXuint getJustify()
const;
155 FXColor getArrowColor()
const {
return arrowColor; }
158 void setArrowColor(
FXColor clr);
161 virtual void save(FXStream& store)
const;
164 virtual void load(FXStream& store);
167 virtual ~FXArrowButton();
The Frame widget provides borders around some contents.
Definition: FXFrame.h:73
Definition: FXWindow.h:241
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
int FXint
Definition: fxdefs.h:397
Raised border.
Definition: FXWindow.h:77
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
Thick border.
Definition: FXWindow.h:78
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33