21 #ifndef FXTOOLBARGRIP_H 22 #define FXTOOLBARGRIP_H 24 #ifndef FXDOCKHANDLER_H 25 #include "FXDockHandler.h" 33 TOOLBARGRIP_SINGLE = 0,
34 TOOLBARGRIP_DOUBLE = 0x00008000
59 long onPaint(
FXObject*,FXSelector,
void*);
60 long onEnter(
FXObject*,FXSelector,
void*);
61 long onLeave(
FXObject*,FXSelector,
void*);
65 FXToolBarGrip(
FXComposite* p,
FXObject* tgt=
nullptr,FXSelector sel=0,FXuint opts=TOOLBARGRIP_SINGLE,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0);
68 virtual FXint getDefaultWidth();
71 virtual FXint getDefaultHeight();
74 virtual FXbool canFocus()
const;
77 void setDoubleBar(FXbool dbl=
true);
80 FXbool isDoubleBar()
const;
83 void setActiveColor(FXColor clr);
89 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
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
The dock handler exists as a common base class for tool bar grip and dock title.
Definition: FXDockHandler.h:35