Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXDockTitle Class Reference

A dock title is used to move its container, a dock bar. More...

#include <FXDockTitle.h>

Inheritance diagram for FX::FXDockTitle:
FX::FXDockHandler FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

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.
FXFontgetFont () 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
FXFontfont
FXColor captionColor

Detailed Description

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.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp