![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXRuler.h>
Inheritance diagram for FX::FXRuler:
Public Methods | |
FXRuler (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=RULER_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) | |
Construct label with given text and icon. | |
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 | setFont (FXFont *fnt) |
Set the text font. | |
FXFont * | getFont () const |
Get the text font. | |
void | setValue (FXint value) |
Change slider value. | |
FXint | getValue () const |
Return slider value. | |
void | setRulerStyle (FXuint style) |
Set ruler style. | |
FXuint | getRulerStyle () const |
Get ruler style. | |
FXColor | getTextColor () const |
Get the current text color. | |
void | setTextColor (FXColor clr) |
Set the current text color. | |
void | setHelpText (const FXString &text) |
Set the status line help text for this label. | |
const FXString & | getHelpText () const |
Get the status line help text for this label. | |
void | setTipText (const FXString &text) |
Set the tool tip message for this label. | |
const FXString & | getTipText () const |
Get the tool tip message for this label. | |
virtual void | save (FXStream &store) const |
Save label to a stream. | |
virtual void | load (FXStream &store) |
Load label from a stream. | |
virtual | ~FXRuler () |
Destructor. |
See also: