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

FX::FXFontSelector Class Reference

Font selection widget. More...

#include <FXFontSelector.h>

Inheritance diagram for FX::FXFontSelector:

FX::FXPacker FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

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 ()
FXButtonacceptButton () const
FXButtoncancelButton () const
void setFontSelection (const FXFontDesc &fontdesc)
void getFontSelection (FXFontDesc &fontdesc) const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXFontSelector ()

Detailed Description

Font selection widget.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ID_FAMILY 
ID_WEIGHT 
ID_STYLE 
ID_STYLE_TEXT 
ID_SIZE 
ID_SIZE_TEXT 
ID_CHARSET 
ID_SETWIDTH 
ID_PITCH 
ID_SCALABLE 
ID_ALLFONTS 
ID_LAST 


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Copyright © 1997-2005 Jeroen van der Zijp