![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXFontSelector.h>
Public Types | |
enum | { ID_FAMILY = FXPacker::ID_LAST, ID_WEIGHT, ID_STYLE, ID_STYLE_TEXT, ID_SIZE, ID_SIZE_TEXT, ID_CHARSET, ID_SETWIDTH, ID_PITCH, ID_SCALABLE, ID_ALLFONTS, ID_LAST } |
Public Member Functions | |
FXFontSelector (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
virtual void | create () |
FXButton * | acceptButton () const |
FXButton * | cancelButton () const |
void | setFontSelection (const FXFontDesc &fontdesc) |
void | getFontSelection (FXFontDesc &fontdesc) const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXFontSelector () |
Font selection widget.
anonymous enum |
FX::FXFontSelector::FXFontSelector | ( | FXComposite * | p, |
FXObject * | tgt = NULL , |
||
FXSelector | sel = 0 , |
||
FXuint | opts = 0 , |
||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 |
||
) |
Constructor.
virtual FX::FXFontSelector::~FXFontSelector | ( | ) | [virtual] |
Destructor.
virtual void FX::FXFontSelector::create | ( | ) | [virtual] |
Create server-side resources.
Reimplemented from FX::FXComposite.
FXButton* FX::FXFontSelector::acceptButton | ( | ) | const [inline] |
Return a pointer to the "Accept" button.
FXButton* FX::FXFontSelector::cancelButton | ( | ) | const [inline] |
Return a pointer to the "Cancel" button.
void FX::FXFontSelector::setFontSelection | ( | const FXFontDesc & | fontdesc | ) |
Set font selection.
void FX::FXFontSelector::getFontSelection | ( | FXFontDesc & | fontdesc | ) | const |
Get font selection.
virtual void FX::FXFontSelector::save | ( | FXStream & | store | ) | const [virtual] |
Save to a stream.
Reimplemented from FX::FXPacker.
virtual void FX::FXFontSelector::load | ( | FXStream & | store | ) | [virtual] |
Load from a stream.
Reimplemented from FX::FXPacker.
![]() |