![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
A dock title is used to move its container, a dock bar. More...
#include <FXDockTitle.h>
Public Member Functions | |
| long | onPaint (FXObject *, FXSelector, void *) |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| long | onCmdSetStringValue (FXObject *, FXSelector, void *) |
| long | onCmdGetStringValue (FXObject *, FXSelector, void *) |
| FXDockTitle (FXComposite *p, const FXString &text, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=0, FXint pr=0, FXint pt=0, FXint pb=0) | |
| Construct dock bar title widget. | |
| virtual void | create () |
| Create server-side resources. | |
| virtual void | detach () |
| Detach server-side resources. | |
| virtual FXint | getDefaultWidth () |
| Return default width. | |
| virtual FXint | getDefaultHeight () |
| Return default height. | |
| void | setCaption (const FXString &text) |
| Set the caption for the grip. | |
| FXString | getCaption () const |
| Get the caption for the grip. | |
| void | setFont (FXFont *fnt) |
| Set caption font. | |
| FXFont * | getFont () const |
| Get caption font. | |
| FXColor | getCaptionColor () const |
| Get the current caption color. | |
| void | setCaptionColor (FXColor clr) |
| Set the current caption color. | |
| void | setJustify (FXuint mode) |
| Set the current justification mode. | |
| FXuint | getJustify () const |
| Get the current justification mode. | |
| virtual void | save (FXStream &store) const |
| Save to stream. | |
| virtual void | load (FXStream &store) |
| Load from stream. | |
| virtual | ~FXDockTitle () |
| Destroy. | |
Protected Attributes | |
| FXString | caption |
| FXFont * | font |
| FXColor | captionColor |
A dock title is used to move its container, a dock bar.
The dock title is also used simultaneously to provide a caption above the dock bar.
|
|