![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXStatusLine.h>
Public Member Functions | |
FXStatusLine (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0) | |
virtual void | create () |
virtual void | detach () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setText (const FXString &text) |
FXString | getText () const |
void | setNormalText (const FXString &text) |
FXString | getNormalText () const |
void | setFont (FXFont *fnt) |
FXFont * | getFont () const |
FXColor | getTextColor () const |
void | setTextColor (FXColor clr) |
FXColor | getTextHighlightColor () const |
void | setTextHighlightColor (FXColor clr) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXStatusLine () |
If this query does not result in a new status string, the target of the status line is tried via an ordinary SEL_UPDATE message. If none of the above work then the status line will display the normal text, i.e. the string set via setNormalText(). If the message contains a newline (
), then the part before the newline will be displayed in the highlight color, while the part after the newline is shown using the normal text color.
FX::FXStatusLine::FXStatusLine | ( | FXComposite * | p, | |
FXObject * | tgt = NULL , |
|||
FXSelector | sel = 0 | |||
) |
Constructor.
virtual FX::FXStatusLine::~FXStatusLine | ( | ) | [virtual] |
Destroy.
virtual void FX::FXStatusLine::create | ( | ) | [virtual] |
virtual void FX::FXStatusLine::detach | ( | ) | [virtual] |
virtual FXint FX::FXStatusLine::getDefaultWidth | ( | ) | [virtual] |
virtual FXint FX::FXStatusLine::getDefaultHeight | ( | ) | [virtual] |
void FX::FXStatusLine::setText | ( | const FXString & | text | ) |
Change the temporary status message.
FXString FX::FXStatusLine::getText | ( | ) | const [inline] |
Return the temporary status message.
void FX::FXStatusLine::setNormalText | ( | const FXString & | text | ) |
Change the permanent status message.
FXString FX::FXStatusLine::getNormalText | ( | ) | const [inline] |
Return the permanent status message.
void FX::FXStatusLine::setFont | ( | FXFont * | fnt | ) |
Change the font.
FXFont* FX::FXStatusLine::getFont | ( | ) | const [inline] |
Return the current font.
FXColor FX::FXStatusLine::getTextColor | ( | ) | const [inline] |
void FX::FXStatusLine::setTextColor | ( | FXColor | clr | ) |
Change the text color.
FXColor FX::FXStatusLine::getTextHighlightColor | ( | ) | const [inline] |
Return the highlight text color.
void FX::FXStatusLine::setTextHighlightColor | ( | FXColor | clr | ) |
Change the highlight text color.
virtual void FX::FXStatusLine::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXStatusLine::load | ( | FXStream & | store | ) | [virtual] |
![]() |