21 #ifndef FXTRISTATEBUTTON_H 22 #define FXTRISTATEBUTTON_H 24 #ifndef FXTOGGLEBUTTON_H 25 #include "FXToggleButton.h" 51 long onPaint(
FXObject*,FXSelector,
void*);
52 long onUnknown(
FXObject*,FXSelector,
void*);
53 long onQueryHelp(
FXObject*,FXSelector,
void*);
54 long onQueryTip(
FXObject*,FXSelector,
void*);
58 FXTriStateButton(
FXComposite* p,
const FXString& text1,
const FXString& text2,
const FXString& text3,
FXIcon* icon1=
nullptr,
FXIcon* icon2=
nullptr,
FXIcon* icon3=
nullptr,
FXObject* tgt=
nullptr,FXSelector sel=0,FXuint opts=TOGGLEBUTTON_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);
61 virtual void create();
64 virtual void detach();
67 virtual FXint getDefaultWidth();
70 virtual FXint getDefaultHeight();
73 void setMaybeText(
const FXString& text);
79 void setMaybeIcon(
FXIcon* ic);
85 void setMaybeHelpText(
const FXString& text);
91 void setMaybeTipText(
const FXString& text);
97 virtual void save(
FXStream& store)
const;
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42